.zpa-feedback-destination {
    border-left: 4px solid #2878d0;
}

.zpa-feedback-destination strong {
    display: block;
    color: var(--main-color);
    font-size: 16px;
}

.zpa-feedback-destination select.form-control {
    width: 100%;
    min-height: 42px;
}

.zpa-feedback-destination .title-theme i {
    color: #2878d0;
}

.zpa-feedback-submit button {
    width: 100%;
    min-height: 42px;
    border: 0;
}

.zpa-forum-card-list .plate-tab .bbs-main-tab-content > .ajaxpager.active,
.zpa-forum-card-list .plate-tab > .swiper-tab > .swiper-wrapper > .ajaxpager.swiper-slide {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    padding: 16px 0 4px;
}

.zpa-forum-card-list .plate-tab .ajaxpager > *:not(.zpa-forum-card) {
    grid-column: 1 / -1;
}

.zpa-forum-card-list .plate-tab .zpa-forum-card {
    display: flex;
    min-width: 0;
    margin: 0;
    padding: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--main-border-color) !important;
    border-radius: 8px;
    background: var(--main-bg-color);
}

.zpa-forum-card-list .plate-tab .zpa-forum-card + .zpa-forum-card {
    border-top: 1px solid var(--main-border-color);
}

.zpa-forum-card-media {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 100 / 58;
    flex: 0 0 auto;
    overflow: hidden;
    background: var(--muted-bg-color);
}

.zpa-forum-card-media > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.2s ease;
}

.zpa-forum-card:hover .zpa-forum-card-media > img {
    transform: scale(1.025);
}

.zpa-forum-card-badge,
.zpa-forum-card-image-count {
    position: absolute;
    top: 8px;
    display: inline-flex;
    min-height: 24px;
    align-items: center;
    gap: 4px;
    padding: 3px 7px;
    border-radius: 4px;
    background: rgba(24, 28, 34, 0.78);
    color: #fff;
    font-size: 12px;
    line-height: 18px;
}

.zpa-forum-card-badge {
    left: 8px;
    background: #2878d0;
}

.zpa-forum-card-image-count {
    right: 8px;
}

.zpa-forum-card-body {
    display: flex;
    width: 100%;
    min-height: 148px;
    padding: 14px 16px 15px;
    flex: 1 1 auto;
    flex-direction: column;
}

