    :root {
      --bg-0: #0f0e0d;
      --bg-1: #1a1816;
      --bg-2: #0d0c0b;
      --panel: rgba(30, 30, 30, 0.88);
      --panel-border: rgba(255, 255, 255, 0.1);
      --text: #e5e5e5;
      --text-muted: #a0a0a0;
      --brand-a: #06b6d4;
      --brand-b: #8b5cf6;
      --brand-c: #ec4899;
      --radius-lg: 24px;
      --radius-md: 16px;
    }
    * { margin: 0; padding: 0; box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
      color: var(--text);
      background: linear-gradient(135deg, var(--bg-0) 0%, var(--bg-1) 50%, var(--bg-2) 100%);
      line-height: 1.55;
    }
    body.landing-subpage {
      min-height: 100vh;
      display: flex;
      flex-direction: column;
    }
    body.landing-subpage > main {
      flex: 1 0 auto;
      min-width: 0;
    }
    body.landing-subpage > .footer {
      flex-shrink: 0;
      margin-top: auto;
    }
    .bg {
      position: fixed;
      inset: 0;
      z-index: -1;
      background:
        radial-gradient(circle at 20% 20%, rgba(6, 182, 212, 0.16), transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.16), transparent 40%),
        radial-gradient(circle at 50% 80%, rgba(236, 72, 153, 0.14), transparent 40%);
    }
    .container {
      width: 100%;
      max-width: 1240px;
      margin: 0 auto;
      padding: 0 24px;
    }
    .gradient {
      background: linear-gradient(135deg, var(--brand-a) 0%, var(--brand-b) 50%, var(--brand-c) 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      color: transparent;
    }
    .header {
      position: sticky;
      top: 0;
      z-index: 20;
      border-bottom: 1px solid var(--panel-border);
      background: rgba(20, 20, 20, 0.82);
      backdrop-filter: blur(16px);
    }
    .header-row {
      height: 72px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      position: relative;
    }
    .logo {
      display: inline-flex;
      align-items: center;
      justify-content: flex-start;
      gap: 10px;
      text-decoration: none;
    }
    .logo img {
      width: 42px;
      height: auto;
      display: block;
      filter: drop-shadow(0 4px 14px rgba(6, 182, 212, 0.25));
    }
    .logo-text {
      font-size: 26px;
      font-weight: 800;
      letter-spacing: -0.2px;
      line-height: 1;
    }
    .nav {
      display: flex;
      align-items: center;
      gap: 10px;
      flex-wrap: nowrap;
    }
    .header-actions {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-left: auto;
      min-width: 0;
      order: 2;
    }
    .header-cta-group {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      flex-wrap: wrap;
    }
    .lang-switch {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      padding: 3px;
      border-radius: 999px;
      border: 1px solid rgba(255, 255, 255, 0.15);
      background: rgba(255, 255, 255, 0.05);
      flex-shrink: 0;
      margin-left: 10px;
      order: 3;
    }
    .lang-btn {
      border: 0;
      min-width: 40px;
      height: 28px;
      border-radius: 999px;
      padding: 0 10px;
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.2px;
      color: #d7d7d7;
      background: transparent;
      cursor: pointer;
      transition: 0.2s ease;
    }
    .lang-btn:hover {
      color: #fff;
      background: rgba(255, 255, 255, 0.1);
    }
    .lang-btn.is-active {
      color: #fff;
      background: linear-gradient(135deg, rgba(6, 182, 212, 0.45), rgba(139, 92, 246, 0.45));
    }
    .menu-toggle {
      display: none;
      width: 42px;
      height: 42px;
      border-radius: 10px;
      border: 1px solid rgba(255, 255, 255, 0.16);
      background: rgba(255, 255, 255, 0.06);
      color: #fff;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: 0.2s ease;
      order: 4;
    }
    .menu-toggle:hover {
      border-color: rgba(6, 182, 212, 0.45);
      background: rgba(6, 182, 212, 0.14);
    }
    .menu-toggle i { font-size: 16px; }
    .nav a {
      color: var(--text-muted);
      text-decoration: none;
      font-size: 14px;
      padding: 8px 12px;
      border-radius: 8px;
      transition: 0.2s ease;
    }
    .nav a:hover {
      color: var(--text);
      background: rgba(255, 255, 255, 0.08);
    }
    .hero {
      padding: 76px 0 56px;
    }
    .hero-grid {
      display: grid;
      grid-template-columns: 1.1fr 0.9fr;
      gap: 36px;
      align-items: start;
    }
    .hero h1 {
      font-size: clamp(34px, 5vw, 58px);
      line-height: 1.08;
      margin-bottom: 18px;
      font-weight: 900;
      color: #fff;
    }
    .hero p {
      color: var(--text-muted);
      font-size: 20px;
      max-width: 650px;
    }
    .hero-social {
      margin-top: 22px;
      max-width: min(720px, 100%);
    }
    .hero-social-lead {
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: rgba(198, 210, 230, 0.96);
      margin: 0 0 12px;
    }
    .hero-social-list {
      list-style: none;
      margin: 0;
      padding: 0;
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 6px 10px;
      align-items: stretch;
    }
    .hero-social-list > li {
      margin: 0;
    }
    .hero-social-link {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      padding: 9px 10px;
      height: 100%;
      box-sizing: border-box;
      border-radius: 14px;
      border: 1px solid rgba(255, 255, 255, 0.08);
      background: rgba(255, 255, 255, 0.03);
      text-decoration: none;
      color: var(--text);
      transition: border-color 0.2s ease, background 0.2s ease, opacity 0.2s ease;
    }
    a.hero-social-link:hover {
      border-color: rgba(6, 182, 212, 0.35);
      background: rgba(6, 182, 212, 0.07);
    }
    .hero-social-link--inactive {
      cursor: default;
      opacity: 0.72;
    }
    .hero-social-icon {
      width: 36px;
      height: 36px;
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: rgba(255, 255, 255, 0.06);
      font-size: 17px;
      flex-shrink: 0;
      color: rgba(245, 245, 250, 0.92);
    }
    .hero-social-body {
      min-width: 0;
      flex: 1;
    }
    .hero-social-name {
      display: block;
      font-weight: 600;
      font-size: 14px;
      letter-spacing: -0.01em;
      line-height: 1.3;
      color: #f0f0f5;
    }
    .hero-social-desc {
      display: block;
      font-size: 12px;
      color: var(--text-muted);
      margin-top: 3px;
      line-height: 1.4;
    }
    .hero-social-badge {
      display: inline-block;
      margin-left: 6px;
      font-size: 9px;
      font-weight: 800;
      letter-spacing: 0.08em;
      vertical-align: middle;
      padding: 2px 6px;
      border-radius: 4px;
      background: rgba(236, 72, 153, 0.22);
      border: 1px solid rgba(236, 72, 153, 0.35);
      color: #fbcfe8;
    }
    .hero-social-soon {
      font-weight: 500;
      font-size: 11px;
      color: rgba(150, 150, 165, 0.95);
      margin-left: 4px;
    }
    .hero-social-list--primary {
      gap: 8px 12px;
    }
    .hero-social-list--primary a.hero-social-link {
      position: relative;
      border: none;
      padding: 12px 12px 12px 13px;
      transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.25s ease, transform 0.2s ease;
      background: linear-gradient(
        145deg,
        rgba(6, 182, 212, 0.14) 0%,
        rgba(139, 92, 246, 0.1) 45%,
        rgba(236, 72, 153, 0.08) 100%
      );
      box-shadow:
        0 0 0 1px rgba(6, 182, 212, 0.45),
        0 0 24px rgba(6, 182, 212, 0.12),
        0 8px 28px rgba(0, 0, 0, 0.35);
      overflow: hidden;
      animation: hero-social-tg-glow 3.2s ease-in-out infinite;
    }
    .hero-social-list--primary a.hero-social-link::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 3px;
      background: linear-gradient(90deg, var(--brand-a), var(--brand-b), var(--brand-c));
      opacity: 0.95;
    }
    .hero-social-list--primary a.hero-social-link:hover {
      border-color: transparent;
      background: linear-gradient(
        145deg,
        rgba(6, 182, 212, 0.22) 0%,
        rgba(139, 92, 246, 0.16) 50%,
        rgba(236, 72, 153, 0.12) 100%
      );
      box-shadow:
        0 0 0 1px rgba(6, 182, 212, 0.65),
        0 0 32px rgba(6, 182, 212, 0.22),
        0 12px 36px rgba(139, 92, 246, 0.12);
      transform: translateY(-1px);
    }
    .hero-social-list--primary .hero-social-icon {
      width: 40px;
      height: 40px;
      font-size: 19px;
      background: linear-gradient(145deg, rgba(6, 182, 212, 0.25), rgba(139, 92, 246, 0.2));
      box-shadow: 0 2px 12px rgba(6, 182, 212, 0.2);
      color: #f0fbff;
    }
    .hero-social-list--primary .hero-social-name {
      font-size: 15px;
      font-weight: 700;
      color: #fff;
    }
    .hero-social-list--primary .hero-social-desc {
      color: rgba(210, 220, 235, 0.92);
    }
    @keyframes hero-social-tg-glow {
      0%,
      100% {
        box-shadow:
          0 0 0 1px rgba(6, 182, 212, 0.42),
          0 0 20px rgba(6, 182, 212, 0.1),
          0 8px 28px rgba(0, 0, 0, 0.35);
      }
      50% {
        box-shadow:
          0 0 0 1px rgba(6, 182, 212, 0.58),
          0 0 32px rgba(6, 182, 212, 0.2),
          0 8px 32px rgba(139, 92, 246, 0.14);
      }
    }
    @media (prefers-reduced-motion: reduce) {
      .hero-social-list--primary a.hero-social-link {
        animation: none;
      }
      .hero-social-list--primary a.hero-social-link:hover {
        transform: none;
      }
    }
    .hero-social-details {
      margin-top: 8px;
      border-radius: 14px;
      border: 1px solid rgba(255, 255, 255, 0.1);
      background: rgba(0, 0, 0, 0.2);
      overflow: hidden;
    }
    .hero-social-summary {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      padding: 11px 12px;
      cursor: pointer;
      list-style: none;
      font-size: 13px;
      font-weight: 600;
      color: rgba(180, 180, 195, 0.98);
      user-select: none;
      transition: background 0.2s ease, color 0.2s ease;
    }
    .hero-social-summary::-webkit-details-marker {
      display: none;
    }
    .hero-social-summary:hover {
      color: #e8e8f0;
      background: rgba(255, 255, 255, 0.04);
    }
    .hero-social-details[open] .hero-social-summary {
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    .hero-social-chevron {
      flex-shrink: 0;
      font-size: 11px;
      opacity: 0.75;
      transition: transform 0.2s ease;
    }
    .hero-social-details[open] .hero-social-chevron {
      transform: rotate(180deg);
    }
    .hero-social-list--more {
      padding: 8px 8px 10px;
      margin: 0;
    }
    .hero-actions {
      margin-top: 22px;
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
    }
    .btn {
      border: 0;
      border-radius: 12px;
      padding: 14px 24px;
      font-size: 15px;
      font-weight: 600;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: 0.25s ease;
    }
    .btn-primary {
      color: #fff;
      background: linear-gradient(135deg, var(--brand-a) 0%, var(--brand-b) 55%, var(--brand-c) 100%);
      box-shadow: 0 8px 24px rgba(6, 182, 212, 0.35);
    }
    .btn-primary:hover { transform: translateY(-2px); }
    #headerWebCta {
      padding: 10px 16px;
      font-size: 14px;
      border-radius: 10px;
      white-space: nowrap;
    }
    #headerCta.header-telegram-icon {
      width: 42px;
      height: 42px;
      min-width: 42px;
      padding: 0;
      border-radius: 10px;
      font-size: 21px;
      line-height: 1;
      color: #e8f4ff;
      border-color: rgba(42, 171, 238, 0.45);
      background: rgba(42, 171, 238, 0.12);
    }
    #headerCta.header-telegram-icon:hover {
      background: rgba(42, 171, 238, 0.22);
      border-color: rgba(42, 171, 238, 0.65);
    }
    #headerCta.header-telegram-icon i {
      display: block;
    }
    .btn-secondary {
      color: var(--text);
      border: 1px solid var(--panel-border);
      background: rgba(255, 255, 255, 0.06);
    }
    .btn-secondary:hover { background: rgba(255, 255, 255, 0.1); }
    .chat-preview {
      background: var(--panel);
      border: 1px solid var(--panel-border);
      border-radius: 20px;
      padding: 18px;
      box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    }
    .hero-chat-photo {
      display: none;
      border-radius: 16px;
      overflow: hidden;
      border: 1px solid rgba(255, 255, 255, 0.16);
      background: rgba(255, 255, 255, 0.04);
      box-shadow: 0 14px 32px rgba(0, 0, 0, 0.32);
    }
    .hero-chat-row {
      display: block;
    }
    .hero-chat-photo img {
      width: 100%;
      height: auto;
      display: block;
      object-fit: cover;
    }
    .chat-head {
      display: flex;
      gap: 10px;
      align-items: center;
      padding-bottom: 14px;
      border-bottom: 1px solid var(--panel-border);
      margin-bottom: 14px;
    }
    .avatar {
      width: 44px;
      height: 44px;
      border-radius: 50%;
      display: grid;
      place-items: center;
      font-size: 20px;
      background: linear-gradient(135deg, var(--brand-a), var(--brand-c));
      overflow: hidden;
    }
    .avatar img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }
    .status {
      color: #4caf50;
      font-size: 12px;
    }
    .chat-messages {
      display: grid;
      gap: 10px;
      margin-bottom: 14px;
    }
    .chat-bubble {
      border-radius: 14px;
      padding: 11px 13px;
      font-size: 14px;
      line-height: 1.45;
      max-width: 88%;
      border: 1px solid rgba(255, 255, 255, 0.08);
    }
    .chat-bubble-bot {
      background: rgba(255, 255, 255, 0.08);
      color: #ececec;
      justify-self: start;
    }
    .chat-bubble-user {
      background: linear-gradient(135deg, rgba(6, 182, 212, 0.24), rgba(139, 92, 246, 0.24));
      color: #f4f4f4;
      justify-self: end;
    }
    .chat-input-form {
      display: grid;
      grid-template-columns: 1fr 44px;
      gap: 8px;
      padding-top: 12px;
      border-top: 1px solid var(--panel-border);
    }
    .chat-input-field {
      height: 42px;
      border-radius: 999px;
      border: 1px solid rgba(255, 255, 255, 0.15);
      background: rgba(255, 255, 255, 0.06);
      color: #ededed;
      padding: 0 14px;
      font-size: 14px;
      outline: none;
      transition: 0.2s ease;
    }
    .chat-input-field::placeholder { color: #9f9f9f; }
    .chat-input-field:focus {
      border-color: rgba(6, 182, 212, 0.65);
      box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.12);
    }
    .chat-send-btn {
      width: 44px;
      height: 42px;
      border: 0;
      border-radius: 50%;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      background: linear-gradient(135deg, var(--brand-a) 0%, var(--brand-b) 55%, var(--brand-c) 100%);
      box-shadow: 0 6px 18px rgba(6, 182, 212, 0.3);
      transition: 0.2s ease;
    }
    .chat-send-btn:hover { transform: translateY(-1px); }
    .chat-send-btn svg { width: 17px; height: 17px; }
    .section {
      padding: 72px 0;
      position: relative;
    }
    .section.with-eva-photo .container {
      max-width: 1160px;
      display: grid;
      grid-template-columns: 250px minmax(0, 1fr);
      gap: 26px;
      align-items: start;
    }
    .section.with-eva-photo.photo-right .container {
      grid-template-columns: minmax(0, 1fr) 250px;
    }
    .section-photo {
      border-radius: 18px;
      overflow: hidden;
      border: 1px solid rgba(255, 255, 255, 0.18);
      background: rgba(255, 255, 255, 0.04);
      box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
      transform: rotate(-3deg);
      align-self: start;
      min-height: 340px;
    }
    .section.with-eva-photo.photo-right .section-photo {
      transform: rotate(3deg);
    }
    .section.with-eva-photo.photo-right .section-photo {
      order: 2;
    }
    .section.with-eva-photo.photo-right .section-content {
      order: 1;
    }
    .section-photo img {
      width: 100%;
      height: 100%;
      min-height: 340px;
      object-fit: cover;
      display: block;
    }
    .section-content {
      min-width: 0;
      max-width: none;
    }
    .section.with-eva-photo .section-title,
    .section.with-eva-photo .section-subtitle {
      text-align: left;
      margin-left: 0;
      margin-right: 0;
      max-width: none;
    }
    .section.with-eva-photo .grid-3 {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .section-title {
      text-align: center;
      font-size: clamp(30px, 4vw, 46px);
      margin-bottom: 14px;
      font-weight: 800;
    }
    .section-subtitle {
      text-align: center;
      color: var(--text-muted);
      max-width: 760px;
      margin: 0 auto 38px;
      font-size: 18px;
    }
    .grid-4 {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 18px;
    }
    .grid-3 {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 18px;
    }
    .card {
      background: linear-gradient(135deg, rgba(30, 30, 30, 0.94), rgba(22, 22, 22, 0.98));
      border: 1px solid var(--panel-border);
      border-radius: var(--radius-lg);
      padding: 22px;
      transition: 0.25s ease;
      min-height: 100%;
      position: relative;
      overflow: hidden;
    }
    .card:hover {
      transform: translateY(-4px);
      border-color: rgba(6, 182, 212, 0.4);
      box-shadow: 0 14px 34px rgba(6, 182, 212, 0.17);
    }
    .card .icon {
      position: absolute;
      top: 50%;
      right: 16px;
      transform: translateY(-50%);
      font-size: 130px;
      line-height: 1;
      opacity: 0.06;
      pointer-events: none;
      margin: 0;
      z-index: 0;
      filter: none;
    }
    .card .icon svg {
      width: 1em;
      height: 1em;
      display: block;
    }
    .card h3 {
      font-size: 20px;
      margin-bottom: 8px;
      color: #fff;
      position: relative;
      z-index: 1;
      max-width: 82%;
    }
    .card p {
      color: var(--text-muted);
      font-size: 15px;
      position: relative;
      z-index: 1;
      max-width: 86%;
    }
    /* Живые цветовые акценты только для блоков "Когда стоит написать Еве" и "Возможности Евы" */
    #about .card,
    #features .card {
      border-color: rgba(255, 255, 255, 0.14);
      background: linear-gradient(135deg, rgba(34, 34, 34, 0.96), rgba(20, 20, 20, 0.98));
    }
    #about .card:nth-child(3n + 1),
    #features .card:nth-child(3n + 1) {
      background:
        radial-gradient(circle at 12% 18%, rgba(6, 182, 212, 0.14), transparent 48%),
        linear-gradient(135deg, rgba(34, 34, 34, 0.96), rgba(20, 20, 20, 0.98));
      border-color: rgba(6, 182, 212, 0.28);
    }
    #about .card:nth-child(3n + 2),
    #features .card:nth-child(3n + 2) {
      background:
        radial-gradient(circle at 12% 18%, rgba(139, 92, 246, 0.14), transparent 48%),
        linear-gradient(135deg, rgba(34, 34, 34, 0.96), rgba(20, 20, 20, 0.98));
      border-color: rgba(139, 92, 246, 0.28);
    }
    #about .card:nth-child(3n + 3),
    #features .card:nth-child(3n + 3) {
      background:
        radial-gradient(circle at 12% 18%, rgba(236, 72, 153, 0.14), transparent 48%),
        linear-gradient(135deg, rgba(34, 34, 34, 0.96), rgba(20, 20, 20, 0.98));
      border-color: rgba(236, 72, 153, 0.28);
    }
    #about .card h3,
    #features .card h3 {
      color: #ffffff;
      text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
    }
    #about .card:hover,
    #features .card:hover {
      box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
    }
    .steps {
      max-width: 920px;
      margin: 0 auto;
      display: grid;
      gap: 14px;
    }
    .gallery-shell {
      border: 1px solid var(--panel-border);
      border-radius: var(--radius-lg);
      padding: 14px;
      background: linear-gradient(135deg, rgba(26, 26, 26, 0.95), rgba(17, 17, 17, 0.98));
      position: relative;
      overflow: hidden;
    }
    .gallery-shell::before {
      content: "";
      position: absolute;
      inset: 0;
      pointer-events: none;
      background:
        radial-gradient(circle at 12% 18%, rgba(6, 182, 212, 0.11), transparent 45%),
        radial-gradient(circle at 85% 24%, rgba(139, 92, 246, 0.11), transparent 42%);
    }
    .gallery-track-wrap {
      position: relative;
      z-index: 1;
    }
    .gallery-track {
      display: grid;
      grid-auto-flow: column;
      grid-auto-columns: minmax(220px, 23%);
      gap: 12px;
      overflow-x: auto;
      padding: 6px 2px 8px;
      scroll-snap-type: x mandatory;
      scroll-behavior: smooth;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: thin;
      scrollbar-color: rgba(255, 255, 255, 0.24) transparent;
    }
    .gallery-track::-webkit-scrollbar { height: 8px; }
    .gallery-track::-webkit-scrollbar-thumb {
      background: rgba(255, 255, 255, 0.22);
      border-radius: 999px;
    }
    .gallery-track::-webkit-scrollbar-track { background: transparent; }
    .gallery-item {
      border: 1px solid rgba(255, 255, 255, 0.11);
      border-radius: 16px;
      overflow: hidden;
      background: rgba(255, 255, 255, 0.03);
      padding: 0;
      cursor: pointer;
      position: relative;
      display: none;
      scroll-snap-align: start;
      transition: transform 0.22s ease, border-color 0.22s ease;
      min-height: 320px;
    }
    .gallery-item.is-loaded {
      display: block;
    }
    .gallery-item::after {
      content: "\f00e";
      font-family: "Font Awesome 6 Free";
      font-weight: 900;
      position: absolute;
      right: 10px;
      bottom: 10px;
      width: 34px;
      height: 34px;
      border-radius: 50%;
      background: rgba(0, 0, 0, 0.58);
      color: #fff;
      display: grid;
      place-items: center;
      font-size: 13px;
      opacity: 0;
      transform: translateY(4px);
      transition: 0.2s ease;
    }
    .gallery-item:hover {
      transform: translateY(-3px);
      border-color: rgba(6, 182, 212, 0.36);
    }
    .gallery-item:hover::after {
      opacity: 1;
      transform: translateY(0);
    }
    .gallery-item img {
      width: 100%;
      height: 100%;
      min-height: 320px;
      object-fit: cover;
      display: block;
    }
    .gallery-nav-btn {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      width: 42px;
      height: 42px;
      border-radius: 50%;
      border: 1px solid rgba(255, 255, 255, 0.2);
      background: rgba(14, 14, 14, 0.74);
      color: #fff;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      z-index: 2;
      backdrop-filter: blur(8px);
      transition: 0.2s ease;
    }
    .gallery-nav-btn:hover {
      border-color: rgba(6, 182, 212, 0.45);
      background: rgba(28, 28, 28, 0.9);
    }
    .gallery-nav-prev { left: 6px; }
    .gallery-nav-next { right: 6px; }
    .gallery-tip {
      margin-top: 14px;
      color: var(--text-muted);
      text-align: center;
      font-size: 14px;
      position: relative;
      z-index: 1;
    }
    .gallery-lightbox {
      position: fixed;
      inset: 0;
      background: rgba(5, 5, 6, 0.9);
      backdrop-filter: blur(6px);
      z-index: 100;
      display: none;
      align-items: center;
      justify-content: center;
      padding: 20px;
    }
    .gallery-lightbox.is-open {
      display: flex;
    }
    .gallery-lightbox-img {
      max-width: min(94vw, 1280px);
      max-height: 90vh;
      width: auto;
      height: auto;
      object-fit: contain;
      border-radius: 14px;
      border: 1px solid rgba(255, 255, 255, 0.2);
      box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5);
      background: #0a0a0a;
    }
    .gallery-lightbox-btn {
      position: fixed;
      border: 1px solid rgba(255, 255, 255, 0.22);
      background: rgba(10, 10, 10, 0.74);
      color: #fff;
      width: 44px;
      height: 44px;
      border-radius: 50%;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      backdrop-filter: blur(8px);
      transition: 0.2s ease;
      z-index: 101;
    }
    .gallery-lightbox-btn:hover {
      background: rgba(20, 20, 20, 0.92);
      border-color: rgba(6, 182, 212, 0.45);
    }
    .gallery-lightbox-close {
      top: 14px;
      right: 14px;
      font-size: 18px;
    }
    .gallery-lightbox-prev {
      left: 14px;
      top: 50%;
      transform: translateY(-50%);
    }
    .gallery-lightbox-next {
      right: 14px;
      top: 50%;
      transform: translateY(-50%);
    }
    .step {
      display: grid;
      grid-template-columns: 44px 1fr;
      gap: 14px;
      align-items: start;
      padding: 16px;
      border-radius: var(--radius-md);
      border: 1px solid var(--panel-border);
      background: rgba(255, 255, 255, 0.04);
    }
    .num {
      width: 44px;
      height: 44px;
      border-radius: 50%;
      display: grid;
      place-items: center;
      font-weight: 700;
      color: #fff;
      background: linear-gradient(135deg, var(--brand-a), var(--brand-c));
    }
    .quote {
      font-size: 15px;
      color: #e8e8e8;
      margin-bottom: 12px;
    }
    .author { color: var(--text-muted); font-size: 13px; }
    #reviews .grid-3 {
      gap: 16px;
    }
    #reviews .card {
      min-height: 220px;
      background:
        radial-gradient(circle at 88% 14%, rgba(139, 92, 246, 0.12), transparent 40%),
        linear-gradient(135deg, rgba(34, 34, 34, 0.96), rgba(20, 20, 20, 0.98));
      border-color: rgba(139, 92, 246, 0.2);
    }
    #reviews .card:nth-child(2n) {
      background:
        radial-gradient(circle at 88% 14%, rgba(6, 182, 212, 0.12), transparent 40%),
        linear-gradient(135deg, rgba(34, 34, 34, 0.96), rgba(20, 20, 20, 0.98));
      border-color: rgba(6, 182, 212, 0.2);
    }
    #reviews .card::before {
      content: "\201C";
      position: absolute;
      top: 10px;
      right: 16px;
      color: rgba(255, 255, 255, 0.14);
      font-size: 50px;
      font-weight: 700;
      line-height: 1;
      pointer-events: none;
    }
    #reviews .quote {
      position: relative;
      z-index: 1;
      font-size: 16px;
      line-height: 1.5;
      margin-bottom: 14px;
    }
    #reviews .author {
      position: relative;
      z-index: 1;
      display: inline-block;
      padding: 5px 10px;
      border-radius: 999px;
      border: 1px solid rgba(255, 255, 255, 0.15);
      background: rgba(255, 255, 255, 0.04);
      color: #d7d7d7;
    }
    .faq {
      max-width: 920px;
      margin: 0 auto;
      display: grid;
      gap: 12px;
    }
    .faq-item {
      border: 1px solid var(--panel-border);
      border-radius: 16px;
      background: rgba(255, 255, 255, 0.03);
      padding: 16px;
    }
    .faq-item h4 {
      color: #fff;
      font-size: 18px;
      margin-bottom: 8px;
    }
    .faq-item p { color: var(--text-muted); font-size: 15px; }
    .cta-box {
      max-width: 860px;
      margin: 0 auto;
      text-align: center;
      border: 1px solid var(--panel-border);
      border-radius: 24px;
      padding: 34px 24px;
      background: linear-gradient(135deg, rgba(6, 182, 212, 0.08), rgba(139, 92, 246, 0.08), rgba(236, 72, 153, 0.08));
    }
    .cta-box h3 {
      font-size: clamp(28px, 4vw, 42px);
      margin-bottom: 10px;
      font-weight: 800;
    }
    .cta-box p {
      color: var(--text-muted);
      margin-bottom: 22px;
      font-size: 17px;
    }
    .cta-box p a {
      color: #c4b5fd;
      text-decoration: underline;
      text-underline-offset: 3px;
    }
    .cta-box p a:hover {
      color: #e9d5ff;
    }
    .cta-actions {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 12px;
      flex-wrap: wrap;
    }
    .footer {
      border-top: 1px solid var(--panel-border);
      padding: 30px 0 36px;
      text-align: center;
      color: var(--text-muted);
      font-size: 14px;
    }
    .footer-links {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      flex-wrap: wrap;
      gap: 10px;
      margin-bottom: 10px;
    }
    .footer-links a {
      color: #d7d7d7;
      text-decoration: none;
      padding: 7px 12px;
      border-radius: 999px;
      border: 1px solid rgba(255, 255, 255, 0.14);
      background: rgba(255, 255, 255, 0.04);
      transition: 0.2s ease;
    }
    .footer-links a:hover {
      border-color: rgba(6, 182, 212, 0.45);
      color: #fff;
      background: rgba(6, 182, 212, 0.12);
    }
    .footer-note {
      color: var(--text-muted);
      font-size: 13px;
    }
    @media (max-width: 980px) {
      .container { padding: 0 20px; }
      .header .container { padding: 0 24px; }
      .header-row {
        height: auto;
        min-height: 68px;
        padding: 10px 0;
      }
      .header-actions {
        gap: 8px;
      }
      .nav {
        gap: 6px;
      }
      .nav a {
        font-size: 13px;
        padding: 7px 8px;
      }
      #headerWebCta {
        padding: 9px 10px;
        font-size: 13px;
        border-radius: 9px;
      }
      #headerCta.header-telegram-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
        font-size: 20px;
        border-radius: 9px;
      }
      .hero-grid { grid-template-columns: 1fr; }
      .hero-social-list {
        grid-template-columns: 1fr;
      }
      .hero-chat-row {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 180px;
        gap: 10px;
        align-items: stretch;
      }
      .hero-chat-photo {
        display: block;
        width: 180px;
        max-width: none;
        margin: 0;
        height: 100%;
      }
      .hero-chat-row .chat-preview {
        margin: 0;
      }
      .hero-chat-photo img {
        height: 100%;
      }
      .grid-4 { grid-template-columns: repeat(2, 1fr); }
      .grid-3 { grid-template-columns: 1fr; }
      .gallery-track { grid-auto-columns: minmax(210px, 40%); }
      .section.with-eva-photo .container,
      .section.with-eva-photo.photo-right .container {
        grid-template-columns: 1fr;
        gap: 0;
      }
      .section.with-eva-photo .section-photo {
        display: none;
      }
    }
    @media (max-width: 820px) {
      .container { padding: 0 20px; }
      .header .container { padding: 0 16px; }
      .header-row { height: 68px; padding: 0; flex-direction: row; }
      .menu-toggle { display: inline-flex; }
      .logo { order: 1; }
      .lang-switch { order: 2; }
      .menu-toggle { order: 3; }
      .header-actions {
        display: none;
        position: absolute;
        top: calc(100% + 8px);
        left: 16px;
        right: 16px;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding: 12px;
        border-radius: 14px;
        border: 1px solid var(--panel-border);
        background: rgba(20, 20, 20, 0.95);
        backdrop-filter: blur(12px);
        box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
      }
      .lang-switch {
        width: fit-content;
        margin-left: auto;
        margin-right: 8px;
      }
      .header.menu-open .header-actions { display: flex; }
      .nav {
        width: 100%;
        justify-content: flex-start;
        align-items: stretch;
        flex-direction: column;
        gap: 4px;
      }
      .nav a {
        width: 100%;
      }
      #headerWebCta {
        flex: 1;
        width: auto;
        min-width: 0;
        font-size: 14px;
        padding: 10px 14px;
      }
      #headerCta.header-telegram-icon {
        width: 44px;
        height: 44px;
        min-width: 44px;
        flex-shrink: 0;
        font-size: 22px;
      }
      .header-cta-group {
        width: 100%;
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
      }
    }
    @media (max-width: 680px) {
      .hero { padding-top: 42px; }
      .hero-chat-row {
        display: flex;
        flex-direction: column;
        gap: 10px;
      }
      .hero-chat-photo {
        order: -1;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        height: auto;
      }
      .hero-chat-photo img {
        width: 100%;
        height: auto;
      }
      .hero p { font-size: 17px; }
      .grid-4 { grid-template-columns: 1fr; }
      .section.with-eva-photo .grid-3,
      #reviews .grid-3 {
        grid-template-columns: 1fr;
      }
      .section { padding: 54px 0; }
      .section.with-eva-photo .container,
      .section.with-eva-photo.photo-right .container {
        grid-template-columns: 1fr;
      }
      .gallery-track {
        grid-auto-columns: minmax(220px, 74%);
        gap: 10px;
      }
      .gallery-item.is-loaded,
      .gallery-item.is-loaded img {
        min-height: 280px;
      }
      .gallery-nav-btn {
        width: 38px;
        height: 38px;
      }
      .gallery-lightbox {
        padding: 12px;
      }
      .gallery-lightbox-img {
        max-width: 100%;
        max-height: 84vh;
      }
      .gallery-lightbox-btn {
        width: 40px;
        height: 40px;
      }
      .gallery-lightbox-prev {
        left: 8px;
      }
      .gallery-lightbox-next {
        right: 8px;
      }
      .gallery-lightbox-close {
        right: 8px;
        top: 8px;
      }
    }

    /* Подстраницы: статьи */
    .landing-subpage .nav a.nav-link-active {
      color: var(--brand-a);
      font-weight: 600;
    }
    .articles-page {
      padding: 0 0 64px;
    }
    .articles-page-narrow {
      max-width: 720px;
    }
    .articles-page-hero {
      width: 100%;
      margin: 0 0 36px;
      padding: clamp(32px, 6vw, 56px) 0;
      background:
        linear-gradient(145deg, rgba(6, 182, 212, 0.14) 0%, transparent 42%),
        linear-gradient(215deg, rgba(139, 92, 246, 0.12) 0%, transparent 45%),
        linear-gradient(180deg, rgba(20, 18, 22, 0.92) 0%, rgba(15, 14, 18, 0.96) 100%);
      border-bottom: 1px solid rgba(255, 255, 255, 0.07);
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 24px 48px rgba(0, 0, 0, 0.25);
    }
    .articles-page-main {
      padding-top: 8px;
    }
    .articles-page-title {
      font-size: clamp(2rem, 5.5vw, 2.85rem);
      margin: 0 0 16px;
      font-weight: 800;
      letter-spacing: -0.035em;
      line-height: 1.12;
    }
    .articles-page-seo {
      color: rgba(200, 200, 210, 0.88);
      font-size: 1.05rem;
      line-height: 1.65;
      margin: 0;
      max-width: 58ch;
    }
    .articles-list-loading {
        margin: 0 0 1rem;
        color: rgba(255, 255, 255, 0.55);
        font-size: 0.95rem;
    }

    .articles-card-empty,
    .articles-card-error {
        list-style: none;
        padding: 1rem 1.25rem;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.04);
        border: 1px solid rgba(255, 255, 255, 0.06);
    }

    .articles-card-error {
        color: #fca5a5;
    }

    .articles-list {
      list-style: none;
    }
    .articles-card {
      border: 1px solid var(--panel-border);
      border-radius: var(--radius-md);
      background: var(--panel);
      overflow: hidden;
      transition: border-color 0.2s ease, box-shadow 0.2s ease;
    }
    .articles-card:hover {
      border-color: rgba(6, 182, 212, 0.35);
      box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
    }
    .articles-card-link {
      display: flex;
      flex-direction: column;
      align-items: stretch;
      text-decoration: none;
      color: inherit;
      min-height: 0;
    }
    .articles-card-thumb-wrap {
      flex: 0 0 auto;
      width: 100%;
      height: 300px;
      min-height: 300px;
      max-height: 300px;
      background: rgba(0, 0, 0, 0.28);
    }
    .articles-card-thumb {
      width: 100%;
      height: 100%;
      min-height: 300px;
      object-fit: cover;
      display: block;
    }
    .articles-card-text {
      flex: 1;
      padding: 20px 22px;
      min-width: 0;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }
    .articles-card-title {
      display: block;
      font-size: 1.15rem;
      font-weight: 600;
      margin-bottom: 8px;
      background: linear-gradient(135deg, var(--brand-a) 0%, var(--brand-b) 50%, var(--brand-c) 100%);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
    }
    .articles-card-excerpt {
      display: block;
      color: var(--text-muted);
      font-size: 0.95rem;
      line-height: 1.5;
    }

    .article-single {
      padding: 28px 0 64px;
      max-width: 720px;
      width: 100%;
      margin-left: auto;
      margin-right: auto;
      box-sizing: border-box;
    }
    .article-back-wrap {
      margin-bottom: 20px;
    }
    .article-back {
      color: var(--text-muted);
      text-decoration: none;
      font-size: 0.95rem;
    }
    .article-back:hover {
      color: var(--brand-a);
    }
    .article-body-title {
      font-size: clamp(1.6rem, 4vw, 2rem);
      margin-bottom: 24px;
      font-weight: 700;
    }
    .article-body-content {
      color: var(--text);
      font-size: 1.0625rem;
      line-height: 1.75;
      letter-spacing: 0.01em;
    }
    .article-body-content > *:first-child {
      margin-top: 0;
    }
    .article-body-content h1 {
      font-size: clamp(1.45rem, 3.2vw, 1.75rem);
      font-weight: 700;
      margin: 2rem 0 0.85rem;
      line-height: 1.28;
      letter-spacing: -0.02em;
      color: #f0f0f0;
    }
    .article-body-content h1:first-child {
      margin-top: 0;
    }
    .article-body-content h2 {
      font-size: clamp(1.2rem, 2.4vw, 1.4rem);
      font-weight: 650;
      margin: 1.75rem 0 0.65rem;
      line-height: 1.32;
      letter-spacing: -0.018em;
      color: #ebebeb;
    }
    .article-body-content h2:first-child {
      margin-top: 0;
    }
    .article-body-content h3 {
      font-size: 1.12rem;
      font-weight: 600;
      margin: 1.5rem 0 0.5rem;
      line-height: 1.35;
      color: #e4e4e4;
    }
    .article-body-content p {
      margin: 0 0 1.125rem;
    }
    .article-body-content p:last-child {
      margin-bottom: 0;
    }
    .article-body-content a {
      color: var(--brand-a);
      text-decoration: underline;
      text-decoration-thickness: 1px;
      text-underline-offset: 3px;
      transition: color 0.15s ease;
    }
    .article-body-content a:hover {
      color: #5eead4;
    }
    .article-body-content figure,
    .article-body-content .article-figure {
      margin: 1.65rem 0;
      border-radius: var(--radius-md);
      overflow: hidden;
      background: rgba(0, 0, 0, 0.38);
      border: 1px solid rgba(255, 255, 255, 0.07);
      box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    }
    .article-body-content figure img,
    .article-body-content .article-figure img {
      width: 100%;
      height: auto;
      display: block;
    }
    .article-body-content > img,
    .article-body-content p img {
      max-width: 100%;
      height: auto;
      display: block;
      margin: 1.25rem 0;
      border-radius: var(--radius-md);
      border: 1px solid rgba(255, 255, 255, 0.08);
      box-shadow: 0 8px 28px rgba(0, 0, 0, 0.3);
    }
    .article-body-content figcaption {
      padding: 10px 14px 12px;
      font-size: 0.88rem;
      color: var(--text-muted);
      line-height: 1.45;
      border-top: 1px solid rgba(255, 255, 255, 0.06);
      background: rgba(0, 0, 0, 0.25);
    }
    .article-body-content ul,
    .article-body-content ol {
      margin: 0 0 1.125rem;
      padding-left: 1.35rem;
    }
    .article-body-content li {
      margin-bottom: 0.45rem;
    }
    .article-body-content ul li::marker {
      color: rgba(6, 182, 212, 0.85);
    }
    .article-body-content ol li::marker {
      color: rgba(167, 139, 250, 0.9);
      font-weight: 600;
    }
    .article-body-content blockquote {
      margin: 1.5rem 0;
      padding: 1rem 1.15rem 1rem 1.2rem;
      border-left: 3px solid rgba(6, 182, 212, 0.45);
      background: rgba(255, 255, 255, 0.035);
      border-radius: 0 var(--radius-md) var(--radius-md) 0;
      color: var(--text-muted);
    }
    .article-body-content blockquote p:last-child {
      margin-bottom: 0;
    }
    .article-body-content code {
      font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
      font-size: 0.88em;
      padding: 0.12em 0.38em;
      border-radius: 6px;
      background: rgba(0, 0, 0, 0.5);
      border: 1px solid rgba(255, 255, 255, 0.08);
    }
    .article-body-content pre {
      margin: 1.25rem 0;
      padding: 1rem 1.15rem;
      overflow-x: auto;
      border-radius: var(--radius-md);
      background: rgba(8, 8, 12, 0.85);
      border: 1px solid rgba(255, 255, 255, 0.08);
      font-size: 0.88rem;
      line-height: 1.55;
    }
    .article-body-content pre code {
      padding: 0;
      border: 0;
      background: none;
      font-size: inherit;
    }
    .article-body-content hr {
      margin: 2rem 0;
      border: none;
      height: 1px;
      background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
      );
    }
    .article-body-content strong {
      font-weight: 650;
      color: #f4f4f4;
    }
    .article-body-content em {
      font-style: italic;
      color: #e8e8e8;
    }

    @media (max-width: 640px) {
      .article-body,
      .article-body-content {
        min-width: 0;
      }
      .article-body-content {
        overflow-wrap: anywhere;
        word-wrap: break-word;
      }
      .article-single {
        padding: 16px 0 44px;
      }
      .article-single.container {
        padding-left: max(16px, env(safe-area-inset-left, 0px));
        padding-right: max(16px, env(safe-area-inset-right, 0px));
      }
      .article-back-wrap {
        margin-bottom: 12px;
      }
      .article-back {
        display: inline-block;
        padding: 8px 0;
        min-height: 44px;
        box-sizing: border-box;
      }
      .article-body-title {
        font-size: clamp(1.35rem, 5.5vw, 1.85rem);
        margin-bottom: 16px;
        line-height: 1.22;
      }
      .article-body-content {
        font-size: 1rem;
        line-height: 1.72;
      }
      .article-body-content h1 {
        font-size: clamp(1.2rem, 4.8vw, 1.5rem);
        margin: 1.5rem 0 0.65rem;
      }
      .article-body-content h2 {
        font-size: clamp(1.08rem, 4vw, 1.28rem);
        margin: 1.35rem 0 0.5rem;
      }
      .article-body-content h3 {
        font-size: 1.05rem;
      }
      .article-body-content figure,
      .article-body-content .article-figure {
        margin-left: -16px;
        margin-right: -16px;
        width: calc(100% + 32px);
        max-width: none;
        border-radius: 12px;
      }
      .article-body-content ul,
      .article-body-content ol {
        padding-left: 1.15rem;
      }
      .article-body-content blockquote {
        margin-left: 0;
        margin-right: 0;
        padding: 0.85rem 0.9rem;
        font-size: 0.98rem;
      }
      .article-body-content pre {
        margin-left: 0;
        margin-right: 0;
        padding: 0.85rem 0.9rem;
        font-size: 0.82rem;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
      }
    }

    /* Подстраница: тесты */
    .visually-hidden {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      white-space: nowrap;
      border: 0;
    }
    .tests-page {
      padding-bottom: 48px;
    }
    .tests-page-narrow {
      max-width: 720px;
    }
    .tests-page-wide {
      max-width: 1100px;
    }
    .tests-page-hero {
      padding: 32px 0 24px;
      text-align: center;
    }
    .tests-hero-kicker {
      margin: 0 0 10px;
      font-size: 0.82rem;
      font-weight: 600;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      color: var(--brand-a, #2dd4bf);
    }
    .tests-page-title {
      margin: 0 0 14px;
      font-size: clamp(1.65rem, 4.2vw, 2.35rem);
      font-weight: 700;
      line-height: 1.15;
      max-width: 18em;
      margin-left: auto;
      margin-right: auto;
    }
    .tests-hero-lead {
      margin: 0 auto 12px;
      max-width: 40em;
      font-size: 1.05rem;
      line-height: 1.65;
      color: var(--text, #e5e5e5);
    }
    .tests-page-seo,
    .tests-page-seo-keywords {
      margin: 0 auto 16px;
      max-width: 42em;
      font-size: 0.92rem;
      line-height: 1.55;
      color: var(--text-muted, #a8a8a8);
    }
    .tests-hero-stats {
      list-style: none;
      margin: 0;
      padding: 0;
      display: flex;
      flex-wrap: wrap;
      gap: 20px;
      justify-content: center;
      font-size: 0.9rem;
      color: var(--text-muted, #b0b0b0);
    }
    .tests-hero-stats strong {
      color: #fff;
      font-size: 1.15rem;
      margin-right: 4px;
    }
    .tests-page-note,
    .muted {
      color: var(--text-muted, #a8a8a8);
    }
    .tests-section-heading {
      margin: 0 0 8px;
      font-size: 1.25rem;
      font-weight: 700;
    }
    .tests-section-lead {
      margin: 0 0 16px;
      font-size: 0.92rem;
    }
    .tests-popular-section {
      padding: 8px 0 32px;
    }
    .tests-popular-grid {
      list-style: none;
      margin: 0;
      padding: 0;
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 14px;
    }
    .tests-popular-item {
      min-width: 0;
    }
    .tests-popular-card {
      display: flex;
      flex-direction: column;
      width: 100%;
      height: 100%;
      min-height: 168px;
      box-sizing: border-box;
      padding: 18px 18px 16px;
      border-radius: 16px;
      border: 1px solid rgba(255, 255, 255, 0.1);
      background: rgba(255, 255, 255, 0.04);
      color: inherit;
      font: inherit;
      text-align: left;
      text-decoration: none;
      cursor: pointer;
      appearance: none;
      -webkit-appearance: none;
      transition: border-color 0.15s, background 0.15s, transform 0.15s;
    }
    button.tests-popular-card {
      margin: 0;
    }
    .tests-popular-card:hover {
      border-color: rgba(6, 182, 212, 0.45);
      background: rgba(6, 182, 212, 0.08);
      transform: translateY(-2px);
    }
    .tests-popular-card--soon {
      opacity: 0.88;
    }
    .tests-popular-card-top {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 10px;
      margin-bottom: 14px;
    }
    .tests-popular-icon {
      flex-shrink: 0;
      width: 44px;
      height: 44px;
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: rgba(6, 182, 212, 0.12);
      color: var(--brand-a, #06b6d4);
      font-size: 1.05rem;
    }
    .tests-popular-soon {
      align-self: flex-start;
    }
    .tests-popular-body {
      flex: 1;
      display: flex;
      flex-direction: column;
      gap: 6px;
      min-width: 0;
    }
    .tests-popular-title {
      font-weight: 600;
      font-size: 1.02rem;
      line-height: 1.35;
      color: #fff;
    }
    .tests-popular-desc {
      font-size: 0.86rem;
      line-height: 1.45;
      color: var(--text-muted, #a8a8a8);
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
    .tests-popular-foot {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      margin-top: 14px;
      padding-top: 12px;
      border-top: 1px solid rgba(255, 255, 255, 0.08);
    }
    .tests-popular-meta {
      font-size: 0.8rem;
      color: var(--text-muted, #888);
    }
    .tests-popular-arrow {
      flex-shrink: 0;
      width: 28px;
      height: 28px;
      border-radius: 999px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: rgba(255, 255, 255, 0.06);
      color: var(--brand-a, #06b6d4);
      font-size: 0.75rem;
      transition: background 0.15s;
    }
    .tests-popular-card:hover .tests-popular-arrow {
      background: rgba(6, 182, 212, 0.2);
    }
    .tests-layout {
      display: grid;
      grid-template-columns: 272px 1fr;
      gap: 28px;
      align-items: start;
      padding-bottom: 32px;
    }
    .tests-sidebar {
      position: sticky;
      top: 88px;
    }
    .tests-sidebar-panel {
      padding: 18px;
      border-radius: 16px;
      border: 1px solid rgba(255, 255, 255, 0.1);
      background: rgba(255, 255, 255, 0.04);
    }
    .tests-filter-block + .tests-filter-block {
      margin-top: 18px;
      padding-top: 18px;
      border-top: 1px solid rgba(255, 255, 255, 0.08);
    }
    .tests-filter-label {
      display: block;
      margin-bottom: 10px;
      font-size: 0.72rem;
      font-weight: 600;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      color: var(--text-muted, #888);
    }
    .tests-search-wrap {
      display: block;
      position: relative;
    }
    .tests-search-icon {
      position: absolute;
      left: 14px;
      top: 50%;
      transform: translateY(-50%);
      color: var(--brand-a, #06b6d4);
      font-size: 0.85rem;
      pointer-events: none;
      opacity: 0.85;
    }
    .tests-search-input {
      width: 100%;
      box-sizing: border-box;
      padding: 12px 14px 12px 40px;
      border-radius: 12px;
      border: 1px solid rgba(255, 255, 255, 0.1);
      background: rgba(0, 0, 0, 0.22);
      color: inherit;
      font-size: 0.92rem;
      transition: border-color 0.15s, background 0.15s;
    }
    .tests-search-input::placeholder {
      color: rgba(255, 255, 255, 0.35);
    }
    .tests-search-input:focus {
      outline: none;
      border-color: rgba(6, 182, 212, 0.45);
      background: rgba(6, 182, 212, 0.06);
    }
    .tests-sidebar-nav {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }
    .tests-sidebar-note {
      margin: 16px 0 0;
      padding-top: 14px;
      border-top: 1px solid rgba(255, 255, 255, 0.08);
      font-size: 0.8rem;
      line-height: 1.5;
      color: var(--text-muted, #888);
    }
    .tests-main-head {
      display: flex;
      flex-wrap: wrap;
      align-items: baseline;
      justify-content: space-between;
      gap: 8px;
      margin-bottom: 14px;
    }
    .tests-results-count {
      margin: 0;
      font-size: 0.88rem;
    }
    .tests-categories {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      justify-content: center;
      margin-bottom: 20px;
    }
    .tests-sidebar-nav .tests-cat-btn {
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      text-align: left;
      border-radius: 12px;
      padding: 11px 12px;
      font-size: 0.88rem;
      min-height: 44px;
    }
    .tests-cat-btn {
      border: 1px solid rgba(255, 255, 255, 0.1);
      background: rgba(0, 0, 0, 0.18);
      color: inherit;
      cursor: pointer;
      transition: border-color 0.15s, background 0.15s, transform 0.15s;
    }
    .tests-cat-btn-label {
      flex: 1;
      min-width: 0;
      line-height: 1.35;
    }
    .tests-cat-btn-count {
      flex-shrink: 0;
      min-width: 24px;
      padding: 2px 8px;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.06);
      font-size: 0.75rem;
      font-weight: 600;
      color: var(--text-muted, #aaa);
      text-align: center;
    }
    .tests-cat-btn:hover {
      border-color: rgba(6, 182, 212, 0.35);
      background: rgba(6, 182, 212, 0.06);
    }
    .tests-cat-btn.is-active {
      border-color: rgba(6, 182, 212, 0.45);
      background: rgba(6, 182, 212, 0.1);
    }
    .tests-cat-btn.is-active .tests-cat-btn-count {
      background: rgba(6, 182, 212, 0.18);
      color: var(--brand-a, #06b6d4);
    }
    .tests-grid {
      list-style: none;
      margin: 0;
      padding: 0;
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 14px;
    }
    .tests-grid-item {
      min-width: 0;
    }
    .tests-grid-card {
      display: flex;
      flex-direction: column;
      width: 100%;
      height: 100%;
      min-height: 168px;
      box-sizing: border-box;
      padding: 18px 18px 16px;
      border-radius: 16px;
      border: 1px solid rgba(255, 255, 255, 0.1);
      background: rgba(255, 255, 255, 0.04);
      color: inherit;
      font: inherit;
      text-align: left;
      text-decoration: none;
      cursor: pointer;
      appearance: none;
      -webkit-appearance: none;
      transition: border-color 0.15s, background 0.15s, transform 0.15s;
    }
    button.tests-grid-card {
      margin: 0;
    }
    .tests-grid-card:hover {
      border-color: rgba(6, 182, 212, 0.45);
      background: rgba(6, 182, 212, 0.08);
      transform: translateY(-2px);
    }
    .tests-grid-card--soon {
      opacity: 0.88;
    }
    .tests-grid-card-top {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 10px;
      margin-bottom: 14px;
    }
    .tests-grid-icon {
      flex-shrink: 0;
      width: 44px;
      height: 44px;
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: rgba(6, 182, 212, 0.12);
      color: var(--brand-a, #06b6d4);
      font-size: 1.05rem;
    }
    .tests-grid-soon {
      align-self: flex-start;
    }
    .tests-grid-card-body {
      flex: 1;
      display: flex;
      flex-direction: column;
      gap: 6px;
      min-width: 0;
    }
    .tests-grid-title {
      font-weight: 600;
      font-size: 1.02rem;
      line-height: 1.35;
      color: #fff;
    }
    .tests-grid-desc {
      font-size: 0.86rem;
      line-height: 1.45;
      color: var(--text-muted, #a8a8a8);
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
    .tests-grid-card-foot {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      margin-top: 14px;
      padding-top: 12px;
      border-top: 1px solid rgba(255, 255, 255, 0.08);
    }
    .tests-grid-meta {
      font-size: 0.8rem;
      color: var(--text-muted, #888);
    }
    .tests-grid-arrow {
      flex-shrink: 0;
      width: 28px;
      height: 28px;
      border-radius: 999px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: rgba(255, 255, 255, 0.06);
      color: var(--brand-a, #06b6d4);
      font-size: 0.75rem;
      transition: background 0.15s;
    }
    .tests-grid-card:hover .tests-grid-arrow {
      background: rgba(6, 182, 212, 0.2);
    }
    .btn-sm {
      padding: 8px 14px;
      font-size: 0.85rem;
    }
    .tests-seo-block {
      padding: 36px 0;
      border-top: 1px solid rgba(255, 255, 255, 0.06);
    }
    .tests-seo-columns {
      display: grid;
      gap: 14px;
      margin-bottom: 20px;
      line-height: 1.6;
      color: var(--text-muted, #c0c0c0);
      font-size: 0.95rem;
    }
    .tests-seo-tags {
      list-style: none;
      margin: 0;
      padding: 0;
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }
    .tests-seo-tags li {
      font-size: 0.82rem;
      padding: 6px 12px;
      border-radius: 999px;
      border: 1px solid rgba(255, 255, 255, 0.1);
      background: rgba(255, 255, 255, 0.04);
      color: var(--text-muted, #b8b8b8);
    }
    .tests-faq {
      padding: 8px 0 36px;
    }
    .tests-faq-list {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 14px;
    }
    .tests-faq-item {
      border-radius: 16px;
      border: 1px solid rgba(255, 255, 255, 0.1);
      background: rgba(255, 255, 255, 0.04);
      overflow: hidden;
      transition: border-color 0.15s, background 0.15s;
    }
    .tests-faq-item[open] {
      border-color: rgba(6, 182, 212, 0.35);
      background: rgba(6, 182, 212, 0.06);
    }
    .tests-faq-summary {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 12px;
      cursor: pointer;
      padding: 16px 18px;
      list-style: none;
    }
    .tests-faq-summary::-webkit-details-marker {
      display: none;
    }
    .tests-faq-q {
      flex: 1;
      min-width: 0;
      font-weight: 600;
      font-size: 0.98rem;
      line-height: 1.4;
      color: #fff;
    }
    .tests-faq-toggle {
      flex-shrink: 0;
      width: 28px;
      height: 28px;
      border-radius: 999px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: rgba(255, 255, 255, 0.06);
      color: var(--brand-a, #06b6d4);
      font-size: 0.72rem;
      transition: transform 0.2s, background 0.15s;
    }
    .tests-faq-item[open] .tests-faq-toggle {
      transform: rotate(180deg);
      background: rgba(6, 182, 212, 0.18);
    }
    .tests-faq-answer {
      padding: 0 18px 16px;
    }
    .tests-faq-answer p {
      margin: 0;
      padding-top: 14px;
      border-top: 1px solid rgba(255, 255, 255, 0.08);
      line-height: 1.55;
      color: var(--text-muted, #b0b0b0);
      font-size: 0.9rem;
    }
    .tests-cta-strip {
      padding: 8px 0 40px;
    }
    .tests-cta-card {
      display: flex;
      align-items: center;
      gap: 18px;
      padding: 20px 22px;
      border-radius: 16px;
      border: 1px solid rgba(255, 255, 255, 0.1);
      background: rgba(255, 255, 255, 0.04);
    }
    .tests-cta-icon {
      flex-shrink: 0;
      width: 48px;
      height: 48px;
      border-radius: 14px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: rgba(6, 182, 212, 0.12);
      color: var(--brand-a, #06b6d4);
      font-size: 1.1rem;
    }
    .tests-cta-body {
      flex: 1;
      min-width: 0;
    }
    .tests-cta-title {
      margin: 0;
      font-size: 1.02rem;
      font-weight: 600;
      line-height: 1.45;
      color: #fff;
    }
    .tests-cta-btn {
      flex-shrink: 0;
      white-space: nowrap;
    }
    .tests-detail-meta {
      margin: 0 0 10px;
      font-size: 0.85rem;
    }
    body.tests-modal-open {
      overflow: hidden;
    }
    .tests-modal {
      position: fixed;
      inset: 0;
      z-index: 200;
      display: none;
      align-items: center;
      justify-content: center;
      padding: 20px;
    }
    .tests-modal.is-open {
      display: flex;
    }
    .tests-modal-backdrop {
      position: absolute;
      inset: 0;
      background: rgba(5, 5, 6, 0.82);
      backdrop-filter: blur(6px);
    }
    .tests-modal-panel {
      position: relative;
      z-index: 1;
      width: min(100%, 520px);
      max-height: min(88vh, 640px);
      overflow-y: auto;
      padding: 24px 22px 22px;
      border-radius: 18px;
      border: 1px solid rgba(45, 212, 191, 0.35);
      background: linear-gradient(165deg, rgba(18, 18, 20, 0.98), rgba(10, 12, 14, 0.98));
      box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
    }
    .tests-modal-close {
      position: absolute;
      top: 12px;
      right: 12px;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      border: 1px solid rgba(255, 255, 255, 0.15);
      background: rgba(0, 0, 0, 0.35);
      color: #fff;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 1.1rem;
      transition: border-color 0.15s, background 0.15s;
    }
    .tests-modal-close:hover {
      border-color: rgba(45, 212, 191, 0.5);
      background: rgba(45, 212, 191, 0.12);
    }
    .tests-modal-body {
      padding-right: 28px;
    }
    .tests-modal-icon {
      display: inline-flex;
      width: 48px;
      height: 48px;
      border-radius: 14px;
      align-items: center;
      justify-content: center;
      background: rgba(45, 212, 191, 0.12);
      color: var(--brand-a, #2dd4bf);
      font-size: 1.2rem;
      margin-bottom: 12px;
    }
    .tests-modal-badge {
      display: inline-block;
      margin-bottom: 12px;
    }
    .tests-modal-actions {
      margin-top: 18px;
      padding-top: 16px;
      border-top: 1px solid rgba(255, 255, 255, 0.08);
    }
    .tests-modal-actions .btn {
      width: 100%;
      justify-content: center;
    }
    @media (max-width: 860px) {
      .tests-faq-list {
        grid-template-columns: 1fr;
      }
      .tests-cta-card {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
      }
      .tests-cta-icon {
        align-self: center;
      }
      .tests-cta-btn {
        width: 100%;
        justify-content: center;
      }
      .tests-popular-grid {
        grid-template-columns: repeat(2, 1fr);
      }
      .tests-popular-card {
        min-height: 152px;
      }
      .tests-layout {
        grid-template-columns: 1fr;
      }
      .tests-sidebar {
        position: static;
      }
      .tests-sidebar-panel {
        padding: 16px;
      }
      .tests-sidebar-nav {
        flex-direction: row;
        flex-wrap: wrap;
      }
      .tests-sidebar-nav .tests-cat-btn {
        width: auto;
        min-width: 0;
        flex: 1 1 calc(50% - 4px);
      }
    }
    @media (max-width: 560px) {
      .tests-popular-grid {
        grid-template-columns: 1fr;
      }
      .tests-grid {
        grid-template-columns: 1fr;
      }
    }
    .tests-list-loading {
      text-align: center;
      color: var(--text-muted, #b0b0b0);
      margin-bottom: 12px;
    }
    .tests-list {
      list-style: none;
      margin: 0;
      padding: 0;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
    .tests-card-btn {
      width: 100%;
      display: flex;
      align-items: flex-start;
      gap: 14px;
      text-align: left;
      padding: 14px 16px;
      border-radius: 14px;
      border: 1px solid rgba(255, 255, 255, 0.1);
      background: rgba(0, 0, 0, 0.22);
      color: inherit;
      cursor: pointer;
      transition: border-color 0.15s, background 0.15s;
    }
    .tests-card-btn:hover {
      border-color: rgba(45, 212, 191, 0.35);
      background: rgba(255, 255, 255, 0.05);
    }
    .tests-card-btn.is-selected {
      border-color: rgba(45, 212, 191, 0.55);
      background: rgba(45, 212, 191, 0.08);
    }
    .tests-card-icon {
      flex-shrink: 0;
      width: 40px;
      height: 40px;
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: rgba(255, 255, 255, 0.06);
      color: var(--brand-a, #2dd4bf);
      font-size: 1rem;
    }
    .tests-card-text {
      flex: 1;
      min-width: 0;
      display: flex;
      flex-direction: column;
      gap: 4px;
    }
    .tests-card-title {
      font-weight: 600;
      font-size: 1rem;
      line-height: 1.3;
    }
    .tests-card-desc {
      font-size: 0.88rem;
      line-height: 1.4;
      color: var(--text-muted, #b5b5b5);
    }
    .tests-badge {
      flex-shrink: 0;
      font-size: 0.72rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.04em;
      padding: 4px 8px;
      border-radius: 6px;
      align-self: center;
    }
    .tests-badge--soon {
      background: rgba(255, 255, 255, 0.08);
      color: rgba(255, 255, 255, 0.55);
    }
    .tests-badge--live {
      background: rgba(34, 197, 94, 0.2);
      color: #86efac;
    }
    .tests-card-empty,
    .tests-card-error {
      text-align: center;
      padding: 24px 16px;
      border-radius: 14px;
      border: 1px dashed rgba(255, 255, 255, 0.12);
      color: var(--text-muted, #b0b0b0);
    }
    .tests-card-error {
      border-color: rgba(248, 113, 113, 0.35);
      color: #fca5a5;
    }
    .tests-detail {
      margin-top: 24px;
      padding: 18px 16px;
      border-radius: 14px;
      border: 1px solid rgba(45, 212, 191, 0.25);
      background: rgba(45, 212, 191, 0.06);
    }
    .tests-detail-title {
      margin: 0 0 8px;
      font-size: 1.2rem;
    }
    .tests-detail-desc {
      margin: 0 0 10px;
      line-height: 1.5;
      color: var(--text-muted, #c0c0c0);
    }
    .tests-detail-eva {
      margin: 0 0 14px;
      font-size: 0.9rem;
      line-height: 1.45;
    }
    .tests-detail-soon {
      margin: 0;
      font-size: 0.95rem;
      color: var(--text-muted, #b5b5b5);
    }

    /* Прохождение теста: /test?id=… */
    .test-run-page {
      padding: 24px 0 48px;
      min-height: 50vh;
    }
    .test-run-head {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 12px;
      margin-bottom: 14px;
    }
    .test-run-breadcrumbs {
      margin-bottom: 0;
      flex: 1;
      min-width: 0;
    }
    .test-run-all-tests {
      flex-shrink: 0;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 9px 14px;
      border-radius: 12px;
      border: 1px solid rgba(255, 255, 255, 0.1);
      background: rgba(255, 255, 255, 0.04);
      color: var(--text-muted, #ccc);
      font-size: 0.86rem;
      font-weight: 500;
      text-decoration: none;
      transition: border-color 0.15s, background 0.15s, color 0.15s;
    }
    .test-run-all-tests:hover {
      border-color: rgba(6, 182, 212, 0.35);
      background: rgba(6, 182, 212, 0.08);
      color: #fff;
    }
    .test-run-all-tests i {
      color: var(--brand-a, #06b6d4);
      font-size: 0.82rem;
    }
    .test-run-breadcrumb-list {
      list-style: none;
      margin: 0;
      padding: 0;
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 6px;
      font-size: 0.84rem;
    }
    .test-run-breadcrumb-item {
      display: flex;
      align-items: center;
      gap: 6px;
      min-width: 0;
      color: var(--text-muted, #888);
    }
    .test-run-breadcrumb-item:not(:last-child)::after {
      content: '/';
      color: rgba(255, 255, 255, 0.22);
      pointer-events: none;
    }
    .test-run-breadcrumb-item a {
      color: var(--text-muted, #aaa);
      text-decoration: none;
      transition: color 0.15s;
    }
    .test-run-breadcrumb-item a:hover {
      color: var(--brand-a, #06b6d4);
    }
    .test-run-breadcrumb-item.is-current span {
      color: #fff;
      font-weight: 500;
      display: block;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      max-width: min(100%, 420px);
    }
    .test-run-card {
      padding: 22px 22px 20px;
      border-radius: 16px;
      border: 1px solid rgba(255, 255, 255, 0.1);
      background: rgba(255, 255, 255, 0.04);
    }
    .test-run-card--center {
      text-align: center;
    }
    .test-run-card-top {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 12px;
      margin-bottom: 16px;
    }
    .test-run-icon {
      flex-shrink: 0;
      width: 48px;
      height: 48px;
      border-radius: 14px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: rgba(6, 182, 212, 0.12);
      color: var(--brand-a, #06b6d4);
      font-size: 1.1rem;
    }
    .test-run-meta-pill {
      align-self: flex-start;
      padding: 6px 10px;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.06);
      font-size: 0.78rem;
      line-height: 1.2;
    }
    .test-run-title {
      margin: 0 0 12px;
      font-size: clamp(1.35rem, 3.2vw, 1.85rem);
      font-weight: 700;
      line-height: 1.25;
      color: #fff;
    }
    .test-run-subtitle {
      margin: -4px 0 16px;
      font-size: 0.92rem;
    }
    .test-run-intro {
      margin: 0;
      line-height: 1.6;
      color: var(--text-muted, #c0c0c0);
      font-size: 0.96rem;
    }
    .test-run-card-foot {
      margin-top: 22px;
      padding-top: 18px;
      border-top: 1px solid rgba(255, 255, 255, 0.08);
    }
    .test-run-start {
      width: 100%;
      justify-content: center;
    }
    .test-run-progress-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      margin-bottom: 8px;
    }
    .test-run-step {
      margin: 0;
      font-size: 0.82rem;
      font-weight: 600;
      letter-spacing: 0.04em;
      text-transform: uppercase;
    }
    .test-run-progress-pct {
      font-size: 0.82rem;
    }
    .test-run-progress {
      height: 6px;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.08);
      margin-bottom: 20px;
      overflow: hidden;
    }
    .test-run-progress-bar {
      height: 100%;
      border-radius: 999px;
      background: linear-gradient(90deg, #06b6d4, #5eead4);
      transition: width 0.2s ease;
    }
    .test-run-question-row {
      display: flex;
      flex-wrap: wrap;
      align-items: flex-start;
      justify-content: space-between;
      gap: 0.75rem 1rem;
      margin-bottom: 16px;
    }
    .test-run-question {
      margin: 0;
      font-size: 1.08rem;
      line-height: 1.45;
      font-weight: 600;
      flex: 1 1 12rem;
      color: #fff;
    }
    .test-run-swap {
      flex-shrink: 0;
      white-space: nowrap;
    }
    .test-run-options[disabled] {
      opacity: 0.55;
      pointer-events: none;
    }
    .test-run-options {
      border: none;
      margin: 0 0 12px;
      padding: 0;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
    .test-run-option {
      display: flex;
      align-items: flex-start;
      gap: 12px;
      padding: 14px 16px;
      border-radius: 12px;
      border: 1px solid rgba(255, 255, 255, 0.1);
      background: rgba(0, 0, 0, 0.18);
      cursor: pointer;
      transition: border-color 0.15s, background 0.15s, transform 0.15s;
    }
    .test-run-option:hover {
      border-color: rgba(6, 182, 212, 0.35);
      background: rgba(6, 182, 212, 0.06);
    }
    .test-run-option:has(input:checked) {
      border-color: rgba(6, 182, 212, 0.45);
      background: rgba(6, 182, 212, 0.1);
    }
    .test-run-option input {
      margin-top: 3px;
      flex-shrink: 0;
      accent-color: var(--brand-a, #06b6d4);
    }
    .test-run-option-text {
      line-height: 1.45;
      font-size: 0.94rem;
    }
    .test-run-nav {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      justify-content: space-between;
      margin-top: 18px;
      padding-top: 18px;
      border-top: 1px solid rgba(255, 255, 255, 0.08);
    }
    .test-run-hint {
      margin: 0 0 8px;
      color: #fca5a5;
      font-size: 0.88rem;
    }
    .test-run-loading {
      text-align: center;
      color: var(--text-muted, #b5b5b5);
      padding: 48px 16px;
    }
    .test-run-error {
      color: #fca5a5;
      margin: 0 0 16px;
      line-height: 1.5;
    }
    .test-run-back-btn {
      width: 100%;
      justify-content: center;
    }
    .test-run-analyzing {
      text-align: center;
      padding: 28px 8px 12px;
    }
    .test-run-analyzing-hint {
      margin: 0;
      max-width: 36ch;
      margin-inline: auto;
      line-height: 1.55;
    }
    .test-run-spinner {
      width: 44px;
      height: 44px;
      margin: 0 auto 20px;
      border: 3px solid rgba(255, 255, 255, 0.1);
      border-top-color: var(--brand-a, #06b6d4);
      border-radius: 50%;
      animation: test-run-spin 0.8s linear infinite;
    }
    @keyframes test-run-spin {
      to {
        transform: rotate(360deg);
      }
    }
    .test-run-result {
      margin: 16px 0 20px;
      padding: 18px 16px;
      border-radius: 12px;
      border: 1px solid rgba(255, 255, 255, 0.08);
      background: rgba(0, 0, 0, 0.2);
      line-height: 1.6;
      font-size: 0.96rem;
    }
    .test-run-result h3.test-run-result-h {
      margin: 20px 0 8px;
      font-size: 1.02rem;
      font-weight: 600;
      color: rgba(255, 220, 240, 0.95);
    }
    .test-run-result h3.test-run-result-h:first-child {
      margin-top: 0;
    }
    .test-run-result p {
      margin: 0 0 12px;
    }
    .test-run-result p:last-child {
      margin-bottom: 0;
    }
    .test-run-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      padding-top: 18px;
      border-top: 1px solid rgba(255, 255, 255, 0.08);
    }
    .test-run-actions .btn-primary {
      flex: 1 1 180px;
    }
    @media (max-width: 560px) {
      .test-run-head {
        flex-direction: column;
        align-items: stretch;
      }
      .test-run-all-tests {
        justify-content: center;
      }
      .test-run-card {
        padding: 18px 16px 16px;
      }
      .test-run-nav {
        flex-direction: column;
      }
      .test-run-nav .btn {
        width: 100%;
        justify-content: center;
      }
      .test-run-actions {
        flex-direction: column;
      }
      .test-run-actions .btn {
        width: 100%;
        justify-content: center;
      }
      .test-run-breadcrumb-item.is-current span {
        max-width: 100%;
        white-space: normal;
      }
    }

    /* eva-features.js: временно скрытые разделы */
    html.eva-hide-tests-nav .nav a[href="/tests"],
    html.eva-hide-tests-nav .test-run-breadcrumb-item:first-child,
    html.eva-hide-tests-nav .test-run-all-tests {
      display: none !important;
    }
    html.eva-hide-psychologist a[href*="scenario=psychologist"] {
      display: none !important;
    }
