body { 
    font-family: BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    margin: 0;
    padding: 0;

    background: #FFBF56;
    background: radial-gradient(at right bottom, #FFBF56, #D27546);
 
    min-height: 100vh;
    color: #333;
    transition: margin-left 0.3s ease;
  }

  body.menu-open {
    overflow: hidden;
  }

  /* Мобильное меню */
  .burger-menu {
    display: none;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1002;
    background: rgba(51, 51, 51, 0.95);
    border: none;
    padding: 8px;
    cursor: pointer;
    color: white;
    transition: opacity 0.3s ease;
    transform: translateZ(0);
    will-change: transform;
  }

  .burger-menu.open svg {
    transform: rotate(45deg);
  }

  .burger-menu.open svg path {
    stroke-width: 2;
    stroke: currentColor;
    d: path("M4 4L20 20M20 4L4 20");
  }

  .burger-menu svg {
    width: 24px;
    height: 24px;
    display: block;
    transition: transform 0.3s ease;
  }

  .burger-menu svg path {
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
  }

  .burger-menu.open svg path:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .burger-menu.open svg path:nth-child(2) {
    opacity: 0;
  }

  .burger-menu.open svg path:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .burger-menu:hover {
    opacity: 0.7;
  }

  .menu-wrapper {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 9999999999999999002;
  }

  @media (max-width: 768px) {
    .burger-menu {
      display: block;
      background: rgba(51, 51, 51, 0.9);
      backdrop-filter: blur(10px);
    }
  }

  @keyframes gradientAnimation {
    0% {
      background-position: 0% 50%;
    }
    50% {
      background-position: 100% 50%;
    }
    100% {
      background-position: 0% 50%;
    }
  }
  .wrapper {
    position: relative;
    max-width: 1380px;
    margin: 0 auto;
    padding: 60px 20px 20px;
    box-sizing: border-box;
    margin-left: 200px;
    transition: margin-left 0.3s ease;
  }
  .container {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 2rem;
    width: 100%;
    box-sizing: border-box;
    padding: 1rem;
  }
  .posts {
    max-width: 1040px;
  }  
  .post-wrapper {
    position: relative;
    padding: 4px;
    margin-bottom: 20px;
    border-radius: 0 0.75rem 0.75rem 0.75rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: linear-gradient(to bottom right, hsla(0, 0%, 100%, 0.1), hsla(0, 0%, 100%, 0.1));
  }
  .post-wrapper:hover {
    border: 1px solid rgba(255, 255, 255, 0.5);
    animation: borderOpacity 0.3s ease;
    @keyframes borderOpacity {
      0% { border-opacity: 0.3; }
      100% { border-opacity: 0.5; }
    }
    background: linear-gradient(to bottom right, hsla(58, 83%, 65%, 0.1), hsla(58, 83%, 65%, 0.1));
  }
  .post {
    background: rgba(255, 255, 255, 0.98);
    padding: 20px 40px 80px 70px;
    border-radius: 0 0.75rem 0.75rem 0.75rem;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
    max-width: 100%;
    position: relative;
    min-height: 100px;
    font-size: 1.3rem;
  }
  .post::before {
    content: attr(data-time);
    position: absolute;
    left: 0;
    top: 0;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    background: #333;    
    color: #9a9a9a;
    margin: 0; 
    padding: 15px 5px;
    font-size: 0.6em;
    z-index: 333;
  }
  .post::after {
    content: attr(data-title);
    position: absolute;
    left: 0;
    top: 0;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    background: #333;
    color: white;
    margin: 0;
    padding: 15px 5px;
    height: 110px;
    font-size: 0.6em;
    justify-content: center;
  }

  /* Делаем дату кликабельной только на страницах со списком постов */
  body:has(.filter-wrapper) .post::after {
    cursor: pointer;
    color: #A8E6CF;
    transition: background-color 0.2s ease;
  }

  body:has(.filter-wrapper) .post::before {
    transition: background-color 0.2s ease;
  }

  body:has(.filter-wrapper) .post:hover::after,
  body:has(.filter-wrapper) .post:hover::before {
    background-color: #555;
  }

  .post img {
    max-width: 100%;
    height: auto;
  }
  .post pre {
    max-width: 100%;
    overflow-x: auto;
    white-space: pre-wrap;
    word-wrap: break-word;
  }
  .post code {
    max-width: 100%;
    overflow-x: auto;
    white-space: pre-wrap;
    word-wrap: break-word;
  }

  /* Table styles */
  .post table,
  .static-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    background: white;
  }

  .post table tr:nth-child(even),
  .static-content table tr:nth-child(even) {
    background-color: #f0f0f0; 
  }

  .post th,
  .post td,
  .static-content th,
  .static-content td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
  }

  .post th,
  .static-content th {
    background: #f5f5f5;
    font-weight: 600;
  }

  .post tr:hover,
  .static-content tr:hover {
    background: #f9f9f9;
  }

  .sidebar {
    position: sticky;
    top: 20px;
    background: rgba(255, 255, 255, 0.98);
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    height: fit-content;
  }
  .nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 190px;
    height: 100vh;
    z-index: 999000;
    background: #15191a;
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 2px 0 8px rgba(0,0,0,0.2);

  }
  .nav .site-title a {
    font-weight: bold;
    font-size: 1.2em;
    margin: 10px 0;
    color: #EEE65F;
    text-shadow: 0 0 10px rgba(238, 230, 95, 0.7),
                 0 0 20px rgba(238, 230, 95, 0.5),
                 0 0 30px rgba(238, 230, 95, 0.3);
    white-space: nowrap;
    padding: 0 10px;
  }
  .nav .menu {
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding-top: 30px;    
    width: 100%;
    align-items: center;
    flex: 1;
  }
  .nav a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    padding: 6px 12px;
    transition: all 0.2s ease;
  }
  .nav a:not(.site-title a):hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #EEE65F;
  }
  .nav a.active {
    background-color: rgba(255, 167, 90, 0.2);
    color: white;
  }
  .github-stars {
    position: fixed;
    top: 15px;
    right: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    text-decoration: none;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.9em;
    transition: 0.2s ease;
    background-color: rgba(51, 51, 51, 0.95);
    z-index: 1001;
    transform: translateZ(0);
    will-change: transform;
  }
  .github-stars:hover {
    color: #EEE65F;
  }
  .github-stars svg {
    fill: white;
    width: 16px;
    height: 16px;
  }
  .github-stars .divider {
    width: 1px;
    height: 14px;
    background-color: rgba(255, 255, 255, 0.2);
    margin: 0 8px;
  }
  .recent-post {
    padding: 10px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: all 0.2s ease;
  }
  .recent-post:hover {
    background-color: #f0f8ff;
  }
  .recent-post.active {
    background-color: #f0f8ff;
    border-left: 3px solid #007bff;
    padding-left: 7px;
  }
  .recent-post:last-child {
    border-bottom: none;
  }
  .recent-post-title {
    font-weight: 500;
    margin-bottom: 4px;
  }
  .recent-post-date {
    font-size: 0.9em;
    color: #666;
  }
  @media (max-width: 768px) {
    .wrapper {
      margin-left: 0;
      padding-top: 80px;
    }

    .burger-menu {
      display: block;
      background: rgba(51, 51, 51, 0.9);
      backdrop-filter: blur(10px);
      border-radius: 4px;
    }

    .nav {
      transform: translateX(-100%);
      transition: transform 0.3s ease;
      width: 250px;
    }

    .nav-open {
      transform: translateX(0);
    }

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

    .sidebar {
      position: static;
      margin-bottom: 20px;
    }

    .github-stars {
      top: 20px;
      right: 20px;
      font-size: 0.8em;
      padding: 6px 12px;
    }

    .github-stars span:not(#github-star-count) {
      display: none;
    }

    .post {
      padding: 15px 25px 45px 45px;
    }

    .post::before {
      font-size: 0.7em;
      padding: 10px 3px;
    }

    .nav .site-title {
      margin-top: 50px;
    }

    .nav .site-title a {
      font-size: 1.1em;
    }
  }

  @media (max-width: 480px) {
    .wrapper {
      padding: 70px 10px 10px;
    }

    .post {
      padding: 12px 20px 40px 35px;
    }

    .post::before {
      font-size: 0.6em;
      padding: 8px 2px;
    }

    .github-stars {
      padding: 4px 8px;
    }

    .github-stars .divider {
      margin: 0 4px;
    }
  }

  .archive-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
  }

  .archive-link {
    color: #333;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
  }

  .archive-link:hover {
    background: rgba(0, 0, 0, 0.1);
  }

  .archive-header {
    background: rgba(255, 255, 255, 0.98);
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  }

  .archive-header h1 {
    margin: 0;
    font-size: 1.8em;
    color: #333;
  }

  .archive-nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
  }

  .nav-prev {
    text-align: right;
  }

  .nav-next {
    text-align: left;
  }

  .nav-current {
    font-weight: 500;
    color: #333;
    padding: 0 100px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  }

  .archive-nav a {
    color: #333;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.2s ease;
    font-weight: 500;
    display: inline-block;
  }

  .archive-nav a:hover {
    background: #f0f8ff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  }

  .archive-nav-bottom {
    text-align: center;
    margin: 40px 0;
  }

  .archive-nav-bottom .archive-link {
    display: inline-block;
    padding: 12px 24px;
    font-size: 1.1em;
  }

  .archive-year {
    margin: 20px 0;
    background: rgba(255, 255, 255, 0.8);
    padding: 15px;
    border-radius: 8px;
  }

  .archive-year h4 {
    color: #333;
    margin: 0 0 12px 0;
    font-size: 1.2em;
    font-weight: 500;
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 8px;
  }

  .archive-months {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }

  .archive-month-link {
    color: #333;
    text-decoration: none;
    padding: 3px 6px;
    border-radius: 3px;
    background: rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
    font-size: 0.9em;
    min-width: 24px;
    text-align: center;
  }

  .archive-month-link:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
  }

  .menu-archive {
    width: 60%;
    padding: 0 15px;
    border-left: 2px solid rgba(255, 255, 255, 0.1);
  }

  .menu-archive-year {
    margin: 15px 0;
  }

  .menu-archive-year h4 {
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 8px 0;
    font-size: 1em;
    font-weight: 500;
  }

  .menu-archive-months {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding-left: 1em;
  }

  .menu-archive-month {
    color: rgba(255, 255, 255, 0.6) !important;
    text-decoration: none;
    padding: 2px 4px !important;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.2s ease;
    font-size: 0.85em;
    min-width: 20px;
    text-align: center;
  }

  .menu-archive-month:hover {
    color: white !important;
    background: rgba(255, 255, 255, 0.1) !important;
    transform: translateY(-1px);
  }

  .copyright {
    padding: 30px;
    color: #666;
    font-size: 0.8em;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    margin-top: auto;
  }

  .copyright a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s ease;
  }

  .copyright a:hover {
    color: #888;
  }

  .comments-divider {
    margin: 2rem 0 1rem;
    border: 0;
    border-top: 2px solid rgba(5, 92, 55, 0.13);
    width: 100%;
  }
  .comments-title {
    margin: 1rem 0;
    font-size: 1.5rem;
    font-weight: normal;
  }
  .comments-section {
    margin-top: 2rem;
  }
  .comments-link {
    position: absolute;
    bottom: 0;
    right: 0;
    margin: 0;
    z-index: 2;
  }
  .comments-link a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 43px;
    font-size: 0.9em;
    color: white;
    text-decoration: none;
    background: rgba(51, 51, 51, 0.95);
    border-radius: 8px 0 8px 0;
    transition: all 0.2s ease;
    transform: translateZ(0);
    will-change: transform;
  }
  .comments-link a::before {
    content: "💬";
    font-size: 1.1em;
  }
  .comments-link a:hover {
    background: rgba(51, 51, 51, 0.8);
    color: #EEE65F;
  }

  /* Удаляем ненужные стили для старой панели тегов */
  .scroll-tags {
    display: none; /* Оставляем стиль, но делаем невидимым, чтобы не сломать существующие страницы */
  }
  
  /* Устаревшие стили, которые больше не нужны */
  .scroll-tags a,
  .scroll-tags .up-button,
  .scroll-tags a::after,
  .scroll-tags a:hover,
  .hashtagcolor {
    display: none;
  }
  
  /* Отключаем ненужный отступ контента */
  @media (min-width: 769px) {
    .container {
      padding-right: 1rem !important;
    }
    
    .site-description-wrapper {
      padding-right: 1.2rem;
    }
  }

  .post-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 4px;
    background: rgba(51, 51, 51, 0.05);
    color: #333;
    font-size: 0.9em;
    text-decoration: none;
    transition: all 0.2s ease;
    margin-top: 40px;
    cursor: pointer;
  }

  /* Когда фильтр отсутствует, теги не должны выглядеть кликабельными */
  body:not(:has(.filter-wrapper)) .post-tag {
    cursor: default;
    pointer-events: none;
  }

  .post-tag:hover {
    background: rgba(62, 166, 74, 0.1);
    transform: translateY(-1px);
  }

  .post-tag::before {
    content: "🏷️";
    font-size: 1em;
  }

  .site-description-wrapper {
    margin: 1rem 1.2rem;
    margin-right: 0;
    border-left: 29px solid #333;
    box-sizing: border-box;
    max-width: 1052px;
  }

  .site-description {
    background: rgba(255, 255, 255, 0.98);
    padding: 1.5rem;
    margin: 0;
    font-size: 1.4rem;
    line-height: 1.6;
    color: #555;
    font-weight: 600;
    padding-left: 3rem;    
  }

  @media (max-width: 768px) {
    .site-description {
      padding: 2rem;
      font-size: 1.2rem;
    }
  }

  .static-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    box-sizing: border-box;
  }

  .static-content-wrapper {
    position: relative;
    padding: 4px;
    border-radius: 0.75rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: linear-gradient(to bottom right, hsla(0, 0%, 100%, 0.1), hsla(0, 0%, 100%, 0.1));
  }

  .static-content-wrapper:hover {
    border: 1px solid rgba(255, 255, 255, 0.5);
    animation: borderOpacity 0.3s ease;
    background: linear-gradient(to bottom right, hsla(58, 83%, 65%, 0.1), hsla(58, 83%, 65%, 0.1));
  }

  .static-content {
    background: rgba(255, 255, 255, 0.98);
    padding: 40px;
    border-radius: 0.75rem;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
    backdrop-filter: blur(10px);
    font-size: 1.3rem;
  }

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

  .static-content pre,
  .static-content code {
    max-width: 100%;
    overflow-x: auto;
    white-space: pre-wrap;
    word-wrap: break-word;
  }

  .static-content table {
    border-collapse: collapse;
    width: 100%;
    margin: 1rem 0;
    background: rgba(255, 255, 255, 0.98);
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
  }

  .static-content table tr:nth-child(even) {
    background-color: #f0f0f0; 
  }  

  .static-content th {
    background: rgba(51, 51, 51, 0.05);
    text-align: left;
  }

  .static-content th,
  .static-content td {
    padding: 12px;
    border-bottom: 1px solid #cccccc;
    border-right: 1px solid #e6e6e6;
    white-space: normal;
    word-break: normal;
    overflow-wrap: break-word;
  }

  .static-content td a {
    white-space: nowrap;
    display: inline-block;
  }

  .static-content table code {
    background: rgba(51, 51, 51, 0.05);
    padding: 2px 4px;
    border-radius: 3px;
  }

  .static-content th:last-child,
  .static-content td:last-child {
    border-right: none;
  }

  .static-content tr:last-child td {
    border-bottom: none;
  }

  .static-content tr:hover {
    background: rgba(51, 51, 51, 0.02);
  }

  @media (max-width: 768px) {
    .static-container {
      padding: 0.5rem;
    }
    
    .static-content {
      padding: 20px;
    }
  }

  @media (max-height: 680px) {
    .nav .menu {
      gap: 12px;
      padding-top: 15px;
    }
    
    .menu-archive {
      padding: 0 10px;
    }
    
    .menu-archive-year {
      margin: 8px 0;
    }
  }

  .rss-link {
    display: inline-flex;
    align-items: center;
    margin-left: 6px;
    opacity: 0.6;
    transition: opacity 0.2s;
  }

  .rss-link:hover {
    opacity: 1;
    background-color: transparent !important;
  }

  .menu a.rss-link {
    padding: 0;
    margin-top: 1px;
    position: relative;
    top: 0;
    display: inline-flex;
    float: right;
    background-color: transparent !important;
  }

  /* Стили для фильтра постов */
  .filter-wrapper {
    margin: 0 0 20px 0;
    padding: 15px 5px;
    position: fixed;
    top: -1px;
    left: 306px;
    z-index: 1000;
    width: 550px;
    transition: width 0.3s ease;
    display: flex;
    align-items: flex-start;
    transform: translateZ(0);
    will-change: transform;
  }
  
  /* Контейнер для поля ввода и кнопки очистки */
  .input-container {
    width: 100%; /* Занимает всю доступную ширину */
    max-width: 350px; /* Ограничиваем максимальную ширину */
    position: relative;
    display: flex;
    align-items: center;
  }

  .posts-filter {
    width: 100px;
    padding: 8px 16px;
    padding-right: 26px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 0;
    background: rgba(255, 255, 255, 0.3);
    color: #333;
    font-size: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease, width 0.3s ease;
    line-height: 1.2;
    backdrop-filter: blur(4px);
    transform: translateZ(0);
    will-change: transform;
  }

  .posts-filter:focus, .posts-filter.expanded {
    outline: none;
    border-color: rgba(131, 227, 186, 0.5);
    background: rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    width: 100%; /* Расширяется на всю ширину контейнера */
  }
  
  /* Кнопка поиска в GitHub */
  .github-search-btn {
    display: none;
    padding: 8px 15px;
    margin-left: 8px;
    background: rgba(51, 51, 51, 0.95);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 0;
    cursor: pointer;
    font-size: 16px;
    white-space: nowrap;
    transition: all 0.2s ease;
    opacity: 0;
    transform: translateX(-10px);
    flex-shrink: 0;
    height: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    line-height: 1.2;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateZ(0);
    will-change: transform;
  }
  
  .github-search-btn.visible {
    display: flex; /* Используем flex вместо inline-flex */
    opacity: 1;
    transform: translateX(0);
  }
  
  .github-search-btn:hover {
    background: #555;
    border-color: rgba(131, 227, 186, 0.5);
  }
  
  .github-search-btn:focus {
    outline: none;
    border-color: rgba(131, 227, 186, 0.5);
  }
  
  .github-search-btn svg {
    width: 16px;
    height: 16px;
    margin-right: 6px;
    fill: currentColor;
  }
  
  /* Кнопка очистки фильтра */
  .clear-filter {
    position: absolute;
    right: 3px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(51, 51, 51, 0.5);
    font-size: 14px;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    display: none; /* Скрыта по умолчанию */
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
  }
  
  .clear-filter:hover {
    color: rgba(51, 51, 51, 0.9);
    background-color: rgba(242, 24, 24, 0.5);
  }
  
  .clear-filter:focus {
    outline: none;
  }

  @media (max-width: 768px) {
    .posts-filter {
      font-size: 14px;
      padding: 6px 12px;
      padding-right: 25px;
      width: 120px; /* Меньшая начальная ширина для мобильных */
    }
    
    .filter-wrapper {
      padding: 10px 5px;
      left: 81px;
      top: 9px;
      z-index: 1000;
      width: 400px; /* Увеличиваем ширину для мобильных */
    }
    
    .input-container {
      max-width: 250px; /* Меньшая максимальная ширина для мобильных */
    }
    
    .clear-filter {
      right: 2px;
      font-size: 12px;
    }
    
    .posts-filter:focus, .posts-filter.expanded {
      width: 100%; /* Расширяется на всю ширину контейнера */
    }
    
    .github-search-btn {
      padding: 6px 12px;
      font-size: 14px;
      left: 260px; /* Позиция для мобильных */
      height: 100%; /* Высота как у поля ввода */
      border-width: 2px;
      display: flex; /* Всегда flex для выравнивания содержимого */
      align-items: center; /* Центрируем содержимое по вертикали */
    }
    
    .github-search-btn svg {
      width: 14px;
      height: 14px;
      margin-right: 4px;
    }
  }

  /* Подсветка найденного текста */
  .highlight-search {
    background-color: #FFEB3B;
    padding: 0 2px;
    font-weight: bold;
    box-shadow: none;
    border-radius: 0;
  }

  /* Стили для панели тегов-подсказок */
  .tags-suggestions {
    margin-top: 8px;
    width: 140%;
    max-width: 600px;
    text-align: center;
    display: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    position: absolute;
    z-index: 10;
    border-radius: 0;
    padding: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(210, 117, 70, 0.2);
    top: calc(100% - 10px);
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: rgba(255, 255, 255, 0.95);
  }
  
  /* Класс для отображения панели */
  .tags-suggestions.visible {
    display: block;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }

  .suggestions-label {
    font-size: 14px;
    color: #555;
    margin-bottom: 12px;
    display: inline-block;
    font-weight: 500;
  }

  .tag-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 5px;
  }

  .tag-chip {
    background: rgba(255, 255, 255, 0.5);
    color: #444;
    padding: 6px 12px;
    border-radius: 0;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(210, 117, 70, 0.2);
  }

  .tag-chip::before {
    content: "#";
    opacity: 0.5;
    margin-right: 2px;
  }

  .tag-chip:hover {
    background: rgba(255, 191, 86, 0.15);
    transform: none;
    box-shadow: none;
  }

  @media (max-width: 768px) {
    .tag-chips {
      gap: 6px;
    }
    
    .tag-chip {
      padding: 4px 10px;
      font-size: 12px;
    }
  }

  /* Стили для мобильных устройств */
  @media (max-width: 768px) {
    .post table:has(tr td:nth-child(3)),
    .static-content table:has(tr td:nth-child(3)) {
      & td:first-child,
      & th:first-child {
        width: 20%;
      }

      & td:nth-child(2),
      & th:nth-child(2) {
        width: 60%;
      }

      & td:last-child,
      & th:last-child {
        width: 20%;
      }
    }

    .post table:not(:has(tr td:nth-child(3))),
    .static-content table:not(:has(tr td:nth-child(3))) {
      & td:first-child,
      & th:first-child {
        width: 35%;
      }

      & td:last-child,
      & th:last-child {
        width: 65%;
      }
    }
  }