.zpa-forum-card-list .plate-tab .zpa-forum-card-title {
    display: -webkit-box;
    margin: 0 0 8px;
    overflow: hidden;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.45;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.zpa-forum-card-list .plate-tab .zpa-forum-card-title > a {
    color: var(--main-color);
    line-height: inherit;
}

.zpa-forum-card-excerpt {
    display: -webkit-box;
    min-height: 2.9em;
    overflow: hidden;
    color: var(--muted-color);
    font-size: 13px;
    line-height: 1.45;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.zpa-forum-card-excerpt:hover,
.zpa-forum-card-excerpt:focus {
    color: var(--focus-color);
}

.zpa-forum-card-meta {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 12px;
    color: var(--muted-2-color);
    font-size: 12px;
    line-height: 18px;
}

.zpa-forum-card-author {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.zpa-forum-card-stats {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 10px;
}

.zpa-forum-card-stats > span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

@media (max-width: 767px) {
    .zpa-feedback-destination {
        margin-top: 10px;
        border-left-width: 3px;
    }
}

@media (max-width: 640px) {
    .zpa-forum-card-list .plate-tab .bbs-main-tab-content > .ajaxpager.active,
    .zpa-forum-card-list .plate-tab > .swiper-tab > .swiper-wrapper > .ajaxpager.swiper-slide {
        gap: 8px;
        padding-top: 10px;
    }

    .zpa-forum-card-body {
        min-height: 112px;
        padding: 9px 10px 11px;
    }

    .zpa-forum-card-list .plate-tab .zpa-forum-card-title {
        margin-bottom: 6px;
        font-size: 14px;
        line-height: 1.4;
    }

    .zpa-forum-card-excerpt {
        min-height: 2.8em;
        font-size: 12px;
        line-height: 1.4;
    }

    .zpa-forum-card-meta {
        padding-top: 8px;
        font-size: 11px;
    }

    .zpa-forum-card-author {
        display: none;
    }

    .zpa-forum-card-badge,
    .zpa-forum-card-image-count {
        top: 5px;
        min-height: 20px;
        padding: 1px 5px;
        font-size: 10px;
        line-height: 16px;
    }

    .zpa-forum-card-badge {
        left: 5px;
    }

    .zpa-forum-card-image-count {
        right: 5px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .zpa-forum-card-media > img {
        transition: none;
    }
}

.zpa-game-template {
    --zpa-game-accent: #2f9d68;
    margin: 4px 0;
    color: var(--main-color);
}

.zpa-game-template * {
    box-sizing: border-box;
}

.zpa-game-template-hero {
    aspect-ratio: 16 / 9;
    margin: 0 0 18px;
    overflow: hidden;
    border-radius: 8px;
    background: var(--muted-bg-color);
}

.zpa-game-template-hero img,
.zpa-game-template-gallery img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.zpa-game-template-hero > br,
.zpa-game-template-labels > br,
.zpa-game-template-downloads > br,
.zpa-game-template-gallery > br {
    display: none !important;
}

.zpa-game-template-labels {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 0 0 14px;
}

.zpa-game-template-labels span {
    padding: 3px 9px;
    border: 1px solid var(--main-border-color);
    border-radius: 999px;
    color: var(--muted-color);
    font-size: 12px;
    line-height: 1.4;
}

.zpa-game-template .zpa-game-template-title,
.zpa-game-template .zpa-game-template-section {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 22px 0 10px;
    padding: 0;
    color: var(--main-color);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
}

.zpa-game-template .zpa-game-template-title {
    margin-top: 0;
    color: var(--zpa-game-accent);
    font-size: 19px;
}

.zpa-game-template .zpa-game-template-title::before,
.zpa-game-template .zpa-game-template-section::before {
    width: 4px;
    height: 17px;
    border-radius: 4px;
    background: var(--zpa-game-accent);
    content: "";
    flex: 0 0 auto;
}

.zpa-game-template-features,
.zpa-game-template-benefits,
.zpa-game-template-rules {
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
}

.zpa-game-template-features li,
.zpa-game-template-benefits li,
.zpa-game-template-rules li {
    position: relative;
    margin: 0 0 7px;
    padding-left: 17px;
    color: var(--muted-color);
    font-size: 14px;
    line-height: 1.75;
}

.zpa-game-template-features li::before,
.zpa-game-template-benefits li::before,
.zpa-game-template-rules li::before {
    position: absolute;
    top: 0.7em;
    left: 1px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--zpa-game-accent);
    content: "";
}

.zpa-game-template-downloads {
    display: flex !important;
    width: 100%;
    flex-flow: row nowrap;
    gap: 10px;
    margin: 6px 0 14px;
}

.zpa-game-template-downloads .zpa-game-template-button {
    display: inline-flex;
    width: 0;
    min-width: 0;
    min-height: 40px;
    flex: 1 1 0;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 10px;
    border: 1px solid currentColor;
    border-radius: 8px;
    background: transparent;
    box-shadow: none;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    white-space: nowrap;
    text-decoration: none !important;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.zpa-game-template-downloads .zpa-game-template-button:hover {
    background: var(--muted-border-color);
    transform: translateY(-1px);
}

.zpa-game-template-button.is-uc {
    color: #d87713;
}

.zpa-game-template-button.is-thunder {
    color: #2878d0;
}

.zpa-game-template-button.is-quark {
    color: #238a4d;
}

.zpa-game-template-note {
    margin: 0 0 20px;
    padding: 12px 14px;
    border: 1px solid rgba(40, 120, 208, 0.25);
    border-left: 4px solid #2878d0;
    border-radius: 8px;
    background: rgba(40, 120, 208, 0.06);
    color: var(--muted-color);
    font-size: 13px;
    line-height: 1.75;
}

.zpa-game-template-copy {
    margin: 0 0 10px;
    color: var(--muted-color);
    font-size: 14px;
    line-height: 1.85;
}

.zpa-game-template-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 10px 0 22px;
}

.zpa-game-template-gallery figure {
    aspect-ratio: 4 / 3;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--main-border-color);
    border-radius: 8px;
    background: var(--muted-bg-color);
}

.zpa-game-template-gallery figure:first-child {
    aspect-ratio: 16 / 7.5;
    grid-column: 1 / -1;
}

.zpa-game-template-disclaimer {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid var(--main-border-color);
}

.zpa-game-template-disclaimer .zpa-game-template-section {
    margin-top: 0;
}

.dark-theme .zpa-game-template {
    --zpa-game-accent: #67c993;
}

.dark-theme .zpa-game-template-button.is-uc {
    color: #ffad5c;
}

.dark-theme .zpa-game-template-button.is-thunder {
    color: #6eb6ff;
}

.dark-theme .zpa-game-template-button.is-quark {
    color: #67ce88;
}

@media (max-width: 480px) {
    .zpa-game-template .zpa-game-template-title {
        font-size: 17px;
    }

    .zpa-game-template .zpa-game-template-section {
        font-size: 16px;
    }

    .zpa-game-template-downloads {
        gap: 7px;
    }

    .zpa-game-template-downloads .zpa-game-template-button {
        min-height: 38px;
        padding: 7px 4px;
        font-size: 12px;
    }

    .zpa-game-template-gallery {
        grid-template-columns: 1fr;
    }

    .zpa-game-template-gallery figure:first-child {
        aspect-ratio: 16 / 9;
        grid-column: auto;
    }
}
