body {
    color: white;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-image: image-set(
    url("logo/fon_84024346.avif") type("image/avif"),
    url("logo/fon_84024346.webp") type("image/webp"),
    url("logo/fon_84024346.jpg") type("image/jpeg")
    );
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: rgb(51, 51, 51);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

header button {
    margin-left: 10px;
    padding: 8px 16px;
    width: auto;
    height: auto;
    position: relative;
    color: #fff;
    outline: none;
    background-color: transparent;
    transition: 1s;
    border: 3px ridge rgb(151, 193, 241);
    border-radius: 0.4em;
    cursor: pointer;
    font-weight: bold;
    font-size: 0.9rem;
}

header button::after {
    content: '';
    position: absolute;
    top: -10px;
    left: 3%;
    width: 95%;
    height: 40%;
    background: rgb(51, 51, 51);
    transition: 0.5s;
    transform-origin: center;
}

header button::before {
    content: '';
    position: absolute;
    top: 80%;
    left: 3%;
    width: 95%;
    height: 40%;
    background: rgb(51, 51, 51);
    transition: 0.5s;
    transform-origin: center;
}

header button:hover::before,
header button:hover::after {
    transform: scale(0);
}

header button:hover {
    box-shadow: inset 0 0 25px rgb(151, 193, 241);
}
/* контейнер меню */
.menu-wrapper {position: relative;}
/* выпадающее меню */
.menu-dropdown {
    position: absolute;
    z-index: 9999;
    top: 120%;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: rgb(51, 51, 51);
    padding: 10px;
    border-radius: 0 0 10px 10px;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: all 0.3s ease;
}
/* активное состояние */
.menu-dropdown.active {opacity: 1; transform: translateY(0); pointer-events: all;}
/* кнопки внутри меню */
.menu-dropdown button {width: 190px; text-align: center;}
.messeng {
  display: inline-flex;
    font-weight: bold;
    align-items: center;
}
.icon-menu {
  height: 38px;
  width: 38px;
  border-radius: 8px;
}
.name {display: inline-flex; gap: 0rem; align-items: center;}
.name .h-1, .h-2{margin: 0; line-height: 1; white-space: nowrap; text-decoration: none; font-weight: bold;}
.name .h-1 {font-size: 2rem; color: rgb(151, 193, 241);}
.name .h-2 {font-size: 2rem; color: rgb(218, 135, 11);}

.container {
    background-color: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(5px);
    width: min(1000px, calc(100% - 32px));
    padding: 1.5rem;
    margin: 30px auto;
    border-radius: 25px;
    box-shadow: 0 20px 35px rgba(0, 0, 1, 0.9);
    border: 2px solid black;
    box-sizing: border-box;
}
body::-webkit-scrollbar {width: 11px;}
body::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, rgb(151, 193, 241), rgb(218, 135, 11));
    border-radius: 10px;
}
body::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.4);
}
#modName {
    color: white;
    position: relative;
    width: max-content;
    max-width: 100%;
    word-break: break-word;
}

#modName::after {
    content: '';
    background: linear-gradient(to left, #d968d1, #6d007b);
    height: 8px;
    width: 100%;
    position: absolute;
    bottom: -5px;
    left: 0;
    border-radius: 20px;
}

.authorLine {
    gap: 8px;
    color: white;
    background: linear-gradient(to right, #d968d1, #6d007b);
    justify-content: center;
    border-radius: 40px;
    box-shadow: 0 0 1rem rgba(0, 0, 0, 0.9);
    align-items: center;
    padding: 0.45rem 0.8rem;
    display: inline-flex;
    width: max-content;
    max-width: 100%;
    flex-wrap: wrap;
}

.author-avatar,
.comment-author-avatar,
.meta-avatar,
.comment-avatar {
    border-radius: 50%;
    object-fit: cover;
    background: linear-gradient(to bottom, rgba(151, 193, 241, 0.85), rgba(218, 135, 11, 0.85));
    /*border: 2px solid rgba(255, 255, 255, 0.85);*/
    flex-shrink: 0;
}

.author-avatar {width: 44px; height: 44px;}

.gallery {
    text-align: center;
    margin-top: 20px;
}

.stats {
    gap: 15px;
    color: #444;
    margin-bottom: 5px;
    justify-content: center;
}

.stats span {
    background: rgba(0, 0, 0, 0.2);
    padding: 3px 8px;
    border-radius: 10px;
}

#mainScreenshot {
    box-shadow: 0 15px 25px rgba(0, 0, 1, 0.9);
    border: 2px ridge black;
    width: min(600px, 100%);
    min-height: 260px;
    object-fit: cover;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

#thumbs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: wrap;
}

