    /* =====================================================
       КАРУСЕЛЬ
    ===================================================== */
    /* =====================================================
       БЕЙДЖ
    ===================================================== */
    .post-badge {
      display: inline-flex; align-items: center;
      padding: 4px 12px; border-radius: 20px;
      font-size: 11px; font-weight: 600; letter-spacing: .3px;
      border: 1px solid transparent; backdrop-filter: blur(6px);
    }
    .badge-1 { background: rgba(255,107,107,.2); border-color: rgba(255,107,107,.4); color: #ff8080; }
    .badge-2 { background: rgba(75,105,255,.2);  border-color: rgba(75,105,255,.4);  color: #7a9bff; }
    .badge-3 { background: rgba(255,215,0,.2);   border-color: rgba(255,215,0,.4);   color: #FFD700; }

    /* =====================================================
       ДЕТАЛЬНАЯ СТРАНИЦА СТАТЬИ
    ===================================================== */
    .article-wrap {
      margin: 0 auto;
      padding: 36px 24px 64px;
    }

    /* Заголовочная секция */
    .article-header { margin-bottom: 28px; }

    .article-header .post-badge { margin-bottom: 16px; }

    .article-title {
      font-size: 32px; font-weight: 800;
      color: #fff; line-height: 1.25;
      margin-bottom: 20px;
      letter-spacing: -.3px;
    }

    .article-meta {
      display: flex; align-items: center;
      gap: 16px; flex-wrap: wrap;
      color: #687894; font-size: 13px;
    }
    .article-meta-item { display: flex; align-items: center; gap: 6px; }
    .article-meta-item img { width: 15px; height: 15px; opacity: .7; }

    .article-meta-divider { width: 3px; height: 3px; border-radius: 50%; background: #3a3a55; }

    .article-meta-author {
      display: flex; align-items: center; gap: 8px;
    }
    .article-meta-author-avatar {
      width: 28px; height: 28px; border-radius: 50%;
      background: linear-gradient(135deg,#975DF8,#4b69ff);
      display: flex; align-items: center; justify-content: center;
      font-size: 11px; font-weight: 700; color: #fff; flex-shrink: 0;
    }
    .article-meta-author-name { color: #cccccc; font-weight: 600; }

    .article-meta-badge {
      display: inline-flex; align-items: center;
      padding: 2px 10px;
      border: 1px solid rgba(255,255,255,.2);
      border-radius: 20px;
      font-size: 12px; font-weight: 600;
      color: #cccccc;
      background: rgba(255,255,255,.05);
      white-space: nowrap;
    }

    /* Обложка статьи */
    .article-cover {
      width: 100%; height: 440px;
      border-radius: 16px; overflow: hidden;
      position: relative; margin-bottom: 40px;
    }
    .article-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
    .article-cover-overlay {
      position: absolute; inset: 0;
      background: linear-gradient(180deg, transparent 55%, rgba(10,10,25,.7) 100%);
    }

    /* Прогресс-бар чтения */
    .reading-progress {
      position: fixed; top: 0; left: 0;
      height: 3px; background: linear-gradient(90deg, #CD8200, #FFE371);
      z-index: 2000; transition: width .1s linear;
      width: 0%;
    }

    /* Тело статьи */
    .article-body {
      font-size: 16px; line-height: 1.8;
      color: #c0c0d8;
    }

    .article-body h2 {
      font-size: 22px; font-weight: 700;
      color: #fff; margin: 40px 0 16px;
      padding-bottom: 10px;
      border-bottom: 1px solid #1f1f35;
      position: relative;
    }
    .article-body h2::before {
      content: '';
      position: absolute; left: 0; bottom: -1px;
      width: 48px; height: 2px;
      background: linear-gradient(90deg, #CD8200, #FFE371);
    }

    .article-body h3 {
      font-size: 17px; font-weight: 700;
      color: #e0e0f0; margin: 28px 0 12px;
    }

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

    .article-body a { color: #CD8200; text-decoration: none; border-bottom: 1px solid rgba(205,130,0,.3); transition: color .2s, border-color .2s; }
    .article-body a:hover { color: #FFE371; border-bottom-color: #CD8200; }

    .article-body ul, .article-body ol { margin: 0 0 18px 0; padding-left: 0; list-style: none; }
    .article-body ul li, .article-body ol li {
      position: relative; padding-left: 24px; margin-bottom: 8px; color: #c0c0d8;
    }
    .article-body ul li::before {
      content: '';
      position: absolute; left: 0; top: 10px;
      width: 6px; height: 6px; border-radius: 50%;
      background: linear-gradient(135deg, #CD8200, #FFE371);
    }
    .article-body ol { counter-reset: li; }
    .article-body ol li { counter-increment: li; }
    .article-body ol li::before {
      content: counter(li);
      position: absolute; left: 0; top: 0;
      font-size: 12px; font-weight: 700;
      color: #CD8200; line-height: 1.8;
    }

    /* Блок-цитата */
    .article-body blockquote {
      margin: 32px 0;
      padding: 20px 24px;
      background: linear-gradient(135deg, rgba(205,130,0,.08), rgba(255,227,113,.04));
      border-left: 3px solid #CD8200;
      border-radius: 0 12px 12px 0;
      font-size: 17px; font-style: italic;
      color: #d0c8f0; line-height: 1.7;
      position: relative;
    }
    .article-body blockquote::before {
      content: '"';
      position: absolute; top: -8px; left: 16px;
      font-size: 64px; line-height: 1; color: rgba(205,130,0,.25);
      font-style: normal; font-weight: 700;
    }

    /* Изображение внутри статьи */
    .article-img-block {
      margin: 32px -24px;
      position: relative; overflow: hidden;
      border-radius: 12px;
    }
    .article-img-block img {
      width: 100%; display: block;
      object-fit: cover; max-height: 400px;
    }
    .article-img-caption {
      text-align: center; font-size: 12px;
      color: #4a5468; margin-top: 8px;
      font-style: italic;
    }

    /* Карточка-подсказка */
    .tip-card {
      background: linear-gradient(135deg, rgba(205,130,0,.08), rgba(255,227,113,.03));
      border: 1px solid rgba(205,130,0,.25);
      border-radius: 12px;
      padding: 20px 24px;
      margin: 28px 0;
      display: flex; gap: 16px;
    }
    .tip-card-icon {
      width: 36px; height: 36px; flex-shrink: 0;
      background: rgba(205,130,0,.15); border-radius: 10px;
      display: flex; align-items: center; justify-content: center;
    }
    .tip-card-icon svg { width: 18px; height: 18px; fill: #CD8200; }
    .tip-card-body { flex: 1; }
    .tip-card-title { font-size: 13px; font-weight: 700; color: #CD8200; margin-bottom: 6px; text-transform: uppercase; letter-spacing: .5px; }
    .tip-card-text  { font-size: 14px; color: #c8b870; line-height: 1.65; }

    /* Таблица настроек */
    .settings-table {
      width: 100%; border-collapse: collapse;
      margin: 24px 0; font-size: 14px;
    }
    .settings-table th {
      background: rgba(205,130,0,.12);
      color: #FFE371; font-weight: 700;
      padding: 10px 16px; text-align: left;
      border-bottom: 1px solid #2a2a40;
    }
    .settings-table th:first-child { border-radius: 8px 0 0 0; }
    .settings-table th:last-child  { border-radius: 0 8px 0 0; }
    .settings-table td {
      padding: 10px 16px; color: #c0c0d8;
      border-bottom: 1px solid rgba(255,255,255,.04);
    }
    .settings-table tr:hover td { background: rgba(255,255,255,.02); }
    .settings-table .tag-val {
      display: inline-block;
      background: rgba(75,105,255,.15);
      color: #7a9bff; font-weight: 600; font-size: 12px;
      padding: 2px 10px; border-radius: 6px;
    }

    /* Разделитель секций */
    .article-divider {
      height: 1px;
      background: linear-gradient(90deg, transparent, rgba(151,93,248,.3), transparent);
      margin: 40px 0;
    }

    /* Теги */
    .article-tags {
      display: flex; align-items: center;
      gap: 8px; flex-wrap: wrap;
      margin: 40px 0 32px;
    }
    .article-tags-label {
      font-size: 12px; color: #687894;
      font-weight: 600; text-transform: uppercase;
      letter-spacing: .5px; margin-right: 4px;
    }
    .tag-pill {
      padding: 5px 14px; border-radius: 20px;
      font-size: 12px; font-weight: 600; cursor: pointer;
      border: 1px solid #2a2a40; color: #8888aa;
      background: transparent; transition: all .2s; font-family: inherit;
    }
    .tag-pill:hover { border-color: #975DF8; color: #b088f9; background: rgba(151,93,248,.08); }

    /* Поделиться */
    .article-share {
      display: flex; align-items: center;
      gap: 12px; flex-wrap: wrap;
      padding: 20px 24px;
      background: linear-gradient(180deg,#1a1a2e,#15152a);
      border: 1px solid #2a2a40; border-radius: 12px;
      margin-bottom: 48px;
    }
    .article-share-label { font-size: 13px; color: #687894; font-weight: 600; flex: 1; min-width: 80px; }
    .share-btn {
      display: flex; align-items: center; gap: 7px;
      padding: 8px 16px; border-radius: 8px;
      font-size: 12px; font-weight: 600; cursor: pointer;
      border: 1px solid #2a2a40; background: rgba(255,255,255,.03);
      color: #8888aa; transition: all .2s; font-family: inherit;
    }
    .share-btn:hover { border-color: #3a3a5a; color: #fff; background: rgba(255,255,255,.07); }
    .share-btn svg { width: 15px; height: 15px; fill: currentColor; }
    .share-btn.tg:hover { border-color: rgba(0,136,204,.5); color: #0088cc; background: rgba(0,136,204,.08); }
    .share-btn.vk:hover { border-color: rgba(0,119,255,.5); color: #4a90ff; background: rgba(0,119,255,.08); }
    .share-btn.copy { position: relative; }
    .share-btn.copy:hover { border-color: rgba(255,215,0,.4); color: #FFD700; background: rgba(255,215,0,.06); }

    /* Автор-блок */
    .author-card {
      display: flex; gap: 20px; align-items: flex-start;
      padding: 24px 28px;
      background: linear-gradient(135deg, rgba(151,93,248,.07), rgba(75,105,255,.04));
      border: 1px solid rgba(151,93,248,.2);
      border-radius: 16px; margin-bottom: 48px;
    }
    .author-avatar {
      width: 56px; height: 56px; flex-shrink: 0;
      border-radius: 50%;
      background: linear-gradient(135deg,#975DF8,#4b69ff);
      display: flex; align-items: center; justify-content: center;
      font-size: 20px; font-weight: 800; color: #fff;
    }
    .author-info { flex: 1; }
    .author-name  { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 4px; }
    .author-role  { font-size: 12px; color: #975DF8; font-weight: 600; margin-bottom: 10px; }
    .author-bio   { font-size: 13px; color: #8888aa; line-height: 1.6; }

    /* Похожие статьи */
    .related-section { margin-bottom: 8px; }
    .related-title {
      font-size: 18px; font-weight: 700; color: #fff;
      margin-bottom: 20px;
      display: flex; align-items: center; gap: 10px;
    }
    .related-title::after {
      content: ''; flex: 1; height: 1px;
      background: linear-gradient(90deg,rgba(151,93,248,.3),transparent);
    }
    .related-grid {
      display: grid; grid-template-columns: repeat(3, 1fr);
      gap: 20px;
    }
    .related-card {
      background: linear-gradient(180deg,#1a1a2e,#15152a);
      border: 1px solid #2a2a40; border-radius: 0;
      overflow: hidden; cursor: pointer;
      transition: transform .3s, box-shadow .3s, border-color .3s;
      position: relative;
      animation: fadeUp .5s ease both;
    }
    .related-card:nth-child(1) { animation-delay: 0s; }
    .related-card:nth-child(2) { animation-delay: .08s; }
    .related-card:nth-child(3) { animation-delay: .16s; }
    @keyframes fadeUp { from { opacity:0; transform:translateY(18px); } to { opacity:1; transform:translateY(0); } }
    .related-card:hover { transform: translateY(-5px); border-color: #3a3a5a; }
    .related-card.ac-red:hover,
    .related-card.ac-blue:hover,
    .related-card.ac-yellow:hover { box-shadow: 0 12px 32px rgba(205,130,0,.2); }
    .related-card::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; }
    .related-card.ac-red::after,
    .related-card.ac-blue::after,
    .related-card.ac-yellow::after { background: linear-gradient(90deg, #CD8200, #FFE371); }
    .related-img-wrap { width: 100%; height: 160px; overflow: hidden; position: relative; }
    .related-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
    .related-card:hover .related-img-wrap img { transform: scale(1.07); }
    .related-img-overlay { position: absolute; inset: 0; background: linear-gradient(180deg,transparent 50%,rgba(10,10,25,.5) 100%); opacity: 0; transition: opacity .3s; }
    .related-card:hover .related-img-overlay { opacity: 1; }
    .related-body { padding: 14px 16px 18px; }
    .related-body .post-badge { margin-bottom: 8px; }
    .related-body .post-badge { display: inline-flex; }
    .related-title-text { font-size: 14px; font-weight: 700; color: #fff; line-height: 1.4; margin-bottom: 12px; transition: color .2s; }
    .related-card:hover .related-title-text { color: #d0c0ff; }
    .related-divider { height: 1px; background: rgba(255,255,255,.06); margin-bottom: 10px; }
    .related-meta { display: flex; align-items: center; gap: 10px; color: #687894; font-size: 11px; }
    .related-meta-item { display: flex; align-items: center; gap: 4px; }
    .related-meta .post-meta-dot { width: 2px; height: 2px; border-radius: 50%; background: #3a3a55; }

/* =====================================================
       RESPONSIVE
    ===================================================== */
    @media (max-width: 768px) {
      .article-wrap     { padding: 20px 16px 40px; }
      .article-title    { font-size: 22px; }
      .article-cover    { height: 240px; border-radius: 10px; }
      .article-img-block{ margin: 24px 0; }
      .related-grid     { grid-template-columns: 1fr; }
      .author-card      { flex-direction: column; gap: 14px; }
      .article-share    { gap: 8px; }
    }
    @media (max-width: 600px) {
      .related-grid     { grid-template-columns: repeat(2,1fr); }
      .article-body     { font-size: 15px; }
    }
    @media (max-width: 420px) {
      .related-grid     { grid-template-columns: 1fr; }
    }
