.syfp-forum-home-v2 {
    --syfp-bg: var(--main-bg-color, #fff);
    --syfp-soft-bg: var(--muted-border-color, #f5f6f8);
    --syfp-text: var(--main-color, #333);
    --syfp-muted: var(--muted-color, #8a8f98);
    --syfp-border: var(--main-border-color, #edf0f4);
    --syfp-theme: var(--focus-color, #ff3f9f);
    --syfp-theme-2: var(--this-bg, #2da8ff);
    --syfp-radius: var(--main-radius, 10px);
    --syfp-gap: 14px;
    --syfp-shadow: 0 8px 24px rgba(18, 24, 40, .06);
    color: var(--syfp-text);
    font-size: 15px;
    line-height: 1.6;
}

.syfp-forum-home-v2 *,
.syfp-forum-home-v2 *::before,
.syfp-forum-home-v2 *::after {
    box-sizing: border-box;
}

.syfp-forum-home-v2 a {
    color: inherit;
    text-decoration: none;
}

.syfp-forum-home-v2 a:hover {
    color: var(--syfp-theme);
}

.syfp-js-layout-ready #forum > .container:not(.fluid-widget) > .content-wrap.syfp-layout-source {
    display: none !important;
}

.syfp-forum-host {
    width: 100%;
}

.syfp-forum-bottom-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 320px);
    gap: 20px;
    align-items: start;
}

.syfp-forum-bottom-main,
.syfp-forum-bottom-sidebar {
    min-width: 0;
}

.syfp-forum-bottom-sidebar > .sidebar {
    display: block !important;
    float: none !important;
    position: static !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
}

.syfp-forum-top-v2 {
    margin-bottom: var(--syfp-gap);
}

.syfp-showcase {
    display: grid;
    grid-template-columns: minmax(260px, .82fr) minmax(420px, 1.18fr);
    gap: var(--syfp-gap);
    margin-bottom: var(--syfp-gap);
}

.syfp-slider,
.syfp-image-card a,
.syfp-empty-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--syfp-radius);
    background: var(--syfp-soft-bg);
}

.syfp-slider {
    aspect-ratio: 3 / 2;
    min-height: 230px;
    box-shadow: var(--syfp-shadow);
}

.syfp-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .28s ease;
}

.syfp-slide.is-active {
    opacity: 1;
    z-index: 1;
}

.syfp-slide::after,
.syfp-image-card a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    height: 46%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, .22) 38%, rgba(0, 0, 0, .62));
    pointer-events: none;
}

.syfp-slide-image,
.syfp-card-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    background: var(--syfp-soft-bg);
}

.syfp-slide-content,
.syfp-image-card strong {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    display: block;
    padding: 0;
    color: #fff !important;
    font-weight: 700;
    line-height: 1.32;
    text-shadow: 0 2px 5px rgba(0, 0, 0, .62);
    background: transparent;
}

.syfp-slide-content strong,
.syfp-image-card strong {
    display: -webkit-box !important;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    color: #fff !important;
}

.syfp-slide-content {
    top: 0;
    z-index: 2;
    height: 100%;
    padding: 0;
}

.syfp-slide-content strong {
    position: absolute;
    right: 16px;
    bottom: 15px;
    left: 16px;
    max-height: calc(2 * 1.32em);
    font-size: 18px;
}

.syfp-image-card strong {
    right: 9px;
    bottom: 8px;
    left: 9px;
    max-height: calc(2 * 1.32em);
    font-size: 14px;
}

.syfp-slider-arrow {
    position: absolute;
    top: 50%;
    z-index: 4;
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 42px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(0, 0, 0, .28);
    color: #fff;
    cursor: pointer;
    opacity: 0;
    transform: translateY(-50%);
    transition: opacity .18s ease, background .18s ease;
}

.syfp-slider-arrow:hover,
.syfp-slider-arrow:focus-visible {
    background: rgba(0, 0, 0, .42);
}

.syfp-slider:hover .syfp-slider-arrow,
.syfp-slider:focus-within .syfp-slider-arrow {
    opacity: 1;
}

.syfp-slider-prev {
    left: 10px;
}

.syfp-slider-next {
    right: 10px;
}

.syfp-slider-dots {
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 3;
    display: flex;
    gap: 6px;
}

.syfp-slider-dots button {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .72);
    cursor: pointer;
}

.syfp-slider-dots button.is-active {
    width: 22px;
    background: var(--syfp-theme);
}

.syfp-image-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--syfp-gap);
}

.syfp-image-card {
    min-width: 0;
}

.syfp-image-card a {
    display: block;
    aspect-ratio: 3 / 2;
    min-height: 0;
    box-shadow: var(--syfp-shadow);
}

