@charset "utf-8";

#news-container {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.news {
    position: relative;
    width: 100%;
    max-width: 452px;
    margin: 0 auto 28px;
    text-align: center;
}

.news-topic {
    width: 100%;
}

.news-topic,
.news-topic tbody,
.news-topic tr {
    display: block;
}

.news-topic td:first-child {
    display: block;
    width: 100%;
    height: 46px;
    padding: 0 22px 5px;
    box-sizing: border-box;
    color: #f3d494;
    background: url(images/news-title.webp) center no-repeat;
    font-size: 1.08rem;
    font-weight: 600;
    line-height: 42px;
    text-align: center;
    text-transform: uppercase;
}

.news-topic td:first-child span {
    display: inline-block;
    filter: drop-shadow(0 0 2px #000) drop-shadow(0 1px 2px #000);
}

.news-topic td:last-child {
    position: absolute;
    bottom: 32px;
    left: 50%;
    display: block;
    width: 100%;
    padding: 0;
    transform: translateX(-50%);
    color: #b23922;
    font-size: 0.95rem;
    font-weight: 600 !important;
    text-align: center;
    text-shadow: 0 0 4px #000, 0 0 4px #000;
}

.news-content {
    padding: 10px 10px 34px;
    background: url(images/news-separator.webp) center bottom no-repeat;
    color: #c9ad7a;
    font-size: 1rem;
    line-height: 1.75;
    text-align: center;
}

.news-content-border {
    max-width: 438px;
    margin: 0 auto;
}

.news-footer {
    position: relative;
    min-height: 56px;
    padding: 36px 0 0;
    box-sizing: border-box;
    color: #917252;
    text-align: center;
}

.news-footer b,
.news-footer span {
    color: #a9885d;
    font-weight: normal !important;
}

.pagination-container-wrapper {
    margin: auto 0 0;
    padding: 18px 0 0;
}

.pagination-container {
    display: flex;
    justify-content: center;
    gap: 8px;
}

#page .pagination_active,
.pagination_page,
.pagination_next,
.pagination_prev,
.pagination_last,
.pagination_first {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    padding: 0 8px;
    border: 1px solid #6b4727;
    box-sizing: border-box;
    color: #d9bb7d;
    background: rgba(37, 18, 9, 0.88);
    text-shadow: 0 0 4px #000;
}

#page .pagination_active {
    border-color: #b0823f;
    color: #fff0bd;
}

h1 {
    margin: 0 0 16px;
    color: #e6c481;
    font-size: 1.5rem;
    text-align: center;
}

h2,
h3 {
    color: #e0bd7a;
}

h3 {
    margin: 12px 0;
    line-height: 1.5;
}

.hint {
    padding: 0 0 12px 10px;
    color: #80684d;
    font-size: 10px;
    text-align: left;
    vertical-align: top;
}

.change,
#page a.change {
    padding: 0 0 12px;
    color: #9d7f58 !important;
    font-size: 10px;
    text-align: right;
    vertical-align: top;
}

.table-data {
    width: 100%;
    padding: 0;
    border-spacing: 0;
}

.table-data tr:first-child td {
    border-top: none;
}

.table-data td {
    padding: 8px 7px;
    border-top: 1px solid rgba(144, 103, 54, 0.45);
    text-align: left;
}

.table-data td img {
    vertical-align: text-bottom;
}

.table-top td {
    height: 38px;
    padding: 0 7px;
    border-right: 1px solid rgba(144, 103, 54, 0.55);
    color: #fff0bf;
    background: linear-gradient(to bottom, rgba(96, 57, 28, 0), rgba(96, 57, 28, 0.95));
    font-weight: 600;
    text-align: left;
    vertical-align: middle;
}

.table-top td:last-child {
    border-right: none;
}

.info-table-padding td,
.tableform-padding td {
    padding: 8px 7px 24px;
    border-top: 1px solid rgba(144, 103, 54, 0.45);
    text-align: left;
    vertical-align: top;
}

.info-table-nopadding td,
.tableform-nopadding td {
    padding: 8px 7px 0;
    border-top: 1px solid rgba(144, 103, 54, 0.45);
    text-align: left;
}

.tableform-nopadding td:last-child,
.tableform-padding td:last-child {
    text-align: right;
}

.tableform-padding tr:last-child td,
.tableform-nopadding tr:last-child td {
    border-top: none;
}

.error,
.info {
    margin: 10px 0;
    padding: 10px 14px;
    border-radius: 2px;
    text-align: left;
}

.error {
    border: 1px solid #8f2a1c;
    color: #ffb2a8;
    background: rgba(82, 12, 7, 0.72);
}

.info {
    border: 1px solid #6b532a;
    color: #f0d49b;
    background: rgba(34, 24, 11, 0.74);
}

.info a,
.error a {
    color: inherit;
    text-decoration: underline dotted;
}

#shop-groups {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

#shop-groups .group {
    position: relative;
    display: flex;
    z-index: 1;
    width: 138px;
    height: 118px;
    border: 1px solid #5f4325;
    border-radius: 3px;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    overflow: hidden;
    color: #c9ad7a;
    background: rgba(12, 6, 3, 0.55);
    text-decoration: none;
    transition: border-color 160ms, box-shadow 160ms, color 160ms;
}

