:root {
  --bg: #dfe5ea;
  --bg-soft: #eef2f5;
  --panel-dark: #20252b;
  --panel-dark-2: #2a3138;
  --panel-dark-3: #36404a;
  --panel-light: #f8fafc;
  --panel-light-2: #edf2f6;
  --card: #ffffff;
  --line: #d7dee6;
  --line-strong: #596473;
  --text: #1f2730;
  --muted: #667382;
  --accent: #3a7be0;
  --accent-2: #46b36a;
  --accent-3: #efc24e;
  --danger: #d85a5a;
  --shadow: 0 20px 48px rgba(22, 30, 40, 0.14);
  --shadow-soft: 0 12px 28px rgba(22, 30, 40, 0.09);
  --radius: 15px;
  --radius-sm: 10px;
  --radius-xs: 8px;
}
:root {
    --f-progressbar-height: 3px;
    --f-progressbar-color: var(--f-carousel-theme-color, #575ad6);
    --f-progressbar-opacity: 1;
    --f-progressbar-z-index: 30;
    --shap: #161616;
    --bck: #1d1e1e;
    --crd: #151515;
    --wrp: #313131;
    --wrp2: #1d1e1e;
    --txmal: #989898;
    --tx: #ffffff;
    --rds: 15px;
    --rdsmall: 10px;
    --btndwn: #346a4a;
    --btndwnhover: #1b6439;
    --bgmalo: #202121;
    --mbui: #276942;
}
.top-cta {
  align-items: center;
  align-self: center;
  background: var(--btndwn);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(14, 28, 18, 0.22);
  color: #fff;
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  justify-content: center;
  letter-spacing: 0.03em;
  min-height: 38px;
  padding: 0 16px;
  text-transform: uppercase;
  white-space: nowrap;
}

.top-cta:hover,
.top-cta.active {
  background: var(--btndwnhover);
  color: #fff;
  transform: translateY(-1px);
}

@media (max-width: 900px) {
  .top-cta {
    order: 2;
  }
}

@media (max-width: 760px) {
  .top-cta {
    order: initial;
    width: 100%;
  }
}

* {
  box-sizing: border-box;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: linear-gradient(180deg, #e6eaee 0%, #dde4ea 100%);
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position-x: right;
  color: var(--tx);
  font: 14px/1.6 "Trebuchet MS", "Segoe UI", sans-serif;
}

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

img {
  max-width: 100%;
  height: auto;
}

input,
textarea,
select,
button {
  font: inherit;
}

.site-shell {
  min-height: 100vh;
}

.topbar {
  background: linear-gradient(180deg, #304b31, #233826);
  border-bottom: 1px solid #121418;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  color: #fff;
}

.top-inner,
.cat-inner,
.wrapper,
.footer-inner {
  width: min(1475px, calc(100% - 24px));
  margin: 0px auto;
}

.top-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 10px 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
}

.logo span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: linear-gradient(180deg, #4d99ff, #2862b8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 15px;
}

.top-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.top-links a {
  border-bottom: 2px solid transparent;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 0;
  text-transform: uppercase;
}

.top-links a.active,
.top-links a:hover {
  border-color: var(--accent-3);
  color: #fff;
}

.header-search {
  margin-left: auto;
  min-width: 251px;
  max-width: 360px;
  position: relative;
  width: 100%;
}

.header-search input {
  width: 100%;
  height: 38px;
  border-radius: var(--radius-xs);
  background: #3a3f47;
  color: #fff;
  padding: 0 110px 0 12px;
}

.header-search button {
  position: absolute;
  top: 4px;
  right: 4px;
  height: 36px;
  border: 0;
  border-radius: var(--radius);
  background: #292a31;
  color: #fff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  padding: 0 14px;
  text-transform: uppercase;
}

.catbar {
  background: linear-gradient(180deg, #25282d, #1d2025);
  border-bottom: 1px solid #19120c;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.cat-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px 0;
}

.cat-link {
  border-radius: var(--radius);
  background: rgb(255 255 255 / 15%);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 7px 12px;
  text-transform: uppercase;
}

.wrapper {
  display: grid;
  gap: 14px;
  grid-template-columns: 280px minmax(0, 1fr);
  padding: 16px 0 28px;
}

.sidebar,
.main {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #18181900;
}

.side-box,
.hero,
.cards-panel,
.content-panel,
.far-message {
  /* border: 1px solid var(--line); */
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.side-box {
  background: linear-gradient(180deg, #262c33, #20262d);
  d); */
  /* border-color: #171b21; */
  color: #fff;
}

.side-title {
  background: linear-gradient(180deg, #2d7b3f, #256534);
  border-bottom: 1px solid #161a20;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 10px;
  color: #ffffff;
  text-transform: uppercase;
}

.side-list,
.side-box .far-category-tree {
  padding: 1px 0;
}

.side-item,
.far-side-entry {
  align-items: center;
  color: rgba(255, 255, 255, 0.94);
  display: flex;
  background: rgba(255, 255, 255, 0.04);
  gap: 10px;
  padding: 9px 14px;
  transition: background 0.2s ease;
  border: 1px solid #232429;
}

.side-item:hover,
.far-side-entry:hover {
  background: rgba(255, 255, 255, 0.06);
}

.side-dot,
.far-side-entry__dot {
  background: linear-gradient(180deg, #59a2ff, #2a6ece);
  border-radius: 999px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18);
  flex: 0 0 auto;
  height: 10px;
  width: 10px;
}

.side-item span:last-child,
.far-side-entry__title {
  flex: 1 1 auto;
}

.far-side-entry__meta {
  color: rgba(255, 255, 255, 0.55);
  font-size: 11px;
  white-space: nowrap;
}

.far-category-tree,
.far-category-tree ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.far-category-tree__item a {
  align-items: center;
  color: rgba(255, 255, 255, 0.92);
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.05);
}

.far-category-tree__item a:hover {
  background: rgba(255, 255, 255, 0.06);
}

.far-category-tree__item.is-active > a {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.far-category-tree__item ul a {
  padding-left: 28px;
}

.far-category-tree__count {
  color: rgba(255, 255, 255, 0.6);
  font-size: 11px;
}

.hero {
  background: linear-gradient(180deg, #f7f8fb, #edf1f4);
  padding: 18px;
}

.hero-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
}

.hero-copy h1 {
  font-size: clamp(21px, 4vw, 24px);
  line-height: 1.08;
  margin: 0 0 10px;
}

.hero-copy p {
  color: var(--muted);
  font-size: 13px;
  margin: 0 0 10px;
  max-width: 680px;
}

.hero-kicker,
.hero-mini-kicker {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.hero-actions,
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.hero-meta {
  margin-top: 10px;
}

.hero-badge {
  background: rgba(47, 117, 216, 0.1);
  border: 1px solid rgba(47, 117, 216, 0.15);
  border-radius: 999px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  padding: 7px 12px;
}

.hero-action,
.panel-action,
.mini-btn,
.page-nav a,
.form-submit button,
.search-actions input[type="button"],
.search-actions input[type="reset"],
.comment-action,
.profile-action {
  align-items: center;
  border: 1px solid rgba(27, 34, 44, 0.12);
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
  cursor: pointer;
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  gap: 8px;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  text-transform: uppercase;
}

.hero-action,
.panel-action,
.form-submit button,
.search-actions input[type="button"] {
  background: linear-gradient(180deg, #3d434d, #2f343c);
  color: #fff;
}

.hero-action.alt,
.mini-btn.alt,
.search-actions input[type="reset"] {
  background: linear-gradient(180deg, #4dbf63, #35994b);
  color: #fff;
}

.hero-action.soft,
.mini-btn.soft,
.page-nav a,
.comment-action,
.profile-action {
  background: linear-gradient(180deg, #f8fbff, #eef4fb);
  color: var(--tx);
}

.hero-preview {
  display: grid;
  gap: 10px;
  grid-template-rows: 220px auto;
}

.preview-card {
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.28), transparent 28%),
    linear-gradient(140deg, #263240 0%, #12161b 56%, #2a6ece 100%);
  border: 1px solid rgba(27, 34, 44, 0.15);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-height: 100%;
  position: relative;
  overflow: hidden;
}





.preview-overlay {
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
  justify-content: flex-end;
  padding: 18px;
}

.preview-label {
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.preview-title {
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.15;
  max-width: 300px;
}

.preview-row {
  display: grid;
  gap: 10px;
  grid-auto-flow: column;
}

.preview-thumb {
  aspect-ratio: 1.2 / 1;
  background: linear-gradient(160deg, #34495e, #1e232b);
  border: 1px solid rgba(27, 34, 44, 0.12);
  border-radius: calc(var(--radius) + 2px);
  overflow: hidden;
  position: relative;
}

.preview-thumb::before {
  inset: 12px 14px auto;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
}

.preview-thumb::after {
  inset: auto 14px 12px;
  height: 34px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
}

.hero.hero-compact {
  padding: 16px 18px;
}

.hero.hero-compact .hero-copy h1 {
  font-size: clamp(24px, 3vw, 30px);
  margin-bottom: 8px;
}

.cards-panel {
  background: linear-gradient(180deg, var(--panel-light), #edf2f6);
}

.panel-header {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  margin-bottom: 1px;
}

.panel-title {
  font-size: 20px;
  font-weight: 800;
  margin: 0;
}

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

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

.cards > :not(.card) {
  grid-column: 1 / -1;
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.card-media {
  background:
    linear-gradient(160deg, rgba(32, 34, 39, 0.18), rgba(32, 34, 39, 0.4)),
    linear-gradient(140deg, #5488ca 0%, #283c59 100%);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  aspect-ratio: 1.8 / 1;
  position: relative;
}

.card-media--empty::after {
  content: "No Cover";
  align-items: center;
  color: rgba(255, 255, 255, 0.7);
  display: inline-flex;
  height: 100%;
  justify-content: center;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  width: 100%;
}

.card-badge {
  position: absolute;
  right: 10px;
  top: 10px;
  background: rgba(17, 22, 30, 0.85);
  border-radius: 0 0 0 10px;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 5px 8px;
}

.card-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
}

.card-topline,
.story-meta-line {
  align-items: center;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 12px;
  gap: 8px;
}

.card-category,
.story-category,
.meta-tag {
  background: var(--panel-light-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--accent);
  display: inline-flex;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  text-transform: uppercase;
}

.card-title {
  font-size: 18px;
  line-height: 1.2;
  margin: 0;
}

.card-title a:hover {
  color: var(--accent);
}

.card-subline {
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 12px;
  gap: 8px 14px;
}

.card-desc {
  color: var(--muted);
  font-size: 13px;
  flex: 1 1 auto;
}

.card-meta {
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  padding: 12px 14px;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 14px 14px;
}

.content-panel {
  background: linear-gradient(180deg, #fff, #f6f8fb);
  padding: 18px;
}

.story-layout {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
}

.story-title {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.08;
  margin: 0 0 12px;
}

.story-lead {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 14px;
}

.story-cover {
  min-height: 280px;
  border-radius: var(--radius);
  background:
    linear-gradient(160deg, rgba(19, 24, 31, 0.15), rgba(19, 24, 31, 0.48)),
    linear-gradient(140deg, #5a89c7, #1f2b3a);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: var(--shadow);
}

.story-cover--empty {
  display: grid;
  place-items: center;
}

.story-cover--empty::after {
  content: "Preview";
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.story-content {
  color: var(--tx);
  font-size: 15px;
}

.story-content > :first-child {
  margin-top: 0;
}

.story-content > :last-child {
  margin-bottom: 0;
}

.story-foot {
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  justify-content: space-between;
  margin-top: 18px;
  padding-top: 14px;
}

.story-foot-column {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 18px;
  background: var(--wrp2);
  padding: 7px;
  border-radius: var(--radius);
}

.page-nav .pages {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-nav .pages span,
.page-nav .pages a {
  align-items: center;
  background: var(--wrp);
  border-radius: var(--radius-sm);
  color: var(--tx);
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  height: 38px;
  justify-content: center;
  min-width: 38px;
  padding: 0 12px;
}

.page-nav .pages span {
  background: linear-gradient(180deg, #206229, #18311f);
  border-color: transparent;
  color: #fff;
}

.far-message {
  background: linear-gradient(180deg, #fff7d3, #ffeeb0);
  color: #6a5313;
  padding: 14px 16px;
}

.far-message strong {
  display: block;
  font-size: 16px;
  margin-bottom: 4px;
}

.service-title,
.section-title {
  font-size: 26px;
  line-height: 1.15;
  margin: 0 0 14px;
}

.service-text,
.section-text {
  color: var(--muted);
  margin: 0 0 16px;
}

.form-list,
.profile-list,
.search-grid {
  display: grid;
  gap: 14px;
}

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

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

.form-field,
.profile-box,
.search-box,
.search-group {
  background: var(--panel-light);
  border-radius: var(--radius-sm);
  padding: 14px;
}

.form-field label,
.search-group legend,
.profile-box h2 {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.form-field input,
.form-field textarea,
.form-field select,
.wide,
.search-group input,
.search-group textarea,
.search-group select {
  width: 100%;
}

.form-field button,
.form-row > button {
  background: linear-gradient(180deg, #4b98ff, #2b67c7);
  border: 1px solid rgba(27, 34, 44, 0.12);
  border-radius: var(--radius-sm);
  color: #fff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  min-height: 44px;
  padding: 0 14px;
  text-transform: uppercase;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="file"],
textarea,
select,
.wide {
  background: #ffffff;
  border-radius: var(--radius);
  color: var(--text);
  min-height: 38px;
  padding: 10px 12px;
}

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

.form-note,
.search-note,
.search-result-count {
  color: var(--muted);
  font-size: 13px;
}

.form-submit,
.search-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.search-actions input[type="reset"] {
  border-color: var(--line);
}

.comment {
  background: var(--panel-light);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
}

.comment + .comment {
  margin-top: 12px;
}

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

.comment-author {
  align-items: center;
  display: flex;
  gap: 12px;
}

.comment-avatar {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0)),
    linear-gradient(140deg, #5f88bc, #32445e);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 999px;
  flex: 0 0 auto;
  height: 48px;
  width: 48px;
}

.comment-avatar img,
.comment-avatar {
  object-fit: cover;
}

.comment-author strong {
  display: block;
  font-size: 15px;
}

.comment-date {
  color: var(--muted);
  font-size: 12px;
}

.comment-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.comment-body,
.comment-body .text {
  color: var(--text);
}

.comment-extra {
  border-top: 1px solid var(--line);
  color: var(--muted);
  margin-top: 12px;
  padding-top: 12px;
}

.profile-hero {
  display: grid;
  gap: 16px;
  grid-template-columns: 92px minmax(0, 1fr);
  margin-bottom: 18px;
}

.profile-avatar {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0)),
    linear-gradient(140deg, #5983ba, #243444);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 24px;
  min-height: 92px;
  overflow: hidden;
}

.profile-avatar img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

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

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

.profile-box li {
  border-top: 1px solid var(--line);
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 10px 0;
}

.profile-box li:first-child {
  border-top: 0;
  padding-top: 0;
}

.profile-label {
  color: var(--muted);
}

.search-group fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

.text img,
.story-content img,
.comment-body img {
  border-radius: var(--radius-sm);
}

.text table {
  border-collapse: collapse;
  width: 100%;
}

.text table td,
.text table th {
  border: 1px solid var(--line);
  padding: 8px;
}

.footer {
  background: var(--wrp2);
  border-top: 1px solid #111318;
  color: rgba(255, 255, 255, 0.72);
  margin-top: 12px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  justify-content: space-between;
  padding: 18px 0 26px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-nav a:hover {
  color: #fff;
}

@media (max-width: 1080px) {
  .wrapper {
    grid-template-columns: 1fr;
  }

  .search-grid,
  .story-layout,
  .hero-grid,
  .profile-grid,
  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .top-inner {
    flex-wrap: wrap;
  }

  .header-search {
    margin-left: 0;
    max-width: none;
  }

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

@media (max-width: 620px) {
  .cards {
    grid-template-columns: 1fr;
  }

  .top-inner,
  .cat-inner,
  .wrapper,
  .footer-inner {
    width: min(1180px, calc(100% - 16px));
    display: block;
  }

  .hero,
  .cards-panel,
  .content-panel,
  .side-box {
    border-radius: 12px;
  }

  .comment-head {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Fullstory portal layout */
.cs-full {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cs-full__header,
.cs-full__hero,
.cs-full__info-grid,
.cs-full__description,
.cs-full__faq,
.cs-full__screens,
.cs-full__download-panel,
.cs-full__related {
  background: linear-gradient(180deg, #fafbfd, #eef2f5);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.cs-full__header,
.cs-full__description,
.cs-full__faq,
.cs-full__screens,
.cs-full__download-panel,
.cs-full__related {
  padding: 14px;
}

.cs-full__headline {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cs-full__kicker {
  color: #7d8793;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cs-full__title {
  font-size: clamp(24px, 4vw, 34px);
  line-height: 1.1;
  margin: 0;
}

.cs-full__meta {
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 12px;
}

.cs-full__meta span {
  position: relative;
}

.cs-full__download-row {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cs-download {
  align-items: center;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 12px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 8px 20px rgba(0, 0, 0, 0.12);
  color: #fff;
  display: flex;
  font-size: 16px;
  font-weight: 800;
  gap: 12px;
  min-height: 64px;
  padding: 10px 14px;
}

.cs-download:hover {
  transform: translateY(-1px);
}

.cs-download small {
  display: block;
  font-size: 11px;
  font-weight: 600;
  margin-top: 2px;
  opacity: 0.96;
}

.cs-download--blue {
  background: linear-gradient(180deg, #3d87ea, #2966c7);
}

.cs-download--green {
  background: linear-gradient(180deg, #4bbb62, #2f9948);
}

.cs-download--yellow {
  background: linear-gradient(180deg, #f7d04d, #dfa910);
  color: #4e3900;
}

.cs-download__icon {
  align-items: center;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  display: inline-flex;
  flex: 0 0 36px;
  font-size: 18px;
  height: 36px;
  justify-content: center;
}

.cs-full__hero {
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) 230px;
  padding: 12px;
}

.cs-full__viewer {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0)),
    radial-gradient(circle at center, rgba(110, 145, 181, 0.28), rgba(41, 54, 68, 0.88));
  border: 1px solid #bfc8d0;
  border-radius: 12px;
  min-height: 420px;
  overflow: hidden;
  position: relative;
}

.cs-full__viewer img {
  display: block;
  height: 100%;
  max-height: 620px;
  object-fit: cover;
  width: 100%;
}

.cs-full__viewer-empty {
  align-items: center;
  color: rgba(255, 255, 255, 0.84);
  display: flex;
  font-size: 18px;
  font-weight: 700;
  height: 100%;
  justify-content: center;
  min-height: 420px;
}

.cs-full__badge {
  background: rgba(27, 34, 44, 0.9);
  border-radius: var(--radius-xs);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  left: 10px;
  padding: 4px 7px;
  position: absolute;
  top: 10px;
  z-index: 1;
}

.cs-full__rail {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cs-full__rail-gallery,
.cs-full__rail-fallback {
  display: grid;
  gap: 8px;
}

.cs-full__rail-gallery {
  max-height: 420px;
  overflow: auto;
  padding-right: 2px;
}

.cs-full__rail-gallery a,
.cs-full__rail-gallery > img,
.cs-full__rail-gallery > div,
.cs-full__screens-grid a,
.cs-full__screens-grid > img,
.cs-full__screens-grid > div {
  background: #d6dde3;
  border: 1px solid #c1c9d1;
  border-radius: var(--radius-xs);
  display: block;
  overflow: hidden;
}

.cs-full__rail-gallery a img,
.cs-full__rail-gallery img,
.cs-full__screens-grid a img,
.cs-full__screens-grid img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.cs-full__rail-gallery a {
  aspect-ratio: 16 / 9;
}

.cs-full__rail-fallback-item {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #dfe5ea, #bfc9d3);
  border: 1px solid #c1c9d1;
  border-radius: var(--radius-xs);
}

.cs-full__rail-info {
  background: #ffffff;
  border: 1px solid #c8d0d7;
  border-radius: 12px;
  overflow: hidden;
}

.cs-full__rail-stat {
  align-items: center;
  display: flex;
  font-size: 12px;
  justify-content: space-between;
  padding: 10px 12px;
}

.cs-full__rail-stat + .cs-full__rail-stat {
  border-top: 1px solid #e1e6eb;
}

.cs-full__rail-stat span {
  color: var(--muted);
}

.cs-full__rail-stat strong {
  color: var(--text);
}

.cs-full__info-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) 280px;
  padding: 12px;
}

.cs-full__specs {
  background: #ffffff;
  border: 1px solid #d2d9df;
  border-radius: 12px;
  padding: 14px;
}

.cs-full__specs h2,
.cs-full__description h2,
.cs-full__section-head h2 {
  font-size: 20px;
  margin: 0 0 12px;
}

.cs-specs {
  display: grid;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.cs-specs li {
  align-items: center;
  border-top: 1px solid #e8edf2;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 10px 0;
}

.cs-specs li:first-child {
  border-top: 0;
  padding-top: 0;
}

.cs-specs span {
  color: var(--muted);
}

.cs-specs strong {
  font-size: 13px;
  text-align: right;
}

.cs-full__sidebar {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cs-sidebox {
  background: linear-gradient(180deg, #31353c, #22252a);
  border: 1px solid #16191e;
  border-radius: 12px;
  color: #fff;
  overflow: hidden;
}

.cs-sidebox__title {
  background: linear-gradient(180deg, #454a54, #30353d);
  border-bottom: 1px solid #16191e;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 10px 12px;
  text-transform: uppercase;
}

.cs-sidebox__actions,
.cs-sidebox p {
  padding: 12px;
}

.cs-sidebox__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cs-sidebox p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  line-height: 1.55;
  margin: 0;
}

.cs-sidebox__text {
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  line-height: 1.6;
  padding: 12px;
  white-space: pre-line;
}

.cs-full__lead {
  background: #f3f6f9;
  border-left: 4px solid #2f75d8;
  color: #4c5661;
  margin-bottom: 14px;
  padding: 12px 14px;
}

.cs-full__description .story-content {
  color: #2d3339;
  font-size: 14px;
  line-height: 1.68;
}

.cs-full__feature-box {
  background: linear-gradient(180deg, #f7f9fb, #edf2f6);
  border: 1px solid #d6dee5;
  border-radius: 12px;
  color: #44505d;
  margin-bottom: 14px;
  padding: 12px 14px;
  white-space: pre-line;
}

.cs-full__description .story-content > *:first-child {
  margin-top: 0;
}

.cs-full__description .story-content h2,
.cs-full__description .story-content h3,
.cs-full__description .story-content h4 {
  margin-top: 1.4em;
}

.cs-full__description .story-content ul,
.cs-full__description .story-content ol {
  padding-left: 22px;
}

.cs-full__faq {
  display: grid;
  gap: 8px;
}

.cs-spoiler {
  background: #ffffff;
  border: 1px solid #d6dde3;
  border-radius: 12px;
  overflow: hidden;
}

.cs-spoiler summary {
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  list-style: none;
  padding: 12px 14px;
}

.cs-spoiler summary::-webkit-details-marker {
  display: none;
}

.cs-spoiler[open] summary {
  border-bottom: 1px solid #e5ebf0;
}

.cs-spoiler div {
  color: #4b5560;
  font-size: 13px;
  line-height: 1.6;
  padding: 12px 14px;
}

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

.cs-full__screens-grid,
.cs-related-grid {
  display: grid;
  gap: 12px;
}

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

.cs-full__screens-grid a {
  aspect-ratio: 16 / 10;
}

.cs-full__download-row--bottom {
  margin-top: 4px;
}

.cs-full__download-note {
  color: var(--muted);
  font-size: 12px;
  margin-top: 12px;
}

.cs-related-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cs-related-card {
  background: #ffffff;
  border: 1px solid #d1d8df;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(28, 34, 44, 0.08);
  overflow: hidden;
}

.cs-related-card__media {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #536274, #27313c);
  display: block;
  overflow: hidden;
  position: relative;
}

.cs-related-card__media img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.cs-related-card__media-empty {
  background: linear-gradient(135deg, #4d5a68, #27313b);
  display: block;
  height: 100%;
  width: 100%;
}

.cs-related-card__date {
  background: rgba(18, 23, 30, 0.88);
  border-radius: 999px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  left: 10px;
  padding: 4px 8px;
  position: absolute;
  top: 10px;
}

.cs-related-card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
}

.cs-related-card__category {
  color: #2f75d8;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.cs-related-card__title {
  color: #1d232b;
  display: block;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
}

.cs-related-card__title:hover {
  color: #2f75d8;
}

.cs-related-card__text {
  color: #626d79;
  font-size: 12px;
  line-height: 1.55;
}

.cs-related-card__link {
  align-self: flex-start;
  background: linear-gradient(180deg, #4b98ff, #2b67c7);
  border: 1px solid rgba(27, 34, 44, 0.12);
  border-radius: var(--radius-xs);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  margin-top: auto;
  min-height: 34px;
  padding: 8px 12px;
  text-transform: uppercase;
}

@media (max-width: 1120px) {
  .cs-full__hero,
  .cs-full__info-grid {
    grid-template-columns: 1fr;
  }

  .cs-related-grid,
  .cs-full__screens-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .cs-full__download-row,
  .cs-related-grid,
  .cs-full__screens-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cs-full__viewer {
    min-height: 300px;
  }
}

@media (max-width: 560px) {
  .cs-full__download-row,
  .cs-related-grid,
  .cs-full__screens-grid {
    grid-template-columns: 1fr;
  }

  .cs-full__header,
  .cs-full__description,
  .cs-full__faq,
  .cs-full__screens,
  .cs-full__download-panel,
  .cs-full__related,
  .cs-full__hero,
  .cs-full__info-grid {
    padding: 10px;
  }

  .cs-full__viewer {
    min-height: 240px;
  }
}

/* CS 1.6 file cards */
.cards {
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cs-file-card {
  background: var(--crd);
  border-radius: var(--radius);
  box-shadow: 0 18px 36px rgba(28, 34, 44, 0.1);
  overflow: hidden;
}

.cs-file-card__media {
  aspect-ratio: 1.4 / 1;
  background: var(--crd);
  display: block;
  overflow: hidden;
  position: relative;
  padding: 5px;
  --scrub-progress: 0%;
}

.cs-file-card__image {
  display: block;
  height: 100%;
  object-fit: cover;
  transition: transform 0.18s ease;
  width: 100%;
  border-radius: 13px;
}

.cs-file-card__image--empty {
  background:
    radial-gradient(circle at 25% 20%, rgba(255, 255, 255, 0.16), transparent 24%),
    linear-gradient(140deg, #607488 0%, #33404d 100%);
}

.cs-file-card__media:hover .cs-file-card__image,
.cs-file-card__media.is-scrubbing .cs-file-card__image {
  transform: scale(1.02);
}

.cs-file-card__media-overlay {
  background: linear-gradient(180deg, rgba(10, 14, 20, 0.04), rgba(10, 14, 20, 0.28));
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.cs-file-card__score,
.cs-file-card__scrub-tip {
  border-radius: 8px;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  position: absolute;
  z-index: 1;
}

.cs-file-card__score {
  background: var(--mbui);
  box-shadow: var(--shadoww);
  padding: 2px 7px;
  right: 14px;
  top: 14px;
}

.cs-file-card__scrub-tip {
  background: rgba(15, 20, 28, 0.72);
  left: 14px;
  opacity: 0;
  padding: 0px 9px;
  top: 14px;
  transform: translateY(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.cs-file-card.has-gallery .cs-file-card__scrub-tip {
  opacity: 1;
  transform: translateY(0);
}

.cs-file-card__scrub-track {
  background: rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  bottom: 12px;
  height: 6px;
  left: 14px;
  overflow: hidden;
  position: absolute;
  right: 14px;
  z-index: 1;
}

.cs-file-card__scrub-fill {
  background: linear-gradient(90deg, #ff3e1f, #ffe01a);
  display: block;
  height: 100%;
  transition: width 0.08s linear;
  width: var(--scrub-progress);
}

.cs-file-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 10px;
  padding: 14px 14px 15px;
}

.cs-file-card__label-row {
  align-items: center;
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
}

.cs-file-card__category,
.cs-file-card__version {
  border-radius: var(--radius);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 5px 10px;
  text-transform: uppercase;
}

.cs-file-card__category {
  background: #edf3f8;
  border: 1px solid #d2dbe5;
  color: #2f75d8;
}

.cs-file-card__category a {
  color: inherit;
}

.cs-file-card__version {
  background: var(--wrp);
  border: 1px solid #cfe8d5;
  color: var(--tx);
}

.cs-file-card__title-row {
  align-items: flex-start;
  display: flex;
  gap: 10px;
}

.cs-file-card__title-icon {display: none;}

.cs-file-card__title-icon::before {
  border: solid #fff;
  border-width: 0 3px 3px 0;
  content: "";
  height: 11px;
  left: 8px;
  position: absolute;
  top: 4px;
  transform: rotate(45deg);
  width: 6px;
}

.cs-file-card__title {
  font-size: 15px;
  line-height: 1.25;
  margin: 0;
}

.cs-file-card__title a:hover {
  color: #2f75d8;
}

.cs-file-card__desc {
  color: var(--txmal);
  display: -webkit-box;
  font-size: 12px;
  line-height: 1.45;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.cs-file-card__meta {
  color: #677381;
  display: flex;
  flex-wrap: wrap;
  font-size: 11px;
  gap: 8px 14px;
  margin-top: auto;
}

.cs-file-card__actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin-top: 4px;
}

.cs-file-card__button:hover {
    background: var(--btndwnhover);
    color: #fff;
    border: 1px solid var(--btndwnhover);
}

.cs-file-card__button {
  align-items: center;
  background: var(--btndwn);
  border-radius: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
  color: var(--tx);
  display: inline-flex;
  font-size: 15px;
  font-weight: 900;
  gap: 8px;
  width: 81%;
  justify-content: center;
  height: 38px;
  min-height: 30px;
  padding: 0 12px;
}

.cs-file-card__button:hover {
  transform: translateY(-1px);
}

.cs-file-card__button--download {
}

.cs-file-card__button--torrent {
  border-color: #bcd8c3;
  color: #1d7b3e;
}

.cs-file-card__button--ghost {
  color: var(--tx);
  width: 40px;
  border-radius: 50%;
}

.cs-file-card__button-icon {
  font-size: 18px;
  line-height: 1;
}

@media (max-width: 680px) {
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cs-file-card__actions {
    flex-direction: row;
    display: flex;
  }

  .cs-file-card__button {
    width: 70%;
  }
  .cs-file-card__button--ghost{
    width: 46px;
  }
}

@media (max-width: 560px) {
  .cards {
    grid-template-columns: 1fr;
  }
}

/* Portal fullstory */
.cs-portal {
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 10px;
}

.cs-portal__title {
  color: var(--tx);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
  margin: 0;
}

.cs-portal__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.cs-portal__tag {
  background: #dfdfdf;
  border-radius: var(--radius);
  color: #2d3540;
  font-size: 11px;
  line-height: 1.3;
  padding: 4px 8px 4px 24px;
  position: relative;
}

.cs-portal__tag::before {
  border-radius: 2px;
  content: "";
  height: 10px;
  left: 8px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
}

.cs-portal__tag--basis::before {
  background: linear-gradient(180deg, #f4f4f4, #bcbcbc);
}

.cs-portal__tag--lang::before {
  background: linear-gradient(180deg, #fff 0 33%, #3d75da 33% 66%, #c8483d 66%);
}

.cs-portal__tag--voice::before {
  background: linear-gradient(180deg, #ffe36e, #f0ba17);
}

.cs-portal__tag--windows::before {
  background: linear-gradient(90deg, #5fb04f 0 50%, #f7c547 50%);
}

.cs-portal__downloads {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  /* margin: auto; */
}

.cs-portal__download {
  align-items: center;
  /* border: 1px solid rgba(0, 0, 0, 0.14); */
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 6px 14px rgba(0, 0, 0, 0.12);
  color: #fff;
  display: flex;
  flex: 0 1 180px;
  gap: 10px;
  min-height: 54px;
  border-radius: 13px;
  padding: 0 12px;
}

.cs-portal__download-icon {
  align-items: center;
  background: rgb(0 0 0 / 18%);
  border-radius: 12px;
  display: inline-flex;
  flex: 0 0 30px;
  font-size: 18px;
  height: 30px;
  justify-content: center;
}

.cs-portal__download-copy {
  display: block;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.1;
}

.cs-portal__download-copy small {
  display: block;
  font-size: 11px;
  font-weight: 700;
  margin-top: 3px;
  opacity: 0.96;
}

.cs-portal__download--blue {
  background: #4388e5;
}

.cs-portal__download--green {
  background: #45b85c;
}

.cs-portal__download--yellow {
  background: #f0f900;
  color: #181818;
}

.cs-portal__hero {
  align-items: stretch;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) 116px;
}

.cs-portal__viewer {
  aspect-ratio: 1.62 / 1;
  background: linear-gradient(135deg, #50657c, #243241);
  overflow: hidden;
  border-radius: calc(var(--radius) + 2px);
  position: relative;
}

.cs-portal__viewer-image {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.cs-portal__viewer-empty {
  align-items: center;
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  font-size: 18px;
  font-weight: 700;
  height: 100%;
  justify-content: center;
}

.cs-portal__viewer-badge {
  background: rgba(0, 0, 0, 0.88);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  left: 10px;
  padding: 4px 6px;
  position: absolute;
  top: 10px;
  z-index: 1;
}

.cs-portal__rail {
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
  min-height: 0;
}

.cs-portal__rail-promo {
  background: linear-gradient(135deg, #cfd6dd, #8f9ca7);
  border: 1px solid #d0d6dc;
  display: block;
  height: 90px;
  overflow: hidden;
  border-radius: 13px;
  position: relative;
}

.cs-portal__rail-promo img {
  display: block;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  width: 100%;
}

.cs-portal__rail-promo-copy {
  color: #fff;
  inset: 8px;
  position: absolute;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.42);
}

.cs-portal__rail-game {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.cs-portal__rail-name {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.15;
  margin-top: 3px;
}

.cs-portal__thumbs {
  flex: 1 1 auto;
  min-height: 0;
  overflow: visible;
}

.cs-portal__thumbs--fallback {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cs-portal__thumbs-scroll {
  height: auto;
  max-height: 347px;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding-right: 2px;
  scrollbar-color: var(--btndwn) #50505000;
  scrollbar-width: thin;
}

.cs-portal__thumbs-track {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cs-portal__thumbs-scroll::-webkit-scrollbar {
  width: 8px;
}

.cs-portal__thumbs-scroll::-webkit-scrollbar-track {
  background: #dce2e8;
  border-radius: 999px;
}

.cs-portal__thumbs-scroll::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #98a7b6, #6f8193);
  border-radius: 999px;
}

.cs-portal__thumbs .xfieldimagegallery {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.cs-portal__thumbs .xfieldimagegallery li {
  flex: 0 0 auto;
  list-style: none;
  margin: 0;
  padding: 0;
}

.cs-portal__thumbs a,
.cs-portal__thumb,
.cs-portal__thumbs .xfieldimagegallery a,
.cs-portal__thumb-placeholder {
  background: #d7dde4;
  border: 1px solid #d0d6dc;
  display: block;
  flex: 0 0 auto;
  height: 82px;
  overflow: hidden;
  position: relative;
  width: 100%;
  border-radius: 13px;
}

.cs-portal__thumbs a::before,
.cs-portal__thumb::before,
.cs-portal__thumbs .xfieldimagegallery a::before,
.cs-portal__thumb-placeholder::before {
  background: #44b44b;
  border-radius: 999px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.7);
  content: "";
  height: 10px;
  left: 6px;
  position: absolute;
  top: 6px;
  width: 10px;
  z-index: 1;
}

.cs-portal__thumbs a.is-active,
.cs-portal__thumb.is-active,
.cs-portal__thumbs .xfieldimagegallery a.is-active {
  border-color: #2b71d4;
  box-shadow: 0 0 0 1px rgba(43, 113, 212, 0.2);
  border-radius: 13px;
}

.cs-portal__thumbs img,
.cs-portal__thumb img,
.cs-portal__thumbs .xfieldimagegallery img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.cs-portal__thumb-placeholder {
  background: linear-gradient(135deg, #dfe4ea, #b6c0ca);
}

.cs-portal__details {
  align-items: start;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) 170px;
  background: #ededed;
  padding: 5px;
  border-radius: calc(var(--radius) + 2px);
}

.cs-portal__specs h2 {
  color: #2a6fd3;
  font-size: 14px;
  font-weight: 800;
  margin: 0 0 10px;
}

.cs-portal__spec-list {
  color: #224f96;
  list-style: square;
  margin: 0;
  padding-left: 18px;
}

.cs-portal__spec-list li {
  color: var(--tx);
  font-size: 13px;
  margin: 0 0 4px;
  border-bottom: 1px solid #00000026;
  width: 50%;
}

.cs-portal__spec-list span {
  color: #1b2430;
}

.cs-portal__spec-list strong {
  font-weight: 400;
}

.cs-portal__stats {
  color: #7d8791;
  font-size: 12px;
  padding-top: 2px;
  text-align: right;
}

.cs-portal__stat + .cs-portal__stat {
  margin-top: 10px;
}

.cs-portal__stat strong {
  color: var(--txmal);
  display: block;
  font-size: 13px;
  font-weight: 400;
  margin-top: 2px;
}

.cs-portal__content {
  border-top: 1px solid #dde2e8;
  color: #2f3740;
  font-size: 13px;
  line-height: 1.62;
  padding-top: 12px;
}

.cs-portal__lead {
  margin-bottom: 10px;
}

.cs-portal__features h3 {
  font-size: 14px;
  margin: 0 0 8px;
}

.cs-portal__feature-lines {
  margin-bottom: 10px;
}

.cs-portal__bullet-list {
  list-style: square;
  margin: 0;
  padding-left: 18px;
}

.cs-portal__bullet-list li {
  margin-bottom: 4px;
}

.cs-portal__description {
  color: var(--txmal);
}

.cs-portal__description > :first-child {
  margin-top: 0;
}

.cs-portal__description > :last-child {
  margin-bottom: 0;
}

.cs-portal__spoiler {
  margin-top: 12px;
}

.cs-portal__spoiler summary {
  background: linear-gradient(0deg, #4859698f, #e8edf200);
  /* border: 1px solid #d0d6dc; */
  color: #4f5d6a;
  border-radius: 0px 0px 15px 15px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  list-style: none;
  padding: 8px 10px;
}

.cs-portal__spoiler summary::-webkit-details-marker {
  display: none;
}

.cs-portal__spoiler-body {
  border: 1px solid #d8dee4;
  border-top: 0;
  color: var(--txmal);
  padding: 10px;
}

.cs-portal__spoiler-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 8px;
}

.cs-portal__spoiler-edit {
  border-top: 1px solid #e2e7ec;
  padding-top: 8px;
}

@media (max-width: 900px) {
  .cs-portal__hero,
  .cs-portal__details {
    grid-template-columns: 1fr;
  }

  .cs-portal__rail {
    gap: 8px;
    height: auto;
    min-height: auto;
    order: 2;
  }

  .cs-portal__rail-promo {
    display: none;
  }

  .cs-portal__thumbs {
    overflow: hidden;
  }

  .cs-portal__thumbs,
  .cs-portal__thumbs-scroll {
    max-height: none;
  }

  .cs-portal__thumbs--fallback,
  .cs-portal__thumbs-track,
  .cs-portal__thumbs .xfieldimagegallery {
    flex-direction: row;
    gap: 6px;
  }

  .cs-portal__thumbs-scroll {
    margin-right: -10px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 4px;
    padding-right: 10px;
    -webkit-overflow-scrolling: touch;
  }

  .cs-portal__thumbs-scroll::-webkit-scrollbar {
    height: 6px;
    width: auto;
  }

  .cs-portal__thumbs a,
  .cs-portal__thumb,
  .cs-portal__thumbs .xfieldimagegallery a,
  .cs-portal__thumb-placeholder {
    flex: 0 0 96px;
    height: 64px;
    width: 96px;
  }

  .cs-portal__stats {
    text-align: left;
  }
}

@media (max-width: 680px) {
  .cs-portal__title {
    font-size: 16px;
    line-height: 1.2;
  }

  .cs-rating-badge--large {
    font-size: 13px;
    padding: 5px 8px;
  }

  .cs-portal__tags {
    gap: 5px;
  }

  .cs-portal__downloads {
    flex-direction: column;
    gap: 10px;
  }

  .cs-portal__download {
    flex: 1 1 auto;
    min-height: 50px;
    padding: 8px 12px;
    width: 100%;
  }

  .cs-portal__download-copy {
    font-size: 13px;
  }

  .cs-portal__download-copy small {
    font-size: 10px;
  }

  .cs-portal__hero {
    gap: 8px;
    display: block;
  }

  .cs-portal__viewer {
    aspect-ratio: 1.46 / 1;
  }

  .cs-portal__viewer-badge {
    font-size: 10px;
    left: 8px;
    padding: 3px 6px;
    top: 8px;
  }

  .cs-portal__viewer-rating {
    font-size: 12px;
    padding: 4px 8px;
    right: 8px;
    top: 8px;
  }

  .cs-portal__rail {
    gap: 8px;
  }

  .cs-portal__rail-promo {
    display: none;
  }

  .cs-portal__thumbs {
    overflow: hidden;
  }

  .cs-portal__thumbs--fallback,
  .cs-portal__thumbs-track,
  .cs-portal__thumbs .xfieldimagegallery {
    flex-direction: row;
    gap: 6px;
  }

  .cs-portal__thumbs-scroll {
    margin-right: -10px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 4px;
    padding-right: 10px;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }

  .cs-portal__thumbs-scroll::-webkit-scrollbar {
    height: 6px;
    width: auto;
  }

  .cs-portal__thumbs a,
  .cs-portal__thumb,
  .cs-portal__thumbs .xfieldimagegallery a,
  .cs-portal__thumb-placeholder {
    flex: 0 0 86px;
    height: 58px;
    width: 86px;
  }

  .cs-portal__details {
    gap: 12px;
  }

  .cs-portal__specs h2 {
    font-size: 13px;
  }

  .cs-portal__spec-list li,
  .cs-portal__content {
    font-size: 12px;
  }

  .cs-portal__stats {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cs-portal__stat + .cs-portal__stat {
    margin-top: 0;
  }

  .cs-portal__stat strong {
    font-size: 12px;
  }

  .cs-portal__spoiler summary,
  .cs-portal__spoiler-body {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .cs-portal__title-row {
    align-items: flex-start;
    gap: 8px;
  }

  .cs-portal__title {
    font-size: 15px;
  }

  .cs-rating-badge--large {
    margin-left: 34px;
  }

  .csl.csl--lg {
    height: 26px;
    width: 26px;
  }

  .cs-portal__viewer {
    aspect-ratio: 1.26 / 1;
  }

  .cs-portal__thumbs a,
  .cs-portal__thumb,
  .cs-portal__thumbs .xfieldimagegallery a,
  .cs-portal__thumb-placeholder {
    flex-basis: 74px;
    height: 50px;
    width: 74px;
  }

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

  .cs-portal__spoiler-body {
    padding: 8px;
  }
}
li.far-category-tree__item {
    border: 1px solid #292a31;
}

.cs-rating-star {
  color: #ffdb69;
  display: inline-block;
  line-height: 1;
}

.cs-file-card__score--rating,
.cs-rating-badge,
.cs-portal__viewer-rating,
.far-side-entry__rating {
  align-items: center;
  display: inline-flex;
  gap: 4px;
}

.cs-file-card__score--rating {
  /* padding: 4px 8px; */
}

.cs-file-card__score--rating .cs-rating-star,
.far-side-entry__rating .cs-rating-star {
  font-size: 11px;
}

.cs-file-card__title-row {
  align-items: center;
}

.cs-file-card__title {
  flex: 1 1 auto;
  min-width: 0;
}

.csl {
  background-color: #eef3f8;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border: 1px solid rgba(31, 37, 45, 0.14);
  border-radius: var(--radius-sm);
  box-shadow: 0 3px 8px rgba(27, 34, 44, 0.14);
  display: inline-block;
  flex: 0 0 auto;
  height: 20px;
  width: 20px;
}

.csl--xs {
  border-radius: var(--radius-xs);
  height: 16px;
  width: 16px;
}

.csl--lg {
  border-radius: 12px;
  height: 30px;
  width: 30px;
}

.cs-build-icon {
  background: linear-gradient(180deg, #eff3f8, #cfd8e3);
  border: 1px solid rgba(31, 37, 45, 0.16);
  border-radius: var(--radius-xs);
  box-shadow: 0 3px 8px rgba(27, 34, 44, 0.12);
  display: inline-block;
  flex: 0 0 auto;
  height: 16px;
  overflow: hidden;
  width: 24px;
}

.cs-build-icon--xs {
  border-radius: 3px;
  height: 12px;
  width: 18px;
}

.cs-build-icon--lg {
  border-radius: var(--radius-sm);
  height: 20px;
  width: 30px;
}

.cs-build-icon--ru {
  background: linear-gradient(180deg, #ffffff 0 33.33%, #2f69d6 33.33% 66.66%, #d34c43 66.66%);
}

.cs-build-icon--kz {
  background:
    radial-gradient(circle at 35% 50%, #f7d86a 0 12%, transparent 13%),
    linear-gradient(180deg, #61d2e6, #1ba7c7);
}

.cs-build-icon--ua {
  background: linear-gradient(180deg, #2e74dd 0 50%, #ffd84d 50%);
}

.cs-build-icon--by {
  background:
    linear-gradient(90deg, #ffffff 0 18%, transparent 18%),
    linear-gradient(180deg, #c94242 0 68%, #38a35b 68%);
}

.cs-build-icon--us {
  background:
    linear-gradient(180deg,
      #bf3f3f 0 14%,
      #ffffff 14% 28%,
      #bf3f3f 28% 42%,
      #ffffff 42% 56%,
      #bf3f3f 56% 70%,
      #ffffff 70% 84%,
      #bf3f3f 84% 100%);
  position: relative;
}

.cs-build-icon--us::before {
  background: #244c9d;
  content: "";
  height: 58%;
  left: 0;
  position: absolute;
  top: 0;
  width: 44%;
}

.cs-build-icon--eu {
  background:
    radial-gradient(circle at 50% 38%, #f7d86a 0 10%, transparent 11%),
    linear-gradient(180deg, #315ec6, #23479a);
}

.cs-build-icon--world {
  background:
    radial-gradient(circle at 35% 38%, rgba(255, 255, 255, 0.18) 0 16%, transparent 17%),
    linear-gradient(135deg, #39a761, #287fc7);
}

.cs-portal__title-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cs-portal__title {
  flex: 1 1 auto;
}

.cs-rating-badge {
  background: linear-gradient(180deg, #ff8a28, #db6110);
  border-radius: calc(var(--radius) + 2px);
  box-shadow: 0 10px 20px rgba(198, 95, 18, 0.24);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 8px;
}

.cs-rating-badge--large {
  font-size: 14px;
  padding: 6px 10px;
}

.cs-portal__viewer-rating {
  background: rgba(17, 21, 28, 0.9);
  border-radius: calc(var(--radius) + 2px);
  box-shadow: 0 8px 18px rgba(15, 20, 28, 0.22);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 5px 8px;
  position: absolute;
  right: 10px;
  top: 10px;
  z-index: 1;
}

.far-side-entry {
  min-width: 0;
  position: relative;
}

.far-side-entry.is-preview-active {
  background: rgba(255, 255, 255, 0.1);
}

.far-side-entry__title {
  min-width: 0;
}

.far-side-entry__rating {
  background: rgba(255, 154, 43, 0.16);
  border: 1px solid rgba(255, 181, 88, 0.32);
  border-radius: 999px;
  color: #ffd46b;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  white-space: nowrap;
}

.side-hover-preview {
  left: 0;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  top: 0;
  transform: translate3d(8px, 0, 0);
  transition: opacity 0.16s ease, transform 0.16s ease;
  width: 260px;
  z-index: 9999;
}

.side-hover-preview.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.side-hover-preview__frame {
  background: #f8fafc;
  border: 1px solid #bfc9d4;
  border-radius: 12px;
  box-shadow: 0 22px 42px rgba(25, 31, 40, 0.3);
  overflow: hidden;
  padding: 8px;
  position: relative;
}

.side-hover-preview__arrow {
  background: #f8fafc;
  border-bottom: 1px solid #bfc9d4;
  border-left: 1px solid #bfc9d4;
  height: 16px;
  left: -8px;
  position: absolute;
  top: 44px;
  transform: rotate(45deg);
  width: 16px;
  z-index: 1;
}

.side-hover-preview.is-left .side-hover-preview__arrow {
  border-bottom: 0;
  border-left: 0;
  border-right: 1px solid #bfc9d4;
  border-top: 1px solid #bfc9d4;
  left: auto;
  right: -8px;
}

.side-hover-preview__media {
  aspect-ratio: 16 / 10;
  background: linear-gradient(140deg, #445363, #232d39);
  border-radius: 12px;
  overflow: hidden;
}

.side-hover-preview__image {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.side-hover-preview__dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  padding: 10px 0 3px;
}

.side-hover-preview__dot {
  background: #cad1d8;
  border-radius: 999px;
  height: 7px;
  width: 7px;
}

.side-hover-preview__dot.is-active {
  background: #2f75d8;
}

@media (max-width: 980px) {
  .side-hover-preview {
    display: none;
  }
}

.hero-category .hero-copy {
  max-width: none;
}

.category-landing {
  /* border-top: 1px solid rgba(32, 42, 56, 0.1); */
  /* margin-top: 16px; */
  /* padding-top: 16px; */
}

.category-landing__group + .category-landing__group {
  margin-top: 18px;
}

.category-landing__group-title {
  color: var(--txmal);
  font-size: 13px;
  font-weight: 700;
  /* margin: 0 0 10px; */
}

.category-landing__list {
  align-items: flex-start;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
}

.category-landing__item {
  align-items: center;
  color: var(--tx);
  display: inline-flex;
  min-width: 0;
  text-decoration: none;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.category-landing__item:hover {
  transform: translateY(-1px);
}

.category-landing__item.is-hidden {
  display: none;
}

.category-landing__avatar {
  align-items: center;
  background: radial-gradient(circle at 35% 30%, #ffffff, #d7dde6 70%);
  border: 1px solid rgba(37, 49, 63, 0.16);
  border-radius: 999px;
  box-shadow: 0 6px 12px rgba(23, 31, 41, 0.08);
  display: inline-flex;
  flex: 0 0 auto;
  height: 44px;
  justify-content: center;
  overflow: hidden;
  width: 44px;
}

.category-landing__avatar img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.category-landing__avatar--fallback {
  color: #3a4d63;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.category-landing__text {
  min-width: 0;
}

.category-landing__label,
.category-landing__count {
  display: block;
}

.category-landing__count {
  color: var(--txmal);
  font-size: 11px;
}

.category-landing__toggle {
  align-items: center;
  background: #0000;
  border: 1px solid var(--btndwn);
  border-radius: var(--radius);
  box-shadow: 0 4px 10px rgba(24, 33, 44, 0.08);
  color: var(--txmal);
  cursor: pointer;
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  gap: 6px;
  justify-content: center;
  margin-top: 12px;
  min-height: 25px;
  padding: 0 8px;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.category-landing__toggle:hover {
  background: var(--btndwn);
  color: var(--txm);
}

.category-landing__toggle[hidden] {
  display: none;
}

.category-landing--pills .category-landing__item {
  background: var(--wrp);
  border: 1px solid rgba(37, 49, 63, 0.18);
  border-radius: var(--radius);
  box-shadow: 0 6px 12px rgba(23, 31, 41, 0.06);
  gap: 9px;
  min-height: 33px;
  padding: 0px 6px 0px 6px;
}

.category-landing--pills .category-landing__item.is-active {
  border-color: rgba(21, 93, 201, 0.42);
  box-shadow: 0 8px 14px rgba(27, 73, 147, 0.12);
}

.category-landing--pills .category-landing__avatar {
  height: 24px;
  width: 24px;
}

.category-landing--pills .category-landing__avatar--fallback {
  font-size: 10px;
}

.category-landing--pills .category-landing__text {
  display: inline-flex;
  gap: 4px;
}

.category-landing--pills .category-landing__label {
  color: var(--tx);
  font-size: 13px;
  font-weight: 700;
}

.category-landing--pills .category-landing__count {
  font-size: 11px;
  line-height: 1.5;
}

.category-landing--icons .category-landing__list {
  gap: 16px 18px;
}

.category-landing--icons .category-landing__item {
  align-items: center;
  flex-direction: column;
  text-align: center;
  width: 86px;
}

.category-landing--icons .category-landing__item.is-active .category-landing__avatar {
  border-color: rgba(24, 101, 214, 0.4);
  box-shadow: 0 10px 18px rgba(23, 83, 174, 0.14);
}

.category-landing--icons .category-landing__avatar {
  height: 64px;
  margin-bottom: 8px;
  width: 64px;
}

.category-landing--icons .category-landing__avatar--fallback {
  font-size: 18px;
}

.category-landing--icons .category-landing__label {
  color: #111820;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}

.category-landing--icons .category-landing__count {
  margin-top: 3px;
}

@media (max-width: 760px) {
  .category-landing--icons .category-landing__item {
    width: 72px;
  }

  .category-landing--icons .category-landing__avatar {
    height: 54px;
    width: 54px;
  }

  .category-landing--pills .category-landing__item {
    padding-right: 11px;
  }
}
a.logo img {
    width: 59px;
}

img.lname {
    width: 189px !important;
}
img.ovr1 {
    width: 100%;
    height: 100%;
}

img.ovr2 {
    height: 67px;
    border-radius: var(--radius-sm);
}

a.cat-link:hover {
    background: rgb(223 223 223 / 27%);
}
.csl {
    background: #00000000;
    height: 23px;
    width: 23px;
    background-repeat: no-repeat;
    background-size: cover;
    border-width: 1px;
    border-style: solid;
    border-color: rgb(31 37 45 / 0%);
    border-image: initial;
}

/* subtle visual refresh + adaptive improvements */
body {
  color: var(--tx);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(8px);
}

.top-links a,
.cat-link,
.side-item,
.far-side-entry,
.hero-action,
.panel-action,
.mini-btn,
.page-nav a,
.comment-action,
.profile-action,
.card,
.side-box,
.hero,
.cards-panel,
.content-panel,
.cs-full__header,
.cs-full__hero,
.cs-full__info-grid,
.cs-full__description,
.cs-full__faq,
.cs-full__screens,
.cs-full__download-panel,
.cs-full__related,
.cs-sidebox,
.cs-download {
  transition: all 0.22s ease;
}

.hero,
.cards-panel,
.content-panel,
.side-box,
.far-message,
.cs-full__header,
.cs-full__hero,
.cs-full__info-grid,
.cs-full__description,
.cs-full__faq,
.cs-full__screens,
.cs-full__download-panel,
.cs-full__related {
  /* border: 1px solid rgba(80, 87, 98, 0.08); */
}

.hero,
.cards-panel,
.content-panel {
  backdrop-filter: blur(3px);
}

.card:hover,
.cs-related-card:hover,
.cs-download:hover,
.side-box:hover,
.hero:hover,
.content-panel:hover,
.cards-panel:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(27, 34, 44, 0.12);
}

.header-search input,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="file"],
textarea,
select,
.wide {
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-search input:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="file"]:focus,
textarea:focus,
select:focus,
.wide:focus {
  border-color: rgba(47, 117, 216, 0.5);
  box-shadow: 0 0 0 3px rgba(47, 117, 216, 0.12);
  outline: none;
}

.card-title,
.panel-title,
.service-title,
.section-title,
.story-title,
.cs-full__title {
  text-wrap: balance;
}

.card-desc,
.story-lead,
.service-text,
.section-text,
.comment-body,
.story-content,
.cs-full__lead,
.cs-related-card__text {
  line-height: 1.7;
}

.page-nav .pages a:hover,
.page-nav a:hover,
.hero-action:hover,
.panel-action:hover,
.mini-btn:hover,
.comment-action:hover,
.profile-action:hover,
.form-submit button:hover,
.search-actions input[type="button"]:hover,
.search-actions input[type="reset"]:hover,
.header-search button:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
}

.side-item,
.far-side-entry,
.far-category-tree__item a {
  min-height: 44px;
}

.card-media,
.story-cover,
.preview-card,
.cs-full__viewer,
.cs-related-card__media {
  border-radius: inherit;
}

img.ovr2 {
  max-width: 100%;
  object-fit: cover;
}

@media (max-width: 980px) {
  .top-inner {
    gap: 12px;
  }

  .logo {
    font-size: 24px;
  }

  .top-links {
    width: 100%;
    order: 3;
    justify-content: center;
  }

  .header-search {
    min-width: 0;
    flex: 1 1 260px;
  }

  .hero-preview {
    grid-template-rows: minmax(180px, auto) auto;
  }
}

@media (max-width: 860px) {
  .top-inner {
    align-items: stretch;
  }

  .logo {
    justify-content: center;
    width: 100%;
  }

  .header-search {
    width: 100%;
  }

  .header-search input {
    padding-right: 92px;
  }

  .header-search button {
    min-width: 78px;
    padding: 0 10px;
  }

  .cat-inner {
    gap: 6px;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 10px;
    scrollbar-width: thin;
  }

  .cat-link {
    flex: 0 0 auto;
    white-space: nowrap;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 13px;
  }

  .topbar {
    position: static;
  }

  .top-inner,
  .cat-inner,
  .wrapper,
  .footer-inner {
    width: min(1180px, calc(100% - 14px));
  }

  .top-inner {
    display: flex;
    gap: 10px;
    padding: 12px 0;
  }

  .logo {
    font-size: 21px;
    gap: 8px;
  }

  a.logo img {
    width: 48px;
  }

  img.lname {
    width: 150px !important;
    max-width: 100%;
    height: auto;
  }

  .top-links {
    justify-content: flex-start;
    gap: 8px 12px;
  }

  .top-links a {
    font-size: 11px;
  }

  .header-search input {
    height: 42px;
    padding-right: 88px;
  }

  .header-search button {
    top: 3px;
    right: 3px;
    height: 36px;
    border-radius: 12px;
    font-size: 11px;
  }

  .hero,
  .cards-panel,
  .content-panel,
  .side-box,
  .far-message,
  .cs-full__header,
  .cs-full__description,
  .cs-full__faq,
  .cs-full__screens,
  .cs-full__download-panel,
  .cs-full__related,
  .cs-full__hero,
  .cs-full__info-grid,
  .cs-sidebox {
    border-radius: 12px;
  }

  .hero,
  .cards-panel,
  .content-panel {
    padding: 14px;
  }

  .panel-header,
  .card-actions,
  .card-meta,
  .story-foot,
  .comment-head,
  .comment-author,
  .page-nav,
  .form-submit,
  .search-actions {
    gap: 10px;
  }

  .panel-title,
  .service-title,
  .section-title {
    font-size: 22px;
  }

  .story-title,
  .cs-full__title {
    font-size: clamp(24px, 8vw, 30px);
  }

  .hero-copy h1 {
    font-size: clamp(22px, 7vw, 28px);
  }

  .preview-row,
  .cs-full__download-row,
  .profile-grid,
  .search-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .card-body,
  .comment,
  .form-field,
  .profile-box,
  .search-box,
  .search-group {
    padding: 12px;
  }

  .page-nav {
    justify-content: flex-start;
    overflow-x: auto;
    padding: 8px;
  }

  .page-nav .pages {
    flex-wrap: nowrap;
  }

  .page-nav .pages span,
  .page-nav .pages a {
    flex: 0 0 auto;
  }

  .comment-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .profile-hero {
    grid-template-columns: 72px minmax(0, 1fr);
    align-items: start;
  }

  .profile-avatar {
    min-height: 72px;
  }

  .cs-full__viewer,
  .cs-full__viewer-empty {
    min-height: 220px;
  }

  .cs-full__rail-gallery {
    max-height: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 420px) {
  .wrapper {
    gap: 10px;
    padding-top: 12px;
  }

  .logo span {
    width: 30px;
    height: 30px;
  }

  .hero-actions,
  .hero-meta,
  .card-actions,
  .story-foot-column,
  .comment-tools {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-action,
  .panel-action,
  .mini-btn,
  .page-nav a,
  .form-submit button,
  .search-actions input[type="button"],
  .search-actions input[type="reset"],
  .comment-action,
  .profile-action,
  .cs-related-card__link,
  .cs-download {
    width: 100%;
  }

  .card-meta,
  .story-foot,
  .profile-box li,
  .cs-specs li,
  .cs-full__meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-search input {
    padding-right: 82px;
  }
}


/* polish pass */
a, button, input, select, textarea {
  transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease, color .2s ease, transform .2s ease, opacity .2s ease;
}

a:hover {
  color: #e7f0ff;
}

input:focus,
textarea:focus,
select:focus,
button:focus,
a:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(58, 123, 224, 0.16);
}

.side-box,
.hero,
.cards-panel,
.content-panel,
.far-message,
.card,
.comment,
.form-field,
.profile-box,
.search-box,
.search-group,
.cs-full__header,
.cs-full__hero,
.cs-full__info-grid,
.cs-full__description,
.cs-full__faq,
.cs-full__screens,
.cs-full__download-panel,
.cs-full__related {
}

.card:hover,
.side-box:hover,
.cs-download:hover {
  box-shadow: 0 18px 38px rgba(22, 30, 40, 0.12);
}

.page-nav,
.header-search input,
.header-search button,
.cat-link,
.page-nav .pages span,
.page-nav .pages a {
  border-radius: var(--radius-sm);
}

.top-links a,
.cat-link {
  letter-spacing: 0.04em;
}

.card-title,
.panel-title,
.service-title,
.section-title {
  letter-spacing: -0.01em;
}

@media (max-width: 620px) {
  .hero,
  .cards-panel,
  .content-panel,
  .side-box,
  .card,
  .comment {
    border-radius: 14px;
  }
}

/* premium ui + cleaner mobile header */
:root {
  --premium-border: rgba(86, 98, 113, 0.12);
  --premium-border-strong: rgba(56, 68, 82, 0.18);
  --premium-glow: 0 18px 44px rgba(19, 27, 36, 0.10);
  --premium-glow-soft: 0 10px 24px rgba(19, 27, 36, 0.06);
}

.topbar {
  background:
    linear-gradient(180deg, rgba(52, 80, 58, 0.98), rgba(31, 49, 37, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 14px 30px rgba(15, 21, 28, 0.12);
}

.top-inner {
  padding: 14px 0;
  gap: 16px;
}

.logo {
  letter-spacing: 0.02em;
}

.logo span {
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 10px 20px rgba(8, 13, 19, 0.18);
}

.top-links {
  gap: 8px;
}

.top-links a {
  border-bottom: 0;
  padding: 8px 5px;
  color: rgba(255, 255, 255, 0.88);
}

.top-links a:hover,
.top-links a.active {
  background: rgb(255 255 255 / 4%);
  /* box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); */
  color: #fff;
  border-bottom: 4px solid var(--accent-3);
}

.header-search {
  max-width: 390px;
}

.header-search input {
  background: rgba(255, 255, 255, 0.12);
}

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

.header-search button {
  background: linear-gradient(180deg, rgba(17, 22, 28, 0.96), rgba(30, 36, 44, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 8px 18px rgba(8, 12, 17, 0.16);
}

.catbar {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 8px 22px rgba(15, 20, 26, 0.08);
  margin-bottom: 5px;
}

.cat-link {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.cat-link:hover,
.cat-link.active {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.14);
  transform: translateY(-1px);
}

.side-box,
.hero,
.cards-panel,
.content-panel,
.far-message,
.comment,
.card,
.form-field,
.profile-box,
.search-box,
.search-group,
.cs-full__header,
.cs-full__hero,
.cs-full__info-grid,
.cs-full__description,
.cs-full__faq,
.cs-full__screens,
.cs-full__download-panel,
.cs-full__related {
  box-shadow: var(--premium-glow-soft);
}

.hero,
.cards-panel,
.content-panel,
.comment,
.form-field,
.profile-box,
.search-box,
.search-group,
.cs-full__header,
.cs-full__hero,
.cs-full__info-grid,
.cs-full__description,
.cs-full__faq,
.cs-full__screens,
.cs-full__download-panel,
.cs-full__related {
  background: var(--wrp);
}

.side-box {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 18px 42px rgba(14, 19, 26, 0.16);
}

.side-item,
.far-side-entry,
.far-category-tree__item a {
  border-color: rgba(255, 255, 255, 0.05);
}

.card {
  box-shadow: 0 12px 30px rgba(18, 25, 34, 0.07);
}

.card-body {
  gap: 12px;
}

.card-meta {
  background: linear-gradient(180deg, rgba(244, 247, 250, 0.72), rgba(255, 255, 255, 0.94));
}

.card:hover,
.hero:hover,
.cards-panel:hover,
.content-panel:hover,
.side-box:hover,
.cs-download:hover {
  box-shadow: var(--premium-glow);
}

.hero-action,
.panel-action,
.mini-btn,
.page-nav a,
.comment-action,
.profile-action,
.form-submit button,
.search-actions input[type="button"],
.search-actions input[type="reset"] {
  border-radius: 14px;
  border-color: rgba(44, 53, 64, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.20),
    0 8px 18px rgba(18, 25, 34, 0.08);
}

.hero-action,
.panel-action,
.form-submit button,
.search-actions input[type="button"] {
  background: linear-gradient(180deg, #3a4048, #2f353d);
}

.hero-action.alt,
.mini-btn.alt,
.search-actions input[type="reset"] {
  background: linear-gradient(180deg, #42b358, #2f9645);
}

.hero-action.soft,
.mini-btn.soft,
.page-nav a,
.comment-action,
.profile-action {
  background: var(--wrp);
  border-color: var(--premium-border);
}

.page-nav {
  border: var(--wrp2);
  box-shadow: var(--premium-glow-soft);
}

.page-nav .pages span,
.page-nav .pages a {
  border-radius: 12px;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="file"],
textarea,
select,
.wide {
  border-radius: 14px;
}

.comment,
.form-field,
.profile-box,
.search-box,
.search-group {
  border-radius: 16px;
}

@media (max-width: 860px) {
  .top-inner {
    align-items: center;
    gap: 10px;
  }

  .logo {
    width: auto;
    justify-content: flex-start;
  }

  .header-search {
    order: 3;
    flex: 1 1 100%;
    max-width: none;
  }

  .top-links {
    order: 2;
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
    padding-bottom: 2px;
    width: 100%;
  }

  .top-links::-webkit-scrollbar {
    display: none;
  }

  .top-links a {
    flex: 0 0 auto;
    white-space: nowrap;
  }
}

@media (max-width: 620px) {
  .topbar {
    position: static;
    padding: 8px 0 10px;
  }

  .top-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    padding: 10px 0;
  }

  .logo {
    justify-content: center;
    font-size: 22px;
    text-align: center;
  }

  .top-links {
    order: initial;
    display: flex;
    gap: 8px;
    margin: 0 -2px;
    padding: 2px 2px 4px;
    justify-content: flex-start;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 14px;
  }

  .top-links a {
    padding: 8px 11px;
    font-size: 11px;
    background: rgba(255, 255, 255, 0.04);
  }

  .header-search {
    order: initial;
    margin-left: 0;
  }

  .header-search input {
    height: 46px;
    border-radius: 15px;
    padding: 0 94px 0 14px;
  }

  .header-search button {
    top: 4px;
    right: 4px;
    height: 38px;
    min-width: 82px;
    border-radius: 11px;
  }

  .catbar {
    border-top: 1px solid rgba(255, 255, 255, 0.03);
  }

  .cat-inner {
    gap: 8px;
    padding: 8px 0 10px;
  }

  .cat-link {
    padding: 8px 12px;
    border-radius: 999px;
  }

  .hero,
  .cards-panel,
  .content-panel,
  .side-box,
  .comment,
  .card,
  .cs-full__header,
  .cs-full__hero,
  .cs-full__info-grid,
  .cs-full__description,
  .cs-full__faq,
  .cs-full__screens,
  .cs-full__download-panel,
  .cs-full__related {
    border-radius: 16px;
  }
}

@media (max-width: 420px) {
  .logo {
    font-size: 20px;
  }

  .logo span {
    width: 28px;
    height: 28px;
    border-radius: 10px;
  }

  .top-links {
    gap: 7px;
  }

  .top-links a {
    padding: 7px 10px;
    font-size: 10px;
  }

  .header-search input {
    padding-right: 88px;
  }

  .header-search button {
    min-width: 76px;
    font-size: 10px;
  }
}
.cs-roulette {
  margin: 18px 0;
  padding: 14px;
  border-radius: 0px;
  background: var(--wrp);
  width: min(1473px, calc(100% - 24px));
  margin: 5px auto;
  border-radius: 15px;
}

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

.cs-roulette__title {
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.cs-roulette__spin {
  height: 40px;
  border: 0;
  border-radius: 12px;
  background: var(--btndwn);
  color: #fff;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.cs-roulette__spin:hover {
  transform: translateY(-1px);
}

.cs-roulette__spin:disabled {
  cursor: default;
  opacity: 0.7;
}

.cs-roulette__viewport {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: var(--wrp2);
  padding: 10px;
}

.cs-roulette__pointer {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  transform: translateX(-50%);
  z-index: 5;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(255, 196, 73, 0),
    rgba(255, 196, 73, 1) 15%,
    rgba(255, 196, 73, 1) 85%,
    rgba(255, 196, 73, 0)
  );
  box-shadow: 0 0 18px rgba(255, 196, 73, 0.5);
}

.cs-roulette__pointer::before,
.cs-roulette__pointer::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
}

.cs-roulette__pointer::before {
  top: 0;
  border-top: 12px solid #ffc449;
}

.cs-roulette__pointer::after {
  bottom: 0;
  border-bottom: 12px solid #ffc449;
}

.cs-roulette__track {
  display: flex;
  align-items: stretch;
  gap: 8px;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.cs-roulette__item {
  position: relative;
  flex: 0 0 220px;
  height: 120px;
  border-radius: 10px;
  overflow: hidden;
  background: #1a1f27;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.24);
}

.cs-roulette__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cs-roulette__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.38)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0));
}

.cs-roulette__item-title {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.65);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cs-roulette__item.is-win {
  border-color: rgba(255, 196, 73, 0.95);
  box-shadow:
    0 0 0 2px rgba(255, 196, 73, 0.22),
    0 10px 28px rgba(255, 196, 73, 0.18);
}

.cs-roulette-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.cs-roulette-modal.is-open {
  display: block;
}

.cs-roulette-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 10, 14, 0.72);
  backdrop-filter: blur(4px);
}

.cs-roulette-modal__dialog {
  position: relative;
  z-index: 2;
  width: min(860px, calc(100% - 24px));
  max-height: calc(100vh - 32px);
  overflow: auto;
  margin: 16px auto;
  padding: 14px;
  border-radius: 20px;
  background: linear-gradient(180deg, #f8fafc, #edf2f7);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
}

.cs-roulette-modal__close {
  position: sticky;
  top: 0;
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: #111827;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  z-index: 3;
}

.cs-roulette-modal__content .card,
.cs-roulette-modal__content .cs-file-card {
  margin: 0;
}

@media (max-width: 700px) {
  .cs-roulette {
    padding: 12px;
    border-radius: 16px;
  }

  .cs-roulette__top {
    flex-direction: column;
    align-items: stretch;
  }

  .cs-roulette__spin {
    width: 100%;
  }

  .cs-roulette__item {
    flex-basis: 180px;
    height: 100px;
  }

  .cs-roulette__item-title {
    font-size: 13px;
  }

  .cs-roulette-modal__dialog {
    width: calc(100% - 14px);
    margin: 7px auto;
    padding: 10px;
    border-radius: 16px;
  }
}

.cs-portal {
  --portal-accent: #2a6fd3;
  --portal-accent-soft: #edf4ff;
  --portal-accent-border: rgba(42, 111, 211, 0.24);
}

.cs-portal--build {
  --portal-accent: #2a6fd3;
  --portal-accent-soft: #edf4ff;
  --portal-accent-border: rgba(42, 111, 211, 0.24);
}

.cs-portal--weapon {
  --portal-accent: #d46a14;
  --portal-accent-soft: #fff3e8;
  --portal-accent-border: rgba(212, 106, 20, 0.24);
}

.cs-portal--player {
  --portal-accent: #1f9f7d;
  --portal-accent-soft: #ecfbf6;
  --portal-accent-border: rgba(31, 159, 125, 0.24);
}

.cs-portal--map {
  --portal-accent: #8f58d8;
  --portal-accent-soft: #f4eeff;
  --portal-accent-border: rgba(143, 88, 216, 0.24);
}

.cs-portal__head {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cs-portal__eyebrow {
  color: var(--tx);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cs-portal__title-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cs-portal .cs-rating-badge--large,
.cs-portal__viewer-rating {
  background: var(--portal-accent);
  color: #fff;
}

.cs-portal__thumbs a.is-active,
.cs-portal__thumb.is-active,
.cs-portal__thumbs .xfieldimagegallery a.is-active {
  border-color: var(--portal-accent);
  box-shadow: 0 0 0 1px var(--portal-accent-border);
}

.cs-portal__details {
  background: linear-gradient(180deg, #fff, #f7f9fb);
  gap: 16px;
  grid-template-columns: minmax(0, 1fr) 220px;
  padding: 14px;
}

.cs-portal__specs h2,
.cs-portal__info-card h3,
.cs-full__section-head h2 {
  color: var(--tx);
}

.cs-portal__spec-list {
  display: grid;
  gap: 8px 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  padding: 0;
}

.cs-portal__spec-list li {
  background: var(--wrp);
  border-radius: 14px;
  margin: 0;
  padding: 10px 12px;
  width: auto;
}

.cs-portal__spec-list span {
  color: #5e6a77;
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cs-portal__spec-list strong {
  color: var(--txmal);
  display: block;
  font-size: 14px;
  font-weight: 800;
  margin-top: 4px;
}

.cs-portal__stats {
  display: grid;
  gap: 10px;
  padding-top: 0;
  text-align: left;
}

.cs-portal__stat {
  background: var(--portal-accent-soft);
  border-radius: 14px;
  padding: 12px;
}

.cs-portal__stat + .cs-portal__stat {
  margin-top: 0;
}

.cs-portal__stat span {
  color: #5b6774;
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.cs-portal__stat strong {
  color: var(--txmal);
  display: block;
  font-size: 16px;
  font-weight: 800;
  margin-top: 6px;
}

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

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

.cs-portal__summary-card {
  background: linear-gradient(180deg, #fff, var(--portal-accent-soft));
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(20, 28, 38, 0.05);
  padding: 16px 18px;
}

.cs-portal__summary-label {
  color: #677381;
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cs-portal__summary-value {
  color: var(--tx);
  display: block;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.15;
  margin-top: 8px;
}

.cs-portal__summary-note {
  color: #39424d;
  display: block;
  font-size: 13px;
  line-height: 1.55;
  margin-top: 10px;
}

.cs-portal__info-card {
  background: linear-gradient(180deg, #fff, var(--portal-accent-soft));
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(20, 28, 38, 0.05);
  padding: 16px 18px;
}

.cs-portal__info-card h3 {
  font-size: 15px;
  margin: 0 0 12px;
}

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

.cs-portal__mini-list li {
  color: var(--txmal);
  margin: 0 0 10px;
  padding-left: 18px;
  position: relative;
}

.cs-portal__mini-list li::before {
  background: var(--btndwn);
  border-radius: 999px;
  content:
  "";
  height: 8px;
  left: 0;
  position: absolute;
  top: 0.55em;
  width: 8px;
}

.cs-portal__notice {
  background: var(--wrp);
  border-radius: 16px;
  color: var(--txmal);
  margin-bottom: 14px;
  padding: 14px 16px;
}

.cs-portal__content-shell {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr) 290px;
}

.cs-portal__content-main {
  min-width: 0;
}

.cs-portal__content-aside {
  display: grid;
  gap: 14px;
  align-content: start;
}

.cs-portal__aside-card {
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(20, 28, 38, 0.05);
  padding: 16px 18px;
}

.cs-portal__aside-card h3 {
  color: var(--tx);
  font-size: 15px;
  margin: 0 0 12px;
}

.cs-portal__step-list {
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
}

.cs-portal__step-list li {
  color: var(--txmal);
  margin: 0 0 12px;
  min-height: 36px;
  padding-left: 50px;
  position: relative;
}

.cs-portal__step-list li::before {
  align-items: center;
  background: var(--btndwn);
  border-radius: 999px;
  color: #fff;
  content: counter(step);
  counter-increment: step;
  display: inline-flex;
  font-size: 13px;
  font-weight: 900;
  height: 34px;
  justify-content: center;
  left: 0;
  position: absolute;
  top: -2px;
  width: 34px;
}

.cs-portal__muted {
  color: #495462;
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

.cs-portal__code {
  background: #10151d;
  border-radius: 14px;
  color: #d7edf7;
  font-family: Consolas, Monaco, monospace;
  font-size: 13px;
  line-height: 1.7;
  padding: 14px 16px;
  white-space: pre-line;
}

.cs-portal__description {
  color: var(--txmal);
  font-size: 14px;
  line-height: 1.75;
}

.cs-portal__description h2,
.cs-portal__description h3,
.cs-portal__description h4 {
  color: var(--tx);
  margin: 18px 0 10px;
}

.cs-portal__description img {
  border-radius: 14px;
  height: auto;
  max-width: 100%;
}

.cs-portal__description ul,
.cs-portal__description ol {
  padding-left: 20px;
}

.cs-portal__spoiler summary {
  color: var(--tx);
}

.cs-portal__spoiler-body {
  background: #fff;
}

.cs-portal--weapon .cs-portal__tag--basis::before {
  background: linear-gradient(180deg, #ffd49a, #d46a14);
}

.cs-portal--player .cs-portal__tag--basis::before {
  background: linear-gradient(180deg, #83e0c2, #1f9f7d);
}

.cs-portal--map .cs-portal__tag--basis::before {
  background: linear-gradient(180deg, #d5bbff, #8f58d8);
}

@media (max-width: 900px) {
  .cs-portal__details,
  .cs-portal__story-grid,
  .cs-portal__summary-grid,
  .cs-portal__content-shell {
    grid-template-columns: 1fr;
  }

  .cs-portal__spec-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .cs-portal__eyebrow {
    font-size: 11px;
  }

  .cs-portal__title-row {
    align-items: flex-start;
    gap: 10px;
  }

  .cs-portal__details {
    padding: 12px;
  }

  .cs-portal__summary-value {
    font-size: 18px;
  }

  .cs-portal__info-card {
    padding: 14px;
  }

  .cs-portal__aside-card {
    padding: 14px;
  }

  .cs-portal__stat strong {
    font-size: 15px;
  }
}

/* Minimal fullstory pass */
.cs-portal {
  background: var(--wrp2);
  border-radius: 18px;
  box-shadow: none;
  gap: 18px;
  padding: 18px;
}

.cs-portal__title {
  font-size: 28px;
  line-height: 1.15;
}

.cs-portal__eyebrow {
  font-size: 11px;
  letter-spacing: 0.12em;
}

.cs-portal__tags {
  gap: 8px;
}

.cs-portal__tag {
  background: var(--wrp);
  border-radius: 999px;
  color: var(--tx);
  font-size: 12px;
  padding: 6px 10px 6px 28px;
}

.cs-portal__tag::before {
  left: 11px;
}

.cs-portal__downloads {
  gap: 10px;
}

.cs-portal__download {
  background: #fff;
  border: 1px solid #dfe6ec;
  border-radius: 14px;
  box-shadow: none;
  color: #1d2430;
  flex: 0 1 200px;
  min-height: 52px;
}

.cs-portal__download-icon {
  background: transparent;
  color: var(--portal-accent);
  flex-basis: 24px;
  font-size: 16px;
  height: 24px;
}

.cs-portal__download-copy {
  font-size: 14px;
  font-weight: 700;
}

.cs-portal__download-copy small {
  color: #7a8794;
  font-size: 11px;
  font-weight: 600;
}

.cs-portal__download--blue,
.cs-portal__download--green,
.cs-portal__download--yellow {
  background: #fff;
  color: #1d2430;
}

.cs-portal__viewer {
  background: #eff3f6;
  border-radius: 16px;
}

.cs-portal__viewer-badge {
  background: rgba(18, 23, 30, 0.84);
  border-radius: 999px;
  font-size: 10px;
  padding: 5px 8px;
}

.cs-portal__viewer-rating {
  border-radius: 999px;
  font-size: 12px;
  padding: 5px 9px;
}

.cs-portal__rail {
  gap: 10px;
}

.cs-portal__rail-promo {
  display: none;
}

.cs-portal__thumbs-scroll {
  max-height: 360px;
}

.cs-portal__thumbs a,
.cs-portal__thumb,
.cs-portal__thumbs .xfieldimagegallery a,
.cs-portal__thumb-placeholder {
  border-radius: 12px;
}

.cs-portal__details {
  background: var(--wrp2);
  border-radius: 18px;
  gap: 14px;
  padding: 16px;
}

.cs-portal__summary-grid,
.cs-portal__story-grid {
  gap: 12px;
}

.cs-portal__summary-card,
.cs-portal__info-card,
.cs-portal__aside-card,
.cs-portal__stat {
  background: var(--wrp);
  border-radius: 0px;
  box-shadow: none;
  border-left: 4px solid var(--btndwn);
}

.cs-portal__summary-card,
.cs-portal__info-card,
.cs-portal__aside-card {
  padding: 15px 16px;
}

.cs-portal__summary-value {
  font-size: 17px;
  font-weight: 800;
}

.cs-portal__summary-note,
.cs-portal__muted,
.cs-portal__description {
  color: var(--txmal);
}

.cs-portal__spec-list {
  gap: 10px;
}

.cs-portal__spec-list li {
  border-radius: 12px;
  padding: 10px 11px;
}

.cs-portal__spec-list span,
.cs-portal__summary-label,
.cs-portal__stat span {
  color: #7b8793;
}

.cs-portal__stat {
  padding: 11px 12px;
}

.cs-portal__stat strong {
  font-size: 15px;
}

.cs-portal__notice {
  background: var(--wrp);
  border-radius: 14px;
  margin-bottom: 12px;
}

.cs-portal__content-shell {
  gap: 14px;
  grid-template-columns: minmax(0, 1fr) 270px;
}

.cs-portal__aside-card h3,
.cs-portal__info-card h3,
.cs-portal__specs h2,
.cs-full__section-head h2 {
  font-size: 16px;
}

.cs-portal__step-list li {
  margin-bottom: 10px;
  min-height: 32px;
  padding-left: 42px;
}

.cs-portal__step-list li::before {
  font-size: 12px;
  height: 28px;
  top: 0;
  width: 28px;
}

.cs-portal__code {
  background: #f3f6f8;
  color: #1f2833;
}

.cs-portal__spoiler {
  margin-top: 0;
}

.cs-portal__spoiler summary {
  background: transparent;
  border-bottom: 1px solid #e5eaef;
  border-radius: 0;
  font-size: 13px;
  padding: 0 0 10px;
}

.cs-portal__spoiler-body {
  background: transparent;
  border: 0;
  padding: 14px 0 0;
}

.cs-full__related,
.content-panel {
  background: var(--wrp2);
  box-shadow: none;
}

@media (max-width: 900px) {
  .cs-portal {
    padding: 14px;
  }

  .cs-portal__title {
    font-size: 22px;
  }

  .cs-portal__content-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .cs-portal {
    border-radius: 14px;
    gap: 14px;
    padding: 12px;
  }

  .cs-portal__title {
    font-size: 18px;
  }

  .cs-portal__download {
    border-radius: 12px;
    min-height: 48px;
  }

  .cs-portal__summary-card,
  .cs-portal__info-card,
  .cs-portal__aside-card {
    padding: 13px 14px;
  }
}

/* Small overall polish */
body {
  background: var(--bck);
}

.site-shell {
  position: relative;
}

.topbar {
  background: var(--shap);
  border-bottom: 1px solid var(--brdclr);
  box-shadow: var(--shadoww);
}

.top-inner {
  gap: 20px;
  padding: 12px 0;
}

.top-links {
  gap: 14px;
}

.top-links a {
  border-bottom-width: 1px;
  color: rgba(255, 255, 255, 0.76);
  letter-spacing: 0.04em;
}

.header-search input {
  background: var(--wrp2);
}

.header-search input::placeholder {
  color: rgba(255, 255, 255, 0.62);
}

.header-search button {
  background: rgba(17, 21, 26, 0.86);
  border-radius: 12px;
  height: 30px;
  top: 4px;
}

.catbar {
  background: var(--wrp);
  border-bottom: 1px solid rgba(13, 15, 18, 0.4);
}

.cat-inner {
  gap: 9px;
  padding: 10px 0;
}

.cat-link {
  background: var(--bgmalo);
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 11px;
  letter-spacing: 0.04em;
  padding: 7px 13px;
}

.wrapper {
  gap: 18px;
  padding: 20px 0 32px;
  background: var(--wrp);
  padding: 12px;
  border-radius: 15px;
}

.side-box,
.hero,
.cards-panel,
.content-panel,
.far-message {
  border: 1px solid var(--brdclr);
}

.side-box {
  background: #ffffff00;
}

.side-title {
  background: rgb(45 45 45);
  letter-spacing: 0.05em;
  padding: 11px 12px;
}

.far-side-entry {
  background: rgb(0 0 0 / 36%);
  border-color: rgba(255, 255, 255, 0.05);
  padding: 10px 14px;
}

.far-side-entry:hover {
  background: rgba(255, 255, 255, 0.07);
}

.hero,
.cards-panel,
.content-panel {
}

.hero {
  padding: 20px;
}

.hero-copy h1,
.panel-title,
.section-title,
.card-title {
  letter-spacing: -0.02em;
}

.hero-copy p,
.section-text,
.card-desc {
  color: var(--txmal);
}

.cards-panel {
  background: #0000;
}

.cards {
  gap: 16px;
  background: var(--wrp2);
  padding: 10px;
  border-radius: var(--rds);
}

.card,
.cs-file-card {
  box-shadow: 0 10px 24px rgba(20, 28, 38, 0.05);
}

.card:hover,
.cs-file-card:hover,
.hero:hover,
.cards-panel:hover,
.content-panel:hover,
.side-box:hover {
  box-shadow: 0 14px 30px rgba(20, 28, 38, 0.08);
  transform: translateY(-1px);
}

.card-body {
  gap: 12px;
}

.card-category,
.story-category,
.meta-tag {
  background: #f6f8fa;
  border-color: #e4e9ef;
  color: #396fb8;
}

.footer {
  border-top: 1px solid rgba(83, 93, 107, 0.08);
}

.footer-inner {
  color: var(--tx);
  padding-top: 4px;
}

@media (max-width: 900px) {
  .wrapper {
    gap: 14px;
    padding-top: 16px;
  }

  .hero,
  .cards-panel,
  .content-panel {
    padding: 16px;
  }
}

@media (max-width: 680px) {
  .top-inner {
    gap: 14px;
    padding: 10px 0;
  }

  .cat-inner {
    gap: 7px;
    padding: 8px 0;
  }

  .hero,
  .cards-panel,
  .content-panel {
    padding: 14px;
  }

  .cards {
    gap: 12px;
  }
}

.cs-file-card--asset {
  background: var(--crd);
}

.cs-file-card--asset .cs-file-card__media {
  aspect-ratio: 1.62 / 1;
}

.cs-file-card--asset .cs-file-card__media-overlay {
  background: linear-gradient(180deg, rgba(10, 14, 20, 0.02), rgba(10, 14, 20, 0.18));
}

.cs-file-card__score--size {
  background: rgb(15 20 28 / 0%);
  bottom: 12px;
  left: 14px;
  padding: 2px 8px;
  position: absolute;
}

.cs-file-card--asset .cs-file-card__body {
  gap: 10px;
  padding: 14px 15px 15px;
}

.cs-file-card--asset .cs-file-card__label-row {
  gap: 6px;
}

.cs-file-card--asset .cs-file-card__category,
.cs-file-card--asset .cs-file-card__version {
  font-size: 9px;
  padding: 4px 8px;
}

.cs-file-card--asset .cs-file-card__title {
  font-size: 16px;
  line-height: 1.22;
}

.cs-file-card--asset .cs-file-card__desc {
  -webkit-line-clamp: 2;
  color: var(--txmal);
  font-size: 12px;
  min-height: 34px;
}

.cs-asset-card__meta {
  color: #6b7785;
  display: flex;
  flex-wrap: wrap;
  font-size: 11px;
  gap: 8px 14px;
}

.cs-asset-card__meta span {
  align-items: center;
  display: inline-flex;
  gap: 5px;
}

.cs-file-card--asset .cs-file-card__actions {
  margin-top: auto;
}

.cs-file-card--asset .cs-file-card__button {
  min-height: 40px;
}

.cs-file-card--asset .cs-file-card__button--download {
  background: var(--btndwn);
  border-color: var(--tx);
  color: #fff;
}

.cs-file-card--asset .cs-file-card__button--ghost {
  background: var(--btndwn);
  color: var(--tx);
}

@media (max-width: 680px) {
  .cs-file-card--asset .cs-file-card__body {
    padding: 12px;
  }

  .cs-file-card--asset .cs-file-card__title {
    font-size: 15px;
  }
}

/* typography normalization */
body {
  font-size: 15px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.top-links a,
.header-search button,
.cat-link,
.side-title,
.card-category,
.story-category,
.meta-tag,
.cs-full__kicker,
.cs-file-card__category,
.cs-file-card__version,
.cs-portal__eyebrow,
.cs-portal__summary-label,
.cs-portal__stat span,
.cs-portal__tag,
.far-side-entry__meta,
.cs-sidebox__title,
.cs-sidebox__subtitle,
.cs-related-card__meta,
.card-date,
.story-date {
  letter-spacing: 0.01em;
  text-transform: none;
}

.top-links a,
.cat-link,
.header-search button {
  font-size: 21px;
}

.side-title,
.cs-sidebox__title {
  letter-spacing: 0.01em;
  width: 100%;
  height: 40px;
  background: var(--crd);
  border-radius: 0px;
  display: flex;
  color: var(--tx);
  margin-right: 17px;
  font-size: 19px;
  align-items: center;
  justify-content: flex-start;
}

.far-side-entry__meta,
.card-category,
.story-category,
.meta-tag,
.cs-full__kicker,
.cs-portal__eyebrow,
.cs-portal__summary-label,
.cs-portal__stat span,
.cs-related-card__meta,
.card-date,
.story-date {
  font-size: 12px;
}

.cs-file-card__category,
.cs-file-card__version,
.cs-file-card--asset .cs-file-card__category,
.cs-file-card--asset .cs-file-card__version {
  font-size: 11px;
  letter-spacing: 0.01em;
  padding: 5px 9px;
}

.cs-portal__tag {
  font-size: 12px;
  font-weight: 700;
}

.hero-action,
.panel-action,
.mini-btn,
.card-btn,
.cs-file-card__button,
.cs-portal__download-copy,
.form-submit,
.comment-form button,
.btn {
  letter-spacing: 0.01em;
  text-transform: none;
}

.card-title,
.panel-title,
.service-title,
.section-title,
.story-title,
.cs-full__title,
.hero-title,
.preview-title,
.far-side-entry__title,
.cs-file-card__title,
.cs-related-card__title,
.cs-portal__title,
.cs-portal__summary-value,
.cs-portal__stat strong,
.cs-portal__spec-list strong {
  letter-spacing: -0.015em;
  line-height: 1.24;
  text-transform: none;
}

.far-side-entry,
.side-item,
.top-links a,
.cat-link,
.cs-file-card__desc,
.cs-portal__lead,
.cs-portal__description,
.cs-portal__muted,
.story-content,
.card-text {
  line-height: 1.55;
}

@media (max-width: 680px) {
  body {
    font-size: 14px;
    line-height: 1.62;
  }

  .top-links a,
  .cat-link,
  .header-search button {
    font-size: 12px;
  }

  .side-title,
  .cs-sidebox__title {
    font-size: 13px;
  }

  .cs-file-card__category,
  .cs-file-card__version,
  .cs-file-card--asset .cs-file-card__category,
  .cs-file-card--asset .cs-file-card__version,
  .cs-portal__tag,
  .cs-portal__eyebrow,
  .cs-full__kicker,
  .far-side-entry__meta {
    font-size: 11px;
  }
}

.cs-showcase {
  --showcase-accent: #59d79f;
  --showcase-accent-soft: rgba(89, 215, 159, 0.22);
  --showcase-accent-strong: #2e855c;
  --showcase-accent-shadow: rgba(89, 215, 159, 0.34);
  background: var(--wrp2);
  border-radius: 28px;
  margin: 0px 0 16px;
  overflow: hidden;
  padding: 0;
  position: relative;
}

.cs-showcase::before {
  background:
    linear-gradient(102deg, #202020 0 54%, rgb(32 32 32) 50% 75%, transparent 75% 100%),
    linear-gradient(deg, rgb(255 92 17), rgb(193 114 36));
  content: "";
  inset: 0;
  opacity: 0.95;
  pointer-events: none;
  position: absolute;
}

.cs-showcase__viewport {
  min-height: 355px;
  position: relative;
}

.cs-showcase__slide {
  align-items: stretch;
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 43%);
  inset: 0;
  opacity: 0;
  padding: 30px 34px 92px;
  pointer-events: none;
  position: absolute;
  transform: translateX(32px) scale(0.985);
  transition: opacity 0.4s ease, transform 0.48s ease;
  z-index: 1;
}

.cs-showcase__slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0) scale(1);
  z-index: 2;
}

.cs-showcase__slide--blue {
  --showcase-accent: #52c2ff;
  --showcase-accent-soft: rgba(82, 194, 255, 0.22);
  --showcase-accent-strong: #246487;
  --showcase-accent-shadow: rgba(82, 194, 255, 0.32);
}

.cs-showcase__slide--amber {
  --showcase-accent: #ffbe56;
  --showcase-accent-soft: rgba(255, 190, 86, 0.2);
  --showcase-accent-strong: #634619;
  --showcase-accent-shadow: rgba(255, 190, 86, 0.3);
}

.cs-showcase__content {
  align-content: center;
  color: #f3f6fb;
  display: grid;
  gap: 16px;
  min-width: 0;
  padding-top: 8px;
  position: relative;
  z-index: 2;
}

.cs-showcase__eyebrow {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 700;
}

.cs-showcase__title {
  color: #fff;
  font-size: 38px;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin: 0;
  max-width: 470px;
}

.cs-showcase__text {
  color: rgba(230, 238, 246, 0.78);
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  max-width: 420px;
}

.cs-showcase__button {
  align-items: center;
  background: linear-gradient(
270deg, var(--showcase-accent), var(--showcase-accent-strong));
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 16px;
  font-weight: 800;
  gap: 12px;
  justify-content: center;
  min-height: 58px;
  margin-top: 50px;
  padding: 0 26px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  width: fit-content;
}

.cs-showcase__button:hover {
  box-shadow: 0 18px 30px var(--showcase-accent-shadow);
  filter: brightness(1.04);
  transform: translateY(-1px);
}

.cs-showcase__button span {
  align-items: center;
  background: rgba(16, 22, 32, 0.22);
  border-radius: 999px;
  display: inline-flex;
  height: 30px;
  justify-content: center;
  width: 30px;
}

.cs-showcase__visual {
  align-items: end;
  display: flex;
  justify-content: flex-end;
  min-height: 0;
  position: relative;
}




.cs-showcase__glow {
  background: radial-gradient(circle, var(--showcase-accent-shadow), transparent 68%);
  filter: blur(10px);
  height: 68%;
  position: absolute;
  right: 16%;
  top: 16%;
  width: 68%;
  z-index: 0;
}

.cs-showcase__image {
  display: block;
  filter: drop-shadow(0 22px 30px rgba(0, 0, 0, 0.32));
  height: 100%;
  max-height: 318px;
  max-width: 100%;
  object-fit: contain;
  position: relative;
  user-select: none;
  width: auto;
  z-index: 2;
}

.cs-showcase__footer {
  align-items: end;
  bottom: 24px;
  display: flex;
  justify-content: space-between;
  left: 34px;
  pointer-events: none;
  position: absolute;
  right: 26px;
  z-index: 4;
}

.cs-showcase__nav,
.cs-showcase__counter {
  pointer-events: auto;
}

.cs-showcase__nav {
  align-items: center;
  display: flex;
  gap: 14px;
}

.cs-showcase__arrow {
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.88);
  cursor: pointer;
  display: inline-flex;
  font-size: 25px;
  height: 38px;
  justify-content: center;
  line-height: 1;
  transition: background 0.2s ease, transform 0.2s ease;
  width: 38px;
}

.cs-showcase__arrow:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}

.cs-showcase__dots {
  align-items: center;
  background: rgba(23, 28, 37, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  display: inline-flex;
  gap: 8px;
  min-height: 38px;
  padding: 0 14px;
}

.cs-showcase__dot {
  background: rgba(255, 255, 255, 0.24);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  height: 8px;
  padding: 0;
  transition: width 0.2s ease, background 0.2s ease, opacity 0.2s ease;
  width: 8px;
}

.cs-showcase__dot.is-active {
  background: var(--showcase-accent);
  box-shadow: 0 0 18px var(--showcase-accent-shadow);
  width: 34px;
}

.cs-showcase__counter {
  --timer-progress: 0deg;
  align-items: center;
  border-radius: 999px;
  color: #f4f7fb;
  display: inline-flex;
  flex-direction: column;
  gap: 1px;
  height: 60px;
  justify-content: center;
  min-width: 60px;
  overflow: hidden;
  padding: 0;
  position: relative;
  width: 60px;
}

.cs-showcase__counter::before,
.cs-showcase__counter::after {
  border-radius: inherit;
  content: "";
  inset: 0;
  position: absolute;
}

.cs-showcase__counter::before {
  background: conic-gradient(var(--showcase-accent) var(--timer-progress), rgba(255, 255, 255, 0.12) 0deg);
}

.cs-showcase__counter::after {
  background: rgba(23, 28, 37, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.08);
  inset: 4px;
}

.cs-showcase__timer-value,
.cs-showcase__timer-label {
  position: relative;
  z-index: 1;
}

.cs-showcase__timer-value {
  font-size: 17px;
  font-variant-numeric: tabular-nums;
  font-weight: 900;
  line-height: 1;
}

@media (max-width: 960px) {
  .cs-showcase {
    border-radius: 24px;
    margin: 16px 0 24px;
  }

  .cs-showcase__viewport {
    min-height: 340px;
  }

  .cs-showcase__slide {
    gap: 16px;
    grid-template-columns: minmax(0, 1fr) 42%;
    padding: 26px 24px 88px;
  }

  .cs-showcase__title {
    font-size: 31px;
  }

  .cs-showcase__text {
    font-size: 15px;
  }

  .cs-showcase__image {
    max-height: 286px;
  }

  .cs-showcase__footer {
    bottom: 20px;
    left: 24px;
    right: 24px;
  }
}

@media (max-width: 760px) {
  .cs-showcase::before {
    background:
      linear-gradient(180deg, rgba(89, 215, 159, 0.18), transparent 32%),
      linear-gradient(135deg, transparent 0 56%, rgba(89, 215, 159, 0.34) 56% 78%, transparent 78% 100%);
  }

  .cs-showcase__viewport {
    min-height: 560px;
  }

  .cs-showcase__slide {
    align-content: start;
    gap: 10px;
    grid-template-columns: 1fr;
    padding: 22px 18px 96px;
  }

  .cs-showcase__content {
    gap: 12px;
    padding-top: 0;
  }

  .cs-showcase__title {
    font-size: 27px;
    max-width: none;
  }

  .cs-showcase__text {
    font-size: 14px;
    max-width: none;
  }

  .cs-showcase__button {
    font-size: 15px;
    min-height: 54px;
    padding: 0 22px;
  }

  .cs-showcase__visual {
    align-items: center;
    justify-content: center;
    min-height: 245px;
    padding-top: 6px;
  }

  .cs-showcase__visual::before {
    inset: 6px 8px 2px;
  }

  .cs-showcase__visual::after {
    height: 76px;
    right: 6px;
    top: 6px;
    width: 68px;
  }

  .cs-showcase__glow {
    height: 84%;
    right: 9%;
    top: 8%;
    width: 82%;
  }

  .cs-showcase__image {
    max-height: 230px;
    width: 100%;
  }

  .cs-showcase__footer {
    align-items: center;
    bottom: 16px;
    gap: 12px;
    left: 18px;
    right: 18px;
  }

  .cs-showcase__nav {
    gap: 10px;
  }

  .cs-showcase__dots {
    padding: 0 10px;
  }

  .cs-showcase__counter {
    height: 52px;
    min-width: 52px;
    width: 52px;
  }
}

@media (max-width: 520px) {
  .cs-showcase {
    border-radius: 20px;
    margin-bottom: 20px;
  }

  .cs-showcase__viewport {
    min-height: 520px;
  }

  .cs-showcase__slide {
    padding: 18px 14px 88px;
  }

  .cs-showcase__eyebrow {
    font-size: 12px;
  }

  .cs-showcase__title {
    font-size: 23px;
  }

  .cs-showcase__button {
    min-height: 50px;
    width: 100%;
  }

  .cs-showcase__footer {
    align-items: stretch;
    flex-direction: column;
    left: 14px;
    right: 14px;
  }

  .cs-showcase__nav {
    justify-content: space-between;
  }

  .cs-showcase__dots {
    flex: 1 1 auto;
    justify-content: center;
  }

  .cs-showcase__counter {
    align-self: flex-end;
  }

  .cs-showcase__timer-value {
    font-size: 15px;
  }
}

.footer > .footer-inner:first-child:not(.footer-inner--stack) {
  display: none;
}

.footer {
  background: var(--wrp2);
  border-top: 1px solid rgb(255 255 255 / 24%);
  color: rgba(233, 239, 244, 0.86);
  margin-top: 18px;
}

.footer-inner.footer-inner--stack {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 24px 0 28px;
}

.footer-top-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  padding-bottom: 14px;
}

.footer-top-links a,
.footer-links a,
.footer-nav a {
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.footer-top-links a {
  align-items: center;
  border-radius: 999px;
  color: #f5f8fb;
  display: inline-flex;
  font-size: 13px;
  font-weight: 700;
  min-height: 40px;
  padding: 0 16px;
}

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

.footer-column {
  background: var(--wrp2);
  padding: 18px 18px 20px;
}

.footer-title {
  color: #ffffff;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 14px;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(233, 239, 244, 0.9);
  font-size: 16px;
  line-height: 1.45;
  padding-bottom: 7px;
}

.footer-top-links a:hover,
.footer-links a:hover,
.footer-nav a:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.28);
}

.footer-bottom {
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  justify-content: space-between;
  padding-top: 18px;
}

.footer-copy {
  font-size: 15px;
  line-height: 1.6;
  max-width: 880px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-nav a {
  color: rgba(233, 239, 244, 0.76);
  font-size: 14px;
}

.back-to-top {
  align-items: center;
  background: linear-gradient(180deg, #4f5560, #353a42);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  box-shadow: 0 18px 36px rgba(15, 18, 24, 0.32);
  color: #ffffff;
  display: inline-flex;
  gap: 10px;
  min-height: 56px;
  padding: 0 18px;
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1200;
}

.back-to-top:hover {
  background: linear-gradient(180deg, #5a616d, #40464f);
  color: #ffffff;
  transform: translateY(-2px);
}

.back-to-top__icon {
  align-items: center;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  display: inline-flex;
  font-size: 18px;
  font-weight: 700;
  height: 30px;
  justify-content: center;
  width: 30px;
}

@media (max-width: 980px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-title {
    font-size: 19px;
  }

  .footer-links a {
    font-size: 15px;
  }

  .back-to-top {
    border-radius: 14px;
    bottom: 16px;
    min-height: 50px;
    padding: 0 14px;
    right: 16px;
  }
}