.syfp-image-card img,
.syfp-slider img {
    transition: transform .22s ease, filter .18s ease;
}

.syfp-image-card a:hover img,
.syfp-slider:hover img {
    transform: scale(1.035);
    filter: brightness(1.04);
}

.syfp-image-badge {
    display: none !important;
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 3;
    align-items: center;
    min-height: 22px;
    padding: 0 8px;
    border-radius: 999px;
    background: rgba(255, 63, 117, .92);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 4px 12px rgba(255, 63, 117, .22);
}

.syfp-image-placeholder {
    display: grid;
    place-items: center;
    min-height: 120px;
    color: var(--syfp-muted);
    font-size: 28px;
}

.syfp-notices,
.syfp-post-column,
.syfp-stats,
.syfp-plate-section .panel {
    border: 1px solid var(--syfp-border);
    border-radius: var(--syfp-radius);
    background: var(--syfp-bg);
    box-shadow: var(--syfp-shadow);
}

.syfp-notices {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    padding: 12px 14px;
}

.syfp-notices .syfp-block-title {
    align-self: stretch;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 8px;
    flex: 0 0 auto;
    width: 100%;
    min-height: 24px;
    margin-bottom: 6px;
}

.syfp-notices .syfp-block-title h2 {
    min-width: 0;
    font-size: 16px;
}

.syfp-notices .syfp-block-title a {
    justify-self: end;
    margin-left: 0;
}

.syfp-block-title {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 24px;
    margin-bottom: 6px;
}

.syfp-block-title i {
    color: var(--syfp-theme);
    font-size: 14px;
}

.syfp-block-title h2 {
    flex: 1;
    margin: 0;
    color: var(--syfp-text);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
}

.syfp-block-title a {
    flex: 0 0 auto;
    margin-left: auto;
    color: var(--syfp-muted);
    font-size: 13px;
    white-space: nowrap;
}

.syfp-notices ul,
.syfp-post-column ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.syfp-notices ul {
    display: grid;
    flex: 1 1 auto;
    grid-template-rows: repeat(6, minmax(0, 1fr));
    min-height: 0;
}

.syfp-notices li,
.syfp-post-column li {
    position: relative;
    margin: 0;
    border-bottom: 1px dashed var(--syfp-border);
}

.syfp-notices li {
    display: flex;
    min-height: 0;
}

.syfp-notices li[hidden] {
    display: none !important;
}

.syfp-notices li:last-child,
.syfp-post-column li:last-child {
    border-bottom: 0;
}

.syfp-notices li::before,
.syfp-post-column li::before {
    content: "";
    position: absolute;
    top: 14px;
    left: 0;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--syfp-theme);
}

.syfp-notices li::before {
    top: 50%;
    transform: translateY(-50%);
}

.syfp-notices a,
.syfp-post-column li > a {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    min-height: 32px;
    padding-left: 12px;
}

.syfp-notices a {
    flex: 1 1 auto;
    min-height: 0;
}

.syfp-notices span,
.syfp-post-column span {
    overflow: hidden;
    color: var(--syfp-text);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.syfp-notices em,
.syfp-post-column em {
    color: var(--syfp-muted);
    font-size: 12px;
    font-style: normal;
    white-space: nowrap;
}

.syfp-notice-pagination {
    display: flex;
    flex: 0 0 auto;
    justify-content: flex-end;
    gap: 6px;
    min-height: 26px;
    margin-top: 8px;
}

.syfp-notice-pagination button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 26px;
    height: 26px;
    padding: 0 8px;
    border: 0;
    border-radius: 6px;
    background: var(--syfp-soft-bg);
    color: var(--syfp-muted);
    cursor: pointer;
    font-size: 13px;
}

.syfp-notice-pagination button.is-active {
    background: var(--syfp-theme);
    color: #fff;
}

.syfp-notice-pagination button:disabled {
    cursor: default;
    opacity: .48;
}

.syfp-stats {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0;
    margin-bottom: var(--syfp-gap);
    overflow: hidden;
}

.syfp-stat {
    display: grid;
    grid-template-columns: 38px minmax(0, auto) minmax(0, 1fr);
    gap: 8px;
    align-items: center;
    min-height: 58px;
    padding: 10px 14px;
    border-right: 1px solid var(--syfp-border);
}

.syfp-stat:last-child {
    border-right: 0;
}

.syfp-stat-icon {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: rgba(45, 168, 255, .12);
    color: var(--syfp-theme-2);
}

.syfp-stat:nth-child(2) .syfp-stat-icon {
    background: rgba(128, 105, 255, .12);
    color: #8069ff;
}

.syfp-stat:nth-child(3) .syfp-stat-icon {
    background: rgba(255, 170, 64, .14);
    color: #ff9f1a;
}