#shop-groups .group:hover {
    z-index: 2;
    border-color: #dfb86b;
    color: #fff0bd;
    box-shadow: inset 0 0 12px rgba(223, 184, 107, 0.35), 0 0 18px rgba(223, 184, 107, 0.18);
}

#shop-groups .group .group-image {
    position: relative;
    width: 96px;
    height: 58px;
    background: no-repeat center center;
    background-size: contain;
    filter: drop-shadow(0 0 10px #000);
    transition: transform 160ms;
}

#shop-groups .group:hover .group-image {
    transform: scale(1.06);
}

#shop-groups .group .group-name {
    z-index: 1;
    color: inherit;
    text-align: center;
}

.payment-method {
    display: flex;
    margin-top: 6px;
    color: inherit;
    background: rgba(0, 0, 0, 0.38);
    box-shadow: inset 0 0 32px rgba(0, 0, 0, 0.8);
    text-decoration: none;
    transition: filter 120ms;
}

a.payment-method:hover {
    filter: brightness(1.12);
}

.payment-method .icon {
    min-width: 180px;
    height: 105px;
}

.payment-method .description {
    padding: 8px;
    line-height: 1.35;
    text-align: left;
}

.group-container {
    margin: 10px auto 0;
}

.shop-back-button-container .button {
    display: block;
    width: fit-content;
    margin: 10px auto 0;
}

.shop-table tr.info-table-nopadding td:first-child {
    padding: 0;
    text-align: center;
}

.buttons-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    padding: 6px 0 0;
}

.buttons-grid a.button {
    min-width: 190px;
}

.download-container {
    position: relative;
    width: 100%;
    max-width: 452px;
    margin: 0 auto;
    padding: 0 0 64px;
    text-align: center;
}

.download-title {
    height: 46px;
    padding: 0 22px 5px;
    box-sizing: border-box;
    color: #f3d494;
    background: url(images/news-title.webp) center no-repeat;
    font-size: 1.08rem;
    font-weight: 600;
    line-height: 42px;
    text-transform: uppercase;
}

.download-content {
    padding: 10px 10px 34px;
    background: url(images/news-separator.webp) center bottom no-repeat;
    line-height: 1.75;
}

.download-count:empty {
    display: none;
}

.download-size:has(+ .download-count:empty) {
    margin: 0 auto;
}

.download-footer {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 8px 0 0;
    color: #9b7954;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.download-button {
    display: inline-block;
    width: 154px;
    height: 35px;
    margin: 15px auto 0;
    padding: 0 0 2px;
    box-sizing: border-box;
    color: #fff0bd;
    background: url(images/button-login.webp) center / 100% 100% no-repeat;
    line-height: 32px;
    text-align: center;
    text-transform: uppercase;
}

.gallery_entry {
    float: left;
    width: 138px;
    margin: 8px 5px;
}

.gallery_image {
    width: 100%;
    height: 104px;
    margin: 0 auto;
    border-bottom: 1px solid #b88645;
    border-radius: 3px;
}

.gallery_name,
.gallery_author {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.gallery_rating,
.gallery_vote_inc,
.gallery_vote_dec {
    float: left;
}

.gallery_vote_inc {
    padding-right: 6px;
    color: #5ecb5e;
}

.gallery_vote_dec {
    padding-left: 5px;
    color: #e45b4d;
}

.gallery_hide {
    float: right;
    color: #e45b4d;
}

.gallery_entry a {
    float: right;
    margin-left: 10px;
}

.gallery_entry a:nth-child(2) {
    float: none;
    margin: 0;
}

.support-message {
    position: relative;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 15px;
    padding: 9px;
    border: 1px solid rgba(128, 88, 45, 0.62);
    border-radius: 3px;
    background: rgba(0, 0, 0, 0.35);
    overflow: hidden;
}

.support-message-content {
    width: 100%;
    padding: 6px 0;
}

.support-message-edit {
    margin-left: auto;
}

.support-message-author,
.support-message-time {
    opacity: 0.75;
}

.support-message:last-of-type {
    margin-bottom: 18px;
}

.g-recaptcha div {
    margin: 0 auto;
}

body #g-limited-offer {
    display: flex;
    align-items: center;
    width: min(452px, calc(100vw - 24px));
    top: 30px;
    padding: 0 20px;
    box-sizing: border-box;
    background: rgba(20, 11, 6, 0.96);
    box-shadow: 0 0 24px #000;
}

body #g-limited-offer .news {
    width: 100%;
}

#g-limited-offer .news-footer {
    display: none;
}

::-webkit-scrollbar {
    width: 12px;
    background-color: #090402;
}

::-webkit-scrollbar-thumb {
    border: 2px solid #090402;
    border-radius: 6px;
    background: #55341d;
}

::-webkit-scrollbar-corner {
    background-color: #090402;
}

.input-text {
    height: 34px;
    line-height: 34px;
}

.table-payment-partner {
    width: 97% !important;
}

.g-text-danger.g-field-error {
    color: #ff6e5f !important;
}

@media (max-width: 720px) {
    .news,
    .download-container {
        max-width: 100%;
    }

    .payment-method {
        flex-direction: column;
    }

    .payment-method .icon {
        width: 100%;
        min-width: 0;
    }

    .download-footer {
        flex-wrap: wrap;
    }
}