#thumbs img {
    box-shadow: 0 10px 15px rgba(0, 0, 1, 0.9);
    border: 2px ridge black;
    width: 120px;
    height: 84px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 5px;
}

.downloadBox {
    text-align: center;
    margin: 15px 0;
}

.downloadBox button {
    padding: 1rem;
    font-size: 1rem;
    color: black;
    background-color: rgb(151, 193, 241);
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.downloadBox button:hover {
    background-color: rgb(218, 135, 11);
    transform: scale(1.05);
}

.downloads {
    margin-top: 10px;
    color: black;
    font-weight: bold;
    font-size: 1.1rem;
}

.social {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    flex-flow: wrap;
    gap: 1rem;
    list-style: none;
    padding: 0;
}

.social li {
    position: relative;
    flex-basis: 4.5rem;
}

.social li::after {
    position: absolute;
    content: attr(data-tooltip);
    inset: -45% auto auto 50%;
    z-index: -1;
    translate: -50%;
    padding: 0.25rem 0.75rem;
    font-size: 0.875rem;
    color: #fff;
    background: var(--bg, #070707);
    border-radius: 0.25rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: inset 0.4s cubic-bezier(0.47, 2, 0.41, 1.5), visibility 0.3s ease-in-out, opacity 0.2s ease-in-out;
}

.social li:has(a:hover, a:focus-visible)::after {
    opacity: 1;
    visibility: visible;
    inset-block-start: -60%;
}

.social a {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    aspect-ratio: 1;
    font-size: 2.3rem;
    color: #070707;
    border: 1px solid;
    border-radius: 50%;
    text-decoration: none;
    outline: none;
    overflow: hidden;
    transition: color 0.3s ease-in-out;
}

.social a > i {
    position: relative;
    z-index: 1;
}

.boosty-icon {
    position: relative;
    z-index: 1;
    font-weight: 800;
    font-family: Arial, sans-serif;
    line-height: 1;
    text-transform: uppercase;
}

.social a::after {
    position: absolute;
    content: "";
    inset: 100% 0 0;
    background: var(--bg, #070707);
    pointer-events: none;
    transition: inset 0.3s ease-in-out;
}

.social a:hover,
.social a:focus-visible {
    color: #fff;
}

.social a:hover::after,
.social a:focus-visible::after {
    inset-block-start: 0;
}

.report-section {
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.report-note {
    --angle: 0deg;
    color: #111;
    background:rgba(255, 255, 255, 0.45);
    border: 3px solid transparent;
    border-radius: 16px;
    padding: 10px 14px;
    line-height: 1.45;
    min-width: 100px;
    max-width: 650px;
    position: relative;
}

.report-note:hover {
    animation: glowing-border 4s linear infinite;
}

.report-note::after {
    content: "";
    position: absolute;
    inset: -8px;
    z-index: -1;
    border-radius: 22px;
    background: conic-gradient(from var(--angle), transparent 40%, #9c0502, red, #9c0502);
    filter: blur(14px);
    /*opacity: 0;*/
    transition: opacity 0.3s;
}

.report-note:hover::after {
    opacity: 0.9;
    animation: glowing-border 4s linear infinite;
}

@property --angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

@keyframes glowing-border {
    from {
        --angle: 0deg;
    }
    to {
        --angle: 360deg;
    }
}

.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 16px;
    box-sizing: border-box;
}

.modal-box {
    background: #1e1e1e;
    padding: 25px;
    border-radius: 12px;
    width: min(440px, 100%);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-sizing: border-box;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.closeModal {
    cursor: pointer;
    font-size: 1.3rem;
    color: #aaa;
    transition: color 0.3s ease, transform 0.3s ease;
}

.closeModal:hover {
    color: red;
    transform: scale(1.05);
}

.modal-box input,
.modal-box textarea,
.comment-form input,
.comment-form textarea {
    padding: 10px 12px;
    border-radius: 12px;
    border: none;
    box-sizing: border-box;
    font-size: 1rem;
}

.modal-box textarea,
.comment-form textarea {
    width: 100%;
    min-height: 110px;
    resize: vertical;
}

.modal-box button {
    margin-top: 10px;
    padding: 10px;
    background: #9c0502;
    border: none;
    color: white;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.modal-box button:hover {
    background-color: red;
    transform: scale(1.05);
}

.report-type-info {
    color: #f6ddb1;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 10px 12px;
    line-height: 1.45;
}

.modal-box select {
    font-size: 1.1rem;
    padding: 10px 12px;
    border-radius: 15px;
    border: none;
    box-sizing: border-box;
    font-size: 1rem;
    overflow: hidden;
    border: 2px solid rgba(151, 193, 241, 0.3);
    background: rgba(151, 193, 241, 0.3);
    box-shadow: 0 0 1rem rgba(151, 193, 241, 0.5);
    appearance: base-select;
    transition: background-color 0.4s ease, border 0.4s ease, box-shadow 0.4s ease;
}

select:hover {
    background: #800200;
    border-color: red;
    box-shadow: 0 0 30px rgba(128, 2, 0, 1);
}

select::picker(select) {
    appearance: base-select;
    border-radius: 15px;
    font-size: 1.1rem;
    translate: -60px;
    margin-top: 10px;
    overflow: hidden;
    width: auto;
    color: white;
    border: 2px solid rgba(151, 193, 241, 0.3);
    background: #1e1e1e;
    box-shadow: 0 0 1rem rgba(151, 193, 241, 0.5);
    transition: border 0.4s ease,  box-shadow 0.4s ease;
}

select::picker(select):hover {
    border-color: red;
    box-shadow: 0 0 30px rgba(128, 2, 0, 1);
}

select::picker-icon {
    align-content: center;
    transition: 150ms ease;
}

select:open::picker-icon {
    rotate: 180deg;
}

select option{
    padding: 2px 10px;
    transition: transform 0.3s ease;
}

select option:hover {
    transform: scale(1.015);
}

select option:checked {
    background: rgba(151, 193, 241, 0.3);
    transition: background-color 0.4s ease, transform 0.3s ease; 
}

select option:checked:hover {
    background: rgba(218, 135, 11, 0.5);
    transform: scale(1.015);
}

select option::checkmark {
    font-size: 1.2rem;
    color: rgb(167, 20, 18);   
}

h2 {
    font-size: 1.4rem;
    color: black;
    border-left: 10px solid rgb(151, 193, 241);
    padding-left: 5px;
    border-radius: 10px;
    background: linear-gradient(to right, rgb(151, 193, 241), rgb(218, 135, 11));
    width: max-content;
    max-width: 100%;
    border-right: 10px solid rgb(218, 135, 11);
    padding-right: 5px;
    box-shadow: 0 0 1rem rgba(0, 0, 0, 0.9);
    box-sizing: border-box;
}
/* анимация spin */
/*@property --angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}
@keyframes spin {
    from {
        --angle: 0deg;
    }
    to {
        --angle: 360deg;
    }
}*/

.info-mod {
    white-space: pre-line;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 18px;
    border: 2px solid black;
    box-shadow: 0 20px 35px rgba(0, 0, 1, 0.9);
    width: 100%;
    font-size: 1.1rem;
    line-height: 1.5;
}
#description {color: black; padding: 12px;}
.rating {
    text-align: center;
    margin: 20px;
}

.rat {
    margin-top: 10px;
    color: black;
    font-weight: bold;
    font-size: 1.1rem;
}

#stars span {
    font-size: 35px;
    cursor: pointer;
    color: #555;
    transition: 0.2s;
}

#stars span.active {
    color: gold;
    transform: scale(1.1);
}

#reportBtn {
    font-size: 0.95rem;
    padding: 10px 20px;
    background: #800200;
    border: none;
    color: white;
    cursor: pointer;
    border-radius: 10px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

#reportBtn:hover:not(:disabled) {
    background-color: red;
    transform: scale(1.05);
}

#reportBtn:disabled,
.comments button:disabled,
.modal-box button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.comments {
    margin-top: 26px;
}

.comments-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.comments-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #111;
    background: rgba(255, 255, 255, 0.45);
    border: 2px solid rgba(0, 0, 0, 0.16);
    border-radius: 999px;
    padding: 8px 14px;
    font-weight: bold;
}

.meta-avatar {
    width: 32px;
    height: 32px;
}

.comment-form {
    margin-top: 14px;
    display: grid;
    gap: 10px;
    background: rgba(255, 255, 255, 0.28);
    border-radius: 18px;
    border: 2px solid black;
    box-shadow: 0 20px 35px rgba(0, 0, 1, 0.35);
    padding: 18px;
}

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

.comment-author-avatar {
    width: 56px;
    height: 56px;
}

.comment-author-field {
    display: grid;
    gap: 8px;
    flex: 1;
}

.comment-author-field input {
    width: 100%;
}

.comment-form label {
    color: #111;
    font-weight: bold;
}

.comment-form textarea {
    color: black;
    box-shadow: 0 0 1rem rgba(0, 0, 0, 0.35);
}

.comment-text-wrap {
    position: relative;
}

.comment-hint {
    color: #153f70;
    font-size: 0.95rem;
    font-weight: bold;
    line-height: 1.35;
}

.mention-suggestions {
    position: absolute;
    z-index: 12;
    left: 10px;
    right: 10px;
    bottom: calc(100% + 8px);
    display: grid;
    gap: 4px;
    max-height: 210px;
    overflow-y: auto;
    padding: 8px;
    background: rgba(30, 30, 30, 0.96);
    border: 2px solid rgba(151, 193, 241, 0.75);
    border-radius: 12px;
    box-shadow: 0 14px 28px rgba(0, 0, 1, 0.45);
}

.mention-suggestions[hidden] {
    display: none;
}

.comment-mention {
    color: #153f70;
    background: rgba(151, 193, 241, 0.38);
    border-radius: 8px;
    padding: 1px 5px;
    font-weight: bold;
}

.comments button {
    justify-self: start;
    padding: 0.75rem 1.2rem;
    font-size: 1rem;
    color: black;
    background-color: rgb(151, 193, 241);
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.comments button:hover:not(:disabled) {
    background-color: rgb(218, 135, 11);
    transform: scale(1.05);
}

.comment-form .mention-suggestions button {
    justify-self: stretch;
    width: 100%;
    padding: 8px 10px;
    border-radius: 8px;
    color: #fff;
    background: transparent;
    text-align: left;
    transform: none;
}

.comment-form .mention-suggestions button:hover:not(:disabled),
.comment-form .mention-suggestions button.active {
    color: #111;
    background: rgb(151, 193, 241);
    transform: none;
}

.form-status {
    min-height: 22px;
    font-size: 0.95rem;
    font-weight: bold;
}

.form-status.info {
    color: #153f70;
}

.form-status.success {
    color: #15612e;
}

.form-status.error {
    color: #8b0d06;
}

#commentsList {
    margin-top: 20px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 18px;
    border: 2px solid black;
    box-shadow: 0 20px 35px rgba(0, 0, 1, 0.9);
    width: 100%;
    padding: 8px 14px;
    box-sizing: border-box;
}

.comment {
    border-bottom: 1px solid rgb(0, 0, 0);
    padding: 14px 0;
    font-size: 1.05rem;
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.comment:last-child {
    border-bottom: none;
}

.comment-body {
    flex: 1;
    min-width: 0;
}

.comment-avatar {
    width: 54px;
    height: 54px;
}

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

.comment b {
    color: rgb(58, 101, 149);
}

.comment small {
    color: #2d2d2d;
}

.comment p {
    margin: 0;
    color: #111;
    white-space: pre-line;
    line-height: 1.5;
}

.comments-empty {
    color: #111;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 1.05rem;
}

.pagination {
    padding: 10px;
    margin-top: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.pagination button {
    font-size: 1.1rem;
    border: 2px ridge rgb(151, 193, 241);
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
    color: black;
    cursor: pointer;
    border-radius: 0.6em;
    padding: 8px 16px;
    transition: 0.4s;
    position: relative;
    overflow: hidden;
}

.pagination button::before,
.pagination button::after {
    content: '';
    position: absolute;
    left: 5%;
    width: 90%;
    height: 2px;
    background: rgb(151, 193, 241);
    transition: 0.4s;
}

.pagination button::before {
    top: 0;
}

.pagination button::after {
    bottom: 0;
}

.pagination button:hover::before,
.pagination button:hover::after {
    transform: scaleX(0);
}

.pagination button:hover {
    box-shadow: 0 0 15px rgb(151, 193, 241);
    transform: translateY(-2px);
}

.active-page {
    background: rgb(151, 193, 241);
    color: black;
    box-shadow: 0 0 20px rgb(151, 193, 241);
}

.info-icon {
    margin-left: 10px;
    text-decoration: none;
    font-size: 1.5rem;
    color: white;
    background: #800200;
    border-radius: 50%;
    padding: 5px 7px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.info-icon:hover {
    background-color: red;
    transform: scale(1.05);
}

textarea::-webkit-scrollbar,
.container::-webkit-scrollbar {
    width: 8px;
}

textarea::-webkit-scrollbar-thumb,
.container::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, rgb(151, 193, 241), rgb(218, 135, 11));
    border-radius: 10px;
}

textarea::-webkit-scrollbar-track,
.container::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.4);
}

@media (max-width: 900px) {
    header {
        flex-direction: column;
        gap: 14px;
    }

    .header-right {
        flex-wrap: wrap;
        justify-content: center;
    }

    .container {
        width: calc(100% - 20px);
        padding: 1rem;
        margin: 16px auto;
    }

    .authorLine,
    h2,
    #modName {
        width: 100%;
    }

    #modName::after {
        width: 100%;
    }

    .comments-head {
        align-items: flex-start;
    }

    .comment-author-row {
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .name h4,
    .name h5 {
        font-size: 1.5rem;
    }

    #mainScreenshot {
        min-height: 200px;
    }

    #thumbs img {
        width: 92px;
        height: 70px;
    }

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

    .comment {
        flex-direction: column;
    }

    .modal-box {
        padding: 18px;
    }
}