.syfp-stat:nth-child(4) .syfp-stat-icon {
    background: rgba(255, 63, 117, .12);
    color: var(--syfp-theme);
}

.syfp-stat:nth-child(5) .syfp-stat-icon {
    background: rgba(32, 201, 151, .13);
    color: #20c997;
}

.syfp-stat:nth-child(6) .syfp-stat-icon {
    background: rgba(255, 99, 72, .12);
    color: #ff6348;
}

.syfp-stat span:not(.syfp-stat-icon) {
    color: var(--syfp-muted);
    font-size: 13px;
}

.syfp-stat strong {
    overflow: hidden;
    color: var(--syfp-text);
    font-size: 16px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.syfp-post-columns {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--syfp-gap);
    margin-bottom: var(--syfp-gap);
}

.syfp-post-column {
    min-width: 0;
    padding: 14px 16px 10px;
}

.syfp-post-column li > a {
    min-height: 34px;
}

.syfp-muted {
    padding: 9px 0;
    color: var(--syfp-muted);
}

.syfp-more-header,
.syfp-more-list {
    border: 1px solid var(--syfp-border);
    border-radius: var(--syfp-radius);
    background: var(--syfp-bg);
    box-shadow: var(--syfp-shadow);
}

.syfp-more-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 20px;
}

.syfp-more-header span {
    display: block;
    margin-bottom: 4px;
    color: var(--syfp-theme);
    font-size: 13px;
    font-weight: 700;
}

.syfp-more-header h1 {
    margin: 0;
    color: var(--syfp-text);
    font-size: 24px;
    line-height: 1.25;
}

.syfp-more-header p {
    margin: 8px 0 0;
    color: var(--syfp-muted);
}

.syfp-more-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.syfp-more-tabs a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid var(--syfp-border);
    border-radius: 999px;
    background: var(--syfp-soft-bg);
    color: var(--syfp-text);
    font-size: 13px;
}

.syfp-more-tabs a.is-active {
    border-color: var(--syfp-theme);
    background: var(--syfp-theme);
    color: #fff;
}

.syfp-more-list {
    margin-bottom: 24px;
    padding: 16px 16px 20px;
}

.syfp-more-items {
    display: grid;
    gap: 8px;
}

.syfp-more-item {
    padding: 9px 12px;
    border: 1px solid var(--syfp-border);
    border-radius: 10px;
    background: var(--syfp-soft-bg);
}

.syfp-more-item-inner {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
}

.syfp-more-author {
    display: block;
    width: 40px;
    height: 40px;
}

.syfp-more-author img,
.syfp-more-avatar {
    display: block;
    width: 40px !important;
    height: 40px !important;
    border: 2px solid rgba(255, 255, 255, .7);
    border-radius: 50%;
    box-shadow: 0 3px 8px rgba(18, 24, 40, .10);
}

.syfp-more-item-body {
    min-width: 0;
}

.syfp-more-item-title {
    display: block;
    overflow: hidden;
    color: var(--syfp-text);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.syfp-more-item-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    align-items: center;
    margin-top: 4px;
    color: var(--syfp-muted);
    font-size: 12px;
    line-height: 1.35;
}

.syfp-more-item-meta i {
    margin-right: 4px;
    color: var(--syfp-theme);
}

.syfp-more-author-name {
    color: var(--syfp-muted);
}

.syfp-more-pagination-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    margin: 16px 0 4px;
}

.syfp-more-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-end;
    margin: 0;
}

.syfp-more-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    border-radius: 8px;
    background: var(--syfp-soft-bg);
}

.syfp-more-pagination .page-numbers.current {
    background: var(--syfp-theme);
    color: #fff;
}

.syfp-page-jump {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    color: var(--syfp-muted);
    font-size: 12px;
}

.syfp-page-jump label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin: 0;
}

.syfp-page-jump input {
    width: 58px;
    height: 32px;
    padding: 0 8px;
    border: 1px solid var(--syfp-border);
    border-radius: 8px;
    background: var(--syfp-bg);
    color: var(--syfp-text);
}

.syfp-page-jump button {
    height: 32px;
    padding: 0 10px;
    border: 0;
    border-radius: 8px;
    background: var(--syfp-theme);
    color: #fff;
    cursor: pointer;
}

.syfp-page-jump em {
    font-style: normal;
}

.syfp-empty-card {
    display: grid;
    place-items: center;
    min-height: 100%;
    padding: 20px;
    border: 1px dashed var(--syfp-border);
    color: var(--syfp-muted);
}

.syfp-plate-section {
    margin-bottom: var(--syfp-gap);
}

