:root {
    --bg-primary: #ffffff;
    --bg-secondary: #fafafa;
    --bg-tertiary: #efefef;
    --border: #dbdbdb;
    --text-primary: #262626;
    --text-secondary: #8e8e8e;
    --text-light: #c7c7c7;
    --accent: #0095f6;
    --accent-hover: #0081d6;
    --like: #ed4956;
    --story-gradient: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
}

/* SVG иконки */
.icon {
    width: 24px;
    height: 24px;
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: middle;
}

.icon-home { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z'/%3E%3C/svg%3E"); }
.icon-palette { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 3c-4.97 0-9 4.03-9 9s4.03 9 9 9c.83 0 1.5-.67 1.5-1.5 0-.39-.15-.74-.39-1.01-.23-.26-.38-.61-.38-.99 0-.83.67-1.5 1.5-1.5H16c2.76 0 5-2.24 5-5 0-4.42-4.03-8-9-8zm-5.5 9c-.83 0-1.5-.67-1.5-1.5S5.67 9 6.5 9 8 9.67 8 10.5 7.33 12 6.5 12zm3-4C8.67 8 8 7.33 8 6.5S8.67 5 9.5 5s1.5.67 1.5 1.5S10.33 8 9.5 8zm5 0c-.83 0-1.5-.67-1.5-1.5S13.67 5 14.5 5s1.5.67 1.5 1.5S15.33 8 14.5 8zm3 4c-.83 0-1.5-.67-1.5-1.5S16.67 9 17.5 9s1.5.67 1.5 1.5-.67 1.5-1.5 1.5z'/%3E%3C/svg%3E"); }
.icon-arrow-right { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z'/%3E%3C/svg%3E"); }
.icon-paint-brush { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M7 14c-1.66 0-3 1.34-3 3 0 1.31-1.16 2-2 2 .92 1.22 2.49 2 4 2 2.21 0 4-1.79 4-4 0-1.66-1.34-3-3-3zm13.71-9.37l-1.34-1.34c-.39-.39-1.02-.39-1.41 0L9 12.25 11.75 15l8.96-8.96c.39-.39.39-1.02 0-1.41z'/%3E%3C/svg%3E"); }
.icon-arrow-left { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z'/%3E%3C/svg%3E"); }
.icon-download { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z'/%3E%3C/svg%3E"); }
.icon-check { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E"); }
.icon-eye { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z'/%3E%3C/svg%3E"); }
.icon-user { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z'/%3E%3C/svg%3E"); }
.icon-share { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M18 16.08c-.76 0-1.44.3-1.96.77L8.91 12.7c.05-.23.09-.46.09-.7s-.04-.47-.09-.7l7.05-4.11c.54.5 1.25.81 2.04.81 1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3c0 .24.04.47.09.7L8.04 9.81C7.5 9.31 6.79 9 6 9c-1.66 0-3 1.34-3 3s1.34 3 3 3c.79 0 1.5-.31 2.04-.81l7.12 4.16c-.05.21-.08.43-.08.65 0 1.61 1.31 2.92 2.92 2.92 1.61 0 2.92-1.31 2.92-2.92s-1.31-2.92-2.92-2.92z'/%3E%3C/svg%3E"); }
.icon-bookmark { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M17 3H7c-1.1 0-1.99.9-1.99 2L5 21l7-3 7 3V5c0-1.1-.9-2-2-2z'/%3E%3C/svg%3E"); }
.icon-heart { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M16.5 3c-1.74 0-3.41.81-4.5 2.09C10.91 3.81 9.24 3 7.5 3 4.42 3 2 5.42 2 8.5c0 3.78 3.4 6.86 8.55 11.54L12 21.35l1.45-1.32C18.6 15.36 22 12.28 22 8.5 22 5.42 19.58 3 16.5 3zm-4.4 15.55l-.1.1-.1-.1C7.14 14.24 4 11.39 4 8.5 4 6.5 5.5 5 7.5 5c1.54 0 3.04.99 3.57 2.36h1.87C13.46 5.99 14.96 5 16.5 5c2 0 3.5 1.5 3.5 3.5 0 2.89-3.14 5.74-7.9 10.05z'/%3E%3C/svg%3E"); }
.icon-heart-filled { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ed4956'%3E%3Cpath d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/%3E%3C/svg%3E"); }
.icon-drafting-compass { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E"); }
.icon-draw-polygon { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z'/%3E%3Cpath d='M7 12h2v2H7zM11 10h2v4h-2zM15 12h2v2h-2z'/%3E%3C/svg%3E"); }
.icon-pencil { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z'/%3E%3C/svg%3E"); }
.icon-clipboard { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M19 3h-4.18C14.4 1.84 13.3 1 12 1c-1.3 0-2.4.84-2.82 2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm2 14H7v-2h7v2zm3-4H7v-2h10v2zm0-4H7V7h10v2z'/%3E%3C/svg%3E"); }

/* Дополнительные SVG иконки */
.icon-spinner { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 4V2A10 10 0 0 0 2 12h2a8 8 0 0 1 8-8z'%3E%3CanimateTransform attributeName='transform' type='rotate' from='0 12 12' to='360 12 12' dur='1s' repeatCount='indefinite'/%3E%3C/path%3E%3C/svg%3E"); }
.icon-image { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M21 19V5c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2zM8.5 13.5l2.5 3.01L14.5 12l4.5 6H5l3.5-4.5z'/%3E%3C/svg%3E"); }
.icon-plus { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z'/%3E%3C/svg%3E"); }
.icon-search { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z'/%3E%3C/svg%3E"); }
.icon-filter { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M10 18h4v-2h-4v2zM3 6v2h18V6H3zm3 7h12v-2H6v2z'/%3E%3C/svg%3E"); }
.icon-settings { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58c.18-.14.23-.41.12-.61l-1.92-3.32c-.12-.22-.37-.29-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54c-.04-.24-.24-.41-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58c-.18.14-.23.41-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61l-2.01-1.58zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6z'/%3E%3C/svg%3E"); }
.icon-edit { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z'/%3E%3C/svg%3E"); }
.icon-delete { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z'/%3E%3C/svg%3E"); }
.icon-refresh { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z'/%3E%3C/svg%3E"); }
.icon-close { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z'/%3E%3C/svg%3E"); }
.icon-menu { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z'/%3E%3C/svg%3E"); }
.icon-info { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z'/%3E%3C/svg%3E"); }
.icon-warning { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z'/%3E%3C/svg%3E"); }
.icon-success { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z'/%3E%3C/svg%3E"); }
.icon-error { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z'/%3E%3C/svg%3E"); }

/* Специфичные иконки для рисования */
.icon-brush { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M7 14c-1.66 0-3 1.34-3 3 0 1.31-1.16 2-2 2 .92 1.22 2.49 2 4 2 2.21 0 4-1.79 4-4 0-1.66-1.34-3-3-3zm13.71-9.37l-1.34-1.34c-.39-.39-1.02-.39-1.41 0L9 12.25 11.75 15l8.96-8.96c.39-.39.39-1.02 0-1.41z'/%3E%3C/svg%3E"); }
.icon-art { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z'/%3E%3Ccircle cx='8.5' cy='10.5' r='1.5'/%3E%3Ccircle cx='15.5' cy='10.5' r='1.5'/%3E%3Cpath d='M12 18c2.28 0 4.22-1.66 5-4H7c.78 2.34 2.72 4 5 4z'/%3E%3C/svg%3E"); }
.icon-color { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M17.66 8L12 2.35 6.34 8C4.78 9.56 4 11.64 4 13.64s.78 4.11 2.34 5.67 3.61 2.35 5.66 2.35 4.1-.79 5.66-2.35S20 15.64 20 13.64 19.22 9.56 17.66 8zM6 14c.01-2 .62-3.27 1.76-4.4L12 5.27l4.24 4.38C17.38 10.77 17.99 12 18 14H6z'/%3E%3C/svg%3E"); }
.icon-shape { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M11 13.5v8H3v-8h8zm-2 2H5v4h4v-4zM13 3v8h8V3h-8zm2 2h4v4h-4V5z'/%3E%3C/svg%3E"); }
.icon-layers { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M11.99 18.54l-7.37-5.73L3 14.07l9 7 9-7-1.63-1.27-7.38 5.74zM12 16l7.36-5.73L21 9l-9-7-9 7 1.63 1.27L12 16z'/%3E%3C/svg%3E"); }
.icon-gradient { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M11 9h2v2h-2V9zm-2 2h2v2H9v-2zm4 0h2v2h-2v-2zm2-2h2v2h-2V9zM7 9h2v2H7V9zm12-6H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM9 18H7v-2h2v2zm4 0h-2v-2h2v2zm4 0h-2v-2h2v2zm2-7h-2v2h2v2h-2v-2h-2v2h-2v-2h-2v2H9v-2H7v2H5v-2h2v-2H5V5h14v6z'/%3E%3C/svg%3E"); }
.icon {
    filter: brightness(0) invert(1);
}
/* Иконки размера */
.icon-sm {
    width: 16px;
    height: 16px;
}

.icon-md {
    width: 20px;
    height: 20px;
}

.icon-lg {
    width: 24px;
    height: 24px;
}

.icon-xl {
    width: 32px;
    height: 32px;
}

.icon-xxl {
    width: 48px;
    height: 48px;
}

/* Навигация */
.navbar {
    background: var(--bg-primary) !important;
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
    backdrop-filter: blur(10px);
}

.navbar-brand {
    font-weight: 600;
    font-size: 1.5rem;
    color: var(--text-primary) !important;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    color: var(--text-primary) !important;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Навигация */
.navbar {
    background: var(--bg-primary) !important;
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
    backdrop-filter: blur(10px);
}

.navbar-brand {
    font-weight: 600;
    font-size: 1.5rem;
    color: var(--text-primary) !important;
    text-decoration: none;
}

.nav-link {
    color: var(--text-primary) !important;
    font-weight: 400;
    font-size: 1.2rem;
}

/* Герой секция */
.hero-section {
    padding: 80px 0;
    margin-bottom: 40px;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

/* Сетка категорий */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.category-card {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.category-avatar {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    /*background: var(--story-gradient);*/
}

.category-info {
    padding: 20px;
}

.category-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.category-description {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.5;
}

/* Посты сетка */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    padding: 24px 0;
}

.post-card {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}

.post-image {
    width: 100%;
    padding: 0;
    /* height: 250px; */
    /* background: linear-gradient(45deg, #4facfe 0%, #00f2fe 100%); */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}
.post-image img {
    width: 60%;
}
.category-avatar img {
    width: 60%;
}

.post-meta {
    padding: 16px;
}

.post-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
}

.post-excerpt {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 16px;
    line-height: 1.5;
}

/* Кнопки */
.btn-instagram {
    background: var(--accent);
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    padding: 8px 20px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-instagram:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    color: white;
}

.btn-outline-instagram {
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-primary);
    font-weight: 500;
    padding: 8px 20px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    background: transparent;
}

.btn-outline-instagram:hover {
    background: var(--bg-tertiary);
    border-color: var(--text-secondary);
    color: var(--text-primary);
}

/* Детальная страница */
.detail-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 24px 20px;
}

.detail-card {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
}

.detail-image {
    width: 100%;
    height: 400px;
    background: linear-gradient(45deg, #ff9a9e 0%, #fad0c4 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
}

.detail-content {
    padding: 24px;
}

.detail-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.3;
}

.detail-text {
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.detail-actions {
    display: flex;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

/* Хлебные крошки */
.breadcrumb {
    background: none;
    padding: 20px 0;
    margin-bottom: 0;
}

.breadcrumb-item a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: var(--text-primary);
}

.breadcrumb-item.active {
    color: var(--text-primary);
    font-weight: 500;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--text-light);
}

/* Футер */
.footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border);
    padding: 30px 0;
    margin-top: 60px;
    text-align: center;
    color: var(--text-secondary);
}

/* Анимации */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Адаптивность */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .categories-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .posts-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .detail-image {
        height: 300px;
    }

    .hero-section {
        padding: 60px 0;
    }
}

/* Утилиты */
.text-gradient {
    background: var(--story-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Добавьте эти стили в конец файла app.css */

/* Детальная страница улучшения */
.detail-header {
    background: var(--bg-primary);
    padding: 24px;
    border-bottom: 1px solid var(--border);
}

.detail-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

.detail-text ol, .detail-text ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.detail-text li {
    margin-bottom: 8px;
    padding-left: 8px;
}

.detail-text h3, .detail-text h4 {
    margin: 24px 0 16px 0;
    color: var(--text-primary);
}

.detail-text p {
    margin-bottom: 16px;
}

/* Анимации для детальной страницы */
@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in {
    animation: slideInFromLeft 0.6s ease-out;
}

/* Интерактивные элементы */
.interaction-buttons {
    display: flex;
    gap: 16px;
    margin: 16px 0;
}

.interaction-btn {
    background: none;
    border: none;
    font-size: 1.3rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
}

.interaction-btn:hover {
    background: var(--bg-secondary);
    transform: scale(1.1);
}

.like-btn.active i {
    color: var(--like) !important;
}

/* Адаптивность для детальной страницы */
@media (max-width: 768px) {
    .detail-container {
        padding: 16px 12px;
    }

    .detail-title {
        font-size: 1.5rem;
    }

    .detail-image {
        height: 300px;
    }

    .detail-actions {
        flex-direction: column;
        gap: 12px;
    }

    .detail-actions .btn {
        width: 100%;
        text-align: center;
    }
}

/* Красивые блоки с контентом */
.content-block {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    margin: 16px 0;
}

.content-block h4 {
    color: var(--accent);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Градиенты для разных категорий */
.gradient-art {
    background: linear-gradient(45deg, #667eea 0%, #764ba2 100%) !important;
}

.gradient-nature {
    background: linear-gradient(45deg, #4facfe 0%, #00f2fe 100%) !important;
}

.gradient-food {
    background: linear-gradient(45deg, #ff9a9e 0%, #fad0c4 100%) !important;
}

.gradient-animals {
    background: linear-gradient(45deg, #a8edea 0%, #fed6e3 100%) !important;
}


.post-tags{
    font-size: 0.8em;
}
.post-tags .item{
    display: inline-block;
    padding: 0 10px;
    margin-left: 10px;
    background: #f9f9f9;
    border-radius: 6px;
    font-size: 1em;
}

.post-print{
    font-size: 0.8em;
    cursor: pointer;
    display: inline-block;
    margin-right: 30px;
}
.post-print.paint{
    font-size: 15px;
    font-weight: 600;
    /* margin: 0 auto; */
    width: 100%;
    text-align: center;
}
.post-downloadsvg{
    font-size: 0.8em;
    cursor: pointer;
    display: inline-block;
}
.post-downloadsvg span,.post-print span{
    text-decoration: underline;
}

.post-options{
    margin: 10px 0;
}

.actions{

}
.actions div{
    margin: 0 20px 0 0;
    display: inline-block;
    font-size: 0.85em;
    cursor: pointer;
}
.actions i.icon-heart{
    color: #ec6868;
}
.actions i.icon-ban-circle{
    color: #b5b5b5;
}
.actions i.icon-star-half-empty{
    color: #e6d500;
}
.actions i.icon-star{
    color: #e6d500;
}
.actions span{
    text-decoration: underline;
}

.svg_play{
    position: relative;
    padding: 0% 15% 0;
}
.svg_play_left, .svg_play_right{
    font-size: 5em;
    cursor: pointer;
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    padding: 20px;
    display: none;
}
.svg_play_left{
    left: 5%;
}
.svg_play_right{
    right: 5%;
}
.svg_play_button{
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    padding: 20px;
    left: 50%;
    width: 30%;
    opacity: 0.85;
    -webkit-filter: drop-shadow( 0px 3px 7px rgba(0, 0, 0, .7));
    filter: drop-shadow( 0px 3px 7px rgba(0, 0, 0, .7));
}

.svg_play .hide{
    display: none;
}

.svg_play svg {
    cursor: pointer;
}
#animsvg path {
    fill: none;
    stroke-width: 5px;
    stroke-dasharray: 3000;
    stroke-dashoffset: 3000;
    stroke-linecap: round;
    -webkit-animation: drawIt 8.5s forwards;
    animation: drawIt 8.5s forwards;
}

.svg_play_left_left{
    font-size: 1em;
    cursor: pointer;
    position: absolute;
    top: 70%;
    transform: translateY(-50%);
    padding: 20px;
    left: 0;
    display: none;
}
.svg_play_right_right{
    font-size: 1em;
    cursor: pointer;
    position: absolute;
    top: 70%;
    transform: translateY(-50%);
    padding: 20px;
    right: 0;
    display: none;
}

@-webkit-keyframes drawIt {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes drawIt {
    to {
        stroke-dashoffset: 0;
    }
}

.play_block{
    position: relative;
}
.play_block .pic{
    position: absolute;
    width: 100%;
    padding: 0% 15% 0;
}
.play_block .pic img{
    width: 100%;
}
.svg_play .thissvg{
    opacity: 0.1;
}

@media (min-width: 768px){
    .sidebar-segment .search_field form input{
        width: 150px;
    }
}

.post-single article footer > span.category, .post-list article footer > span.category {
    margin-left: 0;
    /* width: 100%; */
}
.svg-counter{
    margin: 30px 0 0;
    text-align: center;
    font-size: 1.4em;
    display: none;
    position: absolute;
    top: -30px;
    left: 20px;
}

.btn_back{
    position: fixed;
    padding: 4%;
    cursor: pointer;
}

.blayout{
    background-color: #38CCCC;
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 99;
}
.tm-site-header .thissvg{
    z-index: 999;
}

/* grids */
/* desktop */
@media (min-width: 768px){
    .home-posts .home-post {
        margin: 0px 1%;
        width: 22%;
        float: left;
    }
    .post-list article header h1 {
        font-size: 2.5rem;
        line-height: 1.2;
        margin: 0 0 1.2em;
    }
}
/* mobile */
@media (max-width: 768px){
    .svg_play_right {
        right: 0%;
    }
    .svg_play_left {
        left: 0%;
    }
    .home-posts .home-post {
        width: 33%;
        font-size: 0.9em;

    }
    .home-posts .home-post h3{
        font-size: 1.1em;
        font-weight: 700;
        margin: 0;
    }

    .post-single, .post-list, #layout-header, .category-title {
        margin: 0 3% 2%;
    }
    #layout-header {
        font-size: 0.7em;
    }
    #layout-content h1 {
        font-size: 2rem;
    }
    .post-single article header, .post-list article header, .post-single article footer, .post-list article footer {
        padding: 8% 4% 0;
    }
    .svg_play_button {
        width: 40%;
        opacity: 0.75;
    }

    #layout-footer .footer-inner{
        margin: 0;
        padding: 4%;
        font-size: 0.8em;
    }
    .blog_post_breadcrumbs a, .blog_post_breadcrumbs span{
        font-size: 0.9em;
    }
    #layout-content {
        padding:0% 0;
    }
    .post-title p{
        font-size: 0.9em;
    }
}


.poll-items{

}
.poll-items .item{
    background: #f3f3f3;
    width: 100%;
    display: block;
    padding: 10px 0px;
    text-align: center;
    margin-bottom: 15px;
    cursor: pointer;
}
.poll-items .item:last-child{
    margin-bottom: 0px;
}
.poll-items .item.true i{
    color: #28bb2d;
}
.poll-items .item.false i{
    color: #d02626;
}
.poll-items.checked .item{
    opacity: 0.3;
}
.poll-items .item.checked{
    opacity: 1;
}
.poll-items .item i{
    float: right;
    margin-right: 5%;
    margin-top: 7px;
    display: none;
}
.poll-items .item span{
    display: inline-block;
    float: left;
    margin-left: 20px;
}
.poll-items .item b{
    display: inline-block;
    left: -10px;
    position: relative;
}
.btn_next{
    background: #7ad2d2;
    width: 50%;
    display: none;
    padding: 10px 0px;
    text-align: center;
    margin-bottom: 20px;
    cursor: pointer;
    color: white;
    font-weight: bold;
    margin: 0 auto;
    font-size: 1.1em;
}

.helpto{
    font-size: 10px!important;
    margin: 10px 20px 0px;
    text-align: center;
    font-weight: bold;
    text-transform: uppercase;
}

#svg_steps svg.thissvg {
    width: 25%;
}

#svg_steps {
    font-size: 0.5em;
    padding-top: 10px;
}
#svg_steps i{
    position: absolute;
    left: 20px;
}
#svg_steps span{
    position: relative;
}

#svg_steps img{
    width: 25%;
    display: inline-block;
    position: relative;
}

#svg_steps img.totop{
    top: -10em;
}
@media only screen
and (min-device-width : 320px)
and (max-device-width : 568px)  {
    #svg_steps img.totop{
        top: -5em;
    }
}
@media only screen
and (min-device-width : 568px)
and (max-device-width : 769px)  {

    #svg_steps img.totop{
        top: -10em;
    }
}
@media only screen
and (min-device-width : 769px)
and (max-device-width : 1025px)  {

    #svg_steps img.totop{
        top: -7em;
    }
}
@media only screen
and (min-device-width : 1024px)
and (max-device-width : 1920px)  {

    #svg_steps img.totop{
        top: -10em;
    }
}
.site-name {
    font-size: 1.8em;
}

.reddly{
    stroke: #ff7070;
}

/* Базовые стили для иконок */
.icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: middle;
    transition: all 0.2s ease-in-out;
}

/* Иконка стрелки вправо */
.icon.icon-angle-right:before {
    content:'';
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='grey'%3E%3Cpath d='M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z'/%3E%3C/svg%3E");
    width: 50px;
    height: 52px;
    display: block;
    background-size: 66px;
    background-position: -20px;
}

/* Иконка стрелки влево */
.icon.icon-angle-left:before {
    content:'';
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='grey'%3E%3Cpath d='M15.41 16.59L10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z'/%3E%3C/svg%3E");
    width: 50px;
    height: 52px;
    display: block;
    background-size: 66px;
    background-position: -20px;
}

/* Варианты размеров */
.icon.icon-sm {
    width: 16px;
    height: 16px;
}

.icon.icon-md {
    width: 24px;
    height: 24px;
}

.icon.icon-lg {
    width: 32px;
    height: 32px;
}

.icon.icon-xl {
    width: 40px;
    height: 40px;
}

/* Цветовые варианты */
.icon.icon-primary {
    filter: invert(47%) sepia(76%) saturate(2833%) hue-rotate(200deg) brightness(98%) contrast(101%);
}

.icon.icon-white {
    filter: brightness(0) invert(1);
}

.icon.icon-dark {
    filter: brightness(0) invert(0);
}

/* Стили для кнопок с иконками */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    background-color: #007bff;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn:hover {
    background-color: #0056b3;
    transform: translateY(-1px);
}

.btn:active {
    transform: translateY(0);
}

/* Кнопка только с иконкой */
.btn-icon {
    padding: 12px;
    border-radius: 50%;
}

/* Кнопка с иконкой слева */
.btn-with-icon-left {
    flex-direction: row;
}

/* Кнопка с иконкой справа */
.btn-with-icon-right {
    flex-direction: row-reverse;
}

/* Альтернативный вариант с использованием псевдоэлементов */
.btn-arrow::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 8px;
}

.btn-arrow-right::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z'/%3E%3C/svg%3E");
}

.btn-arrow-left::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M15.41 16.59L10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z'/%3E%3C/svg%3E");
}

.play_block .icon{
    filter: none;
}

/* Стили для выпадающего меню */
.navbar-nav .dropdown-menu {
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin-top: 8px;
}

.dropdown-item {
    padding: 8px 16px;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.navbar-toggler {
    border: none;
    padding: 4px 8px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Мобильное меню */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: var(--bg-primary);
        border-top: 1px solid var(--border);
        margin-top: 8px;
        padding: 16px;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }

    .navbar-nav .dropdown-menu {
        border: none;
        box-shadow: none;
        background: var(--bg-secondary);
        margin: 8px 0;
        padding-left: 16px;
    }

    .dropdown-item {
        padding: 8px 12px;
        border-radius: 4px;
    }
}

/* Иконка меню для мобильной версии */
.icon-menu {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23262626'%3E%3Cpath d='M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z'/%3E%3C/svg%3E");
    filter: none!important;
}

/* Стили для блока опций поста */
.post-options {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    margin: 24px 0;
}

.actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--text-primary);
}

.item:hover {
    background: var(--bg-tertiary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.item.active {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

.item .icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.item span {
    font-weight: 500;
    font-size: 0.9rem;
}

/* Специфичные стили для разных типов кнопок */
.item.like:hover {
    background: #ffe6e6;
    border-color: #ffcdd2;
}

.item.notlike:hover {
    background: #fff3e0;
    border-color: #ffccbc;
}

.item.easy:hover {
    background: #e8f5e8;
    border-color: #c8e6c9;
}

.item.hard:hover {
    background: #fff8e1;
    border-color: #ffecb3;
}

/* Кнопки внизу */
.post-print,
.post-downloadsvg {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 12px;
    text-decoration: none;
    color: var(--text-primary);
}

.post-print:hover,
.post-downloadsvg:hover {
    background: var(--bg-secondary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.post-print .icon,
.post-downloadsvg .icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.post-print span,
.post-downloadsvg span {
    font-weight: 500;
}

/* Теги */
.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0;
}

/* Адаптивность */
@media (max-width: 768px) {
    .actions {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .item {
        padding: 10px 12px;
        flex-direction: column;
        text-align: center;
        gap: 6px;
    }

    .item span {
        font-size: 0.8rem;
    }

    .post-options {
        padding: 16px;
    }
}

@media (max-width: 480px) {
    .actions {
        grid-template-columns: 1fr;
    }
}
/* Дополнительные иконки для опций */
.icon-ban-circle { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23262626'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zM4 12c0-4.42 3.58-8 8-8 1.85 0 3.55.63 4.9 1.69L5.69 16.9C4.63 15.55 4 13.85 4 12zm8 8c-1.85 0-3.55-.63-4.9-1.69L18.31 7.1C19.37 8.45 20 10.15 20 12c0 4.42-3.58 8-8 8z'/%3E%3C/svg%3E"); }
.icon-star-half-empty { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23262626'%3E%3Cpath d='M22 9.24l-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03L22 9.24zM12 15.4V6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28L12 15.4z'/%3E%3C/svg%3E"); }
.icon-star { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23262626'%3E%3Cpath d='M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z'/%3E%3C/svg%3E"); }
.icon-print { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23262626'%3E%3Cpath d='M19 8H5c-1.66 0-3 1.34-3 3v6h4v4h12v-4h4v-6c0-1.66-1.34-3-3-3zm-3 11H8v-5h8v5zm3-7c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1zm-1-9H6v4h12V3z'/%3E%3C/svg%3E"); }
.icon-file { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23262626'%3E%3Cpath d='M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm4 18H6V4h7v5h5v11z'/%3E%3C/svg%3E"); }
.post-options .icon {
    filter: none !important;
}

.post-options .item .icon {
    filter: none;
}

.post-options .post-print .icon,
.post-options .post-downloadsvg .icon {
    filter: none;
}
/* Маленькие цветные кнопки */
.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.85rem;
}

.item .icon {
    width: 16px;
    height: 16px;
}

/* Цвета кнопок */
.item.like { color: #dc3545; border-color: #dc3545; }
.item.like:hover { background: #dc3545; color: white; }

.item.notlike { color: #fd7e14; border-color: #fd7e14; }
.item.notlike:hover { background: #fd7e14; color: white; }

.item.easy { color: #198754; border-color: #198754; }
.item.easy:hover { background: #198754; color: white; }

.item.hard { color: #6f42c1; border-color: #6f42c1; }
.item.hard:hover { background: #6f42c1; color: white; }

/* Нижние кнопки */
.post-print,
.post-downloadsvg {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.post-print { color: #0d6efd; border-color: #0d6efd; }
.post-print:hover { background: #0d6efd; color: white; }

.post-downloadsvg { color: #6c757d; border-color: #6c757d; }
.post-downloadsvg:hover { background: #6c757d; color: white; }