.image-viewer {
    display: flex;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s ease, visibility 0s linear 0.35s;
}

.image-viewer.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.35s ease;
}

.image-viewer img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    opacity: 0;
    transform: scale(0.96);
    transition: opacity 0.35s ease, transform 0.35s ease;
    will-change: opacity, transform;
}

.image-viewer.is-open img {
    opacity: 1;
    transform: scale(1);
}

.image-viewer img.slide-out-left {
    animation: viewerSlideOutLeft 0.18s ease forwards;
}

.image-viewer img.slide-out-right {
    animation: viewerSlideOutRight 0.18s ease forwards;
}

.image-viewer img.slide-in-left {
    animation: viewerSlideInLeft 0.24s ease forwards;
}

.image-viewer img.slide-in-right {
    animation: viewerSlideInRight 0.24s ease forwards;
}

@keyframes viewerSlideOutLeft {
    to {
        opacity: 0;
        transform: translateX(-34px) scale(1.05);
    }
}

@keyframes viewerSlideOutRight {
    to {
        opacity: 0;
        transform: translateX(34px) scale(1.05)
    }
}

@keyframes viewerSlideInLeft {
    from {
        opacity: 0;
        transform: translateX(-34px) scale(1.05)
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes viewerSlideInRight {
    from {
        opacity: 0;
        transform: translateX(34px) scale(1.05)
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.viewer-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2.2rem;
    color: white;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
}

.viewer-close:hover {
    color: red;
    transform: scale(1.05);
}

.viewer-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 50px;
    color: white;
    cursor: pointer;
    padding: 10px;
    user-select: none;
}

.viewer-arrow.left {
    left: 20px;
    color: white;
    transition: color 0.3s ease, transform 0.3s ease;
}

.viewer-arrow.left:hover {
    color: rgb(151, 193, 241);
    transition: color 0.3s ease, transform 0.3s ease;
}

.viewer-arrow.right {
    right: 20px;
    color: white;
    transition: color 0.3s ease, transform 0.3s ease;
}

.viewer-arrow.right:hover {
    color: rgb(218, 135, 11);
    transition: color 0.3s ease, transform 0.3s ease;
}

/* Банер cookie соглашения пользователя */
.cookie-banner {
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60%;
    padding: 10px 20px;
    background-color: rgba(0, 0, 0, 0.6);
    box-shadow:0 20px 35px rgba(0,0,1,0.9);
    border: 2px solid black;
    backdrop-filter: blur(5px);
    border-radius: 26px;
    color: #fff;
    display: none;
}

.cookie-content {
    width: auto;
    justify-content: center;
    align-items: center;
    margin: 20px;
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 10px;
    font-size: 1.1rem;
}

.info-policy {
    margin-top: 10px;
    padding: 12px 14px;
    border-radius: 20px;
    background: rgba(151, 193, 241, 0.25);
    border: 2px solid rgba(151, 193, 241, 0.45);
    color: #0d151f;
    line-height: 1.45;
    text-align: center;
    position: relative;
}

.info-policy::after {
    content: '';
    position: absolute;
    background: rgba(151, 193, 241, 0.45);
    border-radius: 26px;
    inset: -8px;
    z-index: -1;
    filter: blur(14px);
}

.btn {
    display: inline-block;
    padding: 8px 14px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    color: #111;
    background: rgb(151, 193, 241);
    font-size: 1rem;
    font-weight: bold;
}

.btn:hover {
    background-color: rgb(218, 135, 11);
    transform: scale(1.05);
}

.cookie-buttons {
    margin-top: 20px;
    display: flex;
    gap: 20px;
}

.cookie-buttons button {
    padding: 8px 16px;
    border: none;
    cursor: pointer;
    border-radius: 10px;
    font-size: 1.1rem;
}

.yes {
    background: #4CAF50;
    color: white;
    transition: background-color 0.3s ease, transform 0.3s ease
}

.yes:hover {
    transform: scale(1.05);
    background: green;
}

.no {
    background: #f44336;
    color: white;
    transition: background-color 0.3s ease, transform 0.3s ease
}

.no:hover {
    transform: scale(1.05);
    background: red;
}