.syfp-plate-section .panel,
.syfp-plate-section .panel-plate {
    margin-bottom: var(--syfp-gap);
    padding: 0;
    overflow: hidden;
}

.syfp-plate-section .panel-title {
    display: flex !important;
    align-items: center;
    min-height: 64px;
    margin: 0 !important;
    padding: 0 16px !important;
}

.syfp-plate-section .panel-title > a {
    width: 100%;
    min-height: 64px;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
}

.syfp-plate-section .panel-title .title-theme {
    display: inline-flex;
    align-items: center;
    min-height: 0;
    height: auto !important;
}

.syfp-plate-section .panel-title .title-theme::before {
    top: 50% !important;
    bottom: auto !important;
    height: 24px !important;
    min-height: 24px !important;
    max-height: 24px !important;
    transform: translateY(-50%) !important;
}

.syfp-plate-section .plate-lists {
    clear: both;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 0 14px 14px;
}

.syfp-plate-section .plate-item {
    width: auto !important;
    min-width: 0;
    margin: 0 !important;
    border-radius: var(--syfp-radius);
    background: var(--syfp-soft-bg);
}

.syfp-plate-section .plate-thumb {
    flex: 0 0 76px;
    width: 76px;
    height: 76px;
    overflow: hidden;
    border-radius: 50%;
}

.syfp-plate-section .plate-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.syfp-plate-section .item-info,
.syfp-plate-section .forum-title,
.syfp-plate-section .excerpt {
    min-width: 0;
}

.syfp-plate-section .forum-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.syfp-forum-home-v2 :focus-visible {
    outline: 2px solid var(--syfp-theme);
    outline-offset: 2px;
}

body.dark-theme .syfp-forum-home-v2,
body.dark-mode .syfp-forum-home-v2 {
    --syfp-shadow: 0 10px 26px rgba(0, 0, 0, .22);
}

@media (max-width: 900px) {
    .syfp-showcase {
        grid-template-columns: 1fr;
    }

    .syfp-slider {
        min-height: 0;
    }
}

@media (max-width: 1024px) {
    .syfp-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .syfp-stat {
        border-right: 1px solid var(--syfp-border);
        border-bottom: 0;
    }

    .syfp-stat:nth-child(3n) {
        border-right: 0;
    }

    .syfp-stat:nth-child(-n+3) {
        border-bottom: 1px solid var(--syfp-border);
    }
}

@media (max-width: 768px) {
    .syfp-forum-bottom-layout {
        display: block;
    }

    .syfp-forum-bottom-sidebar {
        display: none;
    }

    .syfp-forum-home-v2 {
        --syfp-gap: 12px;
        font-size: 16px;
    }

    .syfp-image-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .syfp-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .syfp-stat {
        border-right: 1px solid var(--syfp-border);
        border-bottom: 1px solid var(--syfp-border);
    }

    .syfp-stat:nth-child(2n) {
        border-right: 0;
    }

    .syfp-stat:nth-last-child(-n+2) {
        border-bottom: 0;
    }

    .syfp-post-columns,
    .syfp-plate-section .plate-lists {
        grid-template-columns: 1fr;
    }

    .syfp-plate-section .plate-thumb {
        flex-basis: 64px;
        width: 64px;
        height: 64px;
    }

    .syfp-more-header {
        display: block;
    }

    .syfp-more-tabs {
        justify-content: flex-start;
        margin-top: 14px;
    }
}

@media (max-width: 430px) {
    .syfp-forum-home-v2 {
        --syfp-gap: 10px;
    }

    .syfp-slider {
        min-height: 210px;
    }

    .syfp-image-grid {
        gap: 8px;
    }

    .syfp-image-card strong,
    .syfp-slide-content strong {
        font-size: 13px;
    }

    .syfp-more-item-inner {
        grid-template-columns: 36px minmax(0, 1fr);
        gap: 10px;
    }

    .syfp-more-author,
    .syfp-more-author img,
    .syfp-more-avatar {
        width: 36px !important;
        height: 36px !important;
    }

    .syfp-notices,
    .syfp-post-column {
        padding: 12px;
    }

    .syfp-notices a {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px;
        min-height: 30px;
    }

    .syfp-post-column li > a {
        grid-template-columns: minmax(0, 1fr);
        gap: 2px;
        min-height: 42px;
    }

    .syfp-more-pagination-wrap,
    .syfp-more-pagination {
        justify-content: flex-end;
    }

    .syfp-stat {
        grid-template-columns: 32px 1fr;
        gap: 4px 8px;
        padding: 9px 10px;
    }

    .syfp-stat strong {
        grid-column: 2;
    }
}

@media (prefers-reduced-motion: reduce) {
    .syfp-slide,
    .syfp-image-card img,
    .syfp-slider img {
        transition: none;
    }
}
