/* ============================================================
   Sebuda 风格主题 - 黑鲸出海
   适用: template/default/ 所有页面的头部/尾部 + 首页(index_portal.html)
   ============================================================ */

/* ---- 公共容器 ---- */
.sbd-wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================================
   HEADER - 顶部双层导航
   ============================================================ */

/* 头部整体粘性定位 */
.sbd-header {
    position: sticky;
    top: 0;
    z-index: 999;
}

/* 占位防抖 */
.sbd-header-placeholder {
    height: 44px;
}

/* 第一层: 白色 - Logo + 搜索 + 登录/发布按钮 */
.sbd-header-top {
    background: #ffffff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    padding: 10px 0;
}

.sbd-header-top-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.sbd-logo {
    flex-shrink: 0;
}

.sbd-logo img {
    height: 44px;
    display: block;
}

.sbd-search-wrap {
    flex: 1;
    max-width: 560px;
}

.sbd-search-form {
    display: flex;
    border: 1.5px solid #E0E0E0;
    border-radius: 24px;
    overflow: hidden;
    background: #F7F7FC;
    transition: border-color 0.2s;
}

.sbd-search-form:focus-within {
    border-color: #FCD535;
    background: #fff;
}

.sbd-search-input {
    flex: 1;
    padding: 9px 16px;
    border: none;
    background: transparent;
    font-size: 14px;
    outline: none;
    color: #333;
}

.sbd-search-btn {
    padding: 9px 22px;
    background: #FCD535;
    border: none;
    font-size: 14px;
    font-weight: 600;
    color: #1A1A2E;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}

.sbd-search-btn:hover {
    background: #E5C030;
}

.sbd-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    flex-shrink: 0;
}

.sbd-btn-login {
    padding: 7px 20px;
    border: 1.5px solid #D0D0D0;
    border-radius: 20px;
    color: #333;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    background: transparent;
    transition: all 0.2s;
    white-space: nowrap;
    display: inline-block;
}

.sbd-btn-login:hover {
    border-color: #FCD535;
    background: #FFFCE0;
}

.sbd-btn-post {
    padding: 7px 20px;
    border-radius: 20px;
    color: #1A1A2E;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    background: #FCD535;
    transition: background 0.2s;
    white-space: nowrap;
    display: inline-block;
    border: none;
}

.sbd-btn-post:hover {
    background: #E5C030;
}

/* 登录状态区域 */
#sbd-mayilogin {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
}

/* 第二层: 黄色导航栏 */
.sbd-header-nav {
    background: #FCD535;
}

.sbd-header-nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
}

.sbd-nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2px;
    flex: 1;
}

.sbd-nav-item a {
    display: block;
    padding: 10px 15px;
    font-size: 14px;
    font-weight: 600;
    color: #1A1A2E;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.15s;
}

.sbd-nav-item a:hover,
.sbd-nav-item a.current {
    background: rgba(0, 0, 0, 0.12);
}

/* ============================================================
   HOMEPAGE - 首页主体
   ============================================================ */

.sbd-page {
    background: #F7F7FC;
    min-height: 100vh;
}

.sbd-page-main {
    max-width: 1280px;
    margin: 0 auto;
    padding: 28px 24px;
}

/* ---- 广告位 ---- */
#ad_header {
    margin-bottom: 16px;
}

/* ---- Banner 轮播图 ---- */
.sbd-banner {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 28px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    background: #E0E0E0;
}

.sbd-banner .slide {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
    height: 100%;
}

.sbd-banner .slide li {
    width: 100%;
    height: 100%;
}

.sbd-banner .slide li a {
    display: block;
    width: 100%;
    height: 100%;
}

.sbd-banner .slide li img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sbd-banner-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, rgba(26, 26, 46, 0.4), transparent);
    pointer-events: none;
    z-index: 2;
}

.sbd-banner .arrow {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sbd-banner .prev,
.sbd-banner .next {
    position: absolute;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.88);
    border-radius: 50%;
    cursor: pointer;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sbd-banner .prev {
    left: 16px;
}

.sbd-banner .next {
    right: 16px;
}

.sbd-banner .prev::before {
    content: '‹';
    font-size: 22px;
    font-weight: 700;
    color: #333;
    line-height: 1;
}

.sbd-banner .next::before {
    content: '›';
    font-size: 22px;
    font-weight: 700;
    color: #333;
    line-height: 1;
}

.sbd-banner .num {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 7px;
    list-style: none;
    margin: 0;
    padding: 0;
    z-index: 10;
}

.sbd-banner .num li {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.25s;
}

.sbd-banner .num li.active {
    background: #FCD535;
    width: 22px;
    border-radius: 4px;
}

/* 无轮播图时的占位 */
.sbd-banner-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #A0A3BD;
    font-size: 14px;
}

/* ---- 统计数据栏 ---- */
.sbd-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 28px;
}

.sbd-stat-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px 16px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s, box-shadow 0.2s;
}

.sbd-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.sbd-stat-num {
    font-size: 30px;
    font-weight: 700;
    color: #FCD535;
    line-height: 1.2;
}

.sbd-stat-label {
    font-size: 13px;
    color: #6E7191;
    margin-top: 5px;
}

/* ---- 区块标题 ---- */
.sbd-section-hd {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.sbd-section-title {
    font-size: 18px;
    font-weight: 700;
    color: #14142B;
    padding-left: 12px;
    border-left: 4px solid #FCD535;
    line-height: 1.3;
    margin: 0;
}

.sbd-section-more {
    font-size: 13px;
    color: #6E7191;
    text-decoration: none;
    transition: color 0.2s;
}

.sbd-section-more:hover {
    color: #BF9D0F;
}

/* ---- 平台分类卡片 ---- */
.sbd-platforms {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.sbd-platform-card {
    background: #fff;
    border-radius: 12px;
    padding: 18px;
    border-top: 4px solid #FCD535;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sbd-platform-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.sbd-platform-name {
    font-size: 15px;
    font-weight: 700;
    color: #14142B;
}

.sbd-platform-subs {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    flex: 1;
}

.sbd-platform-subs a {
    font-size: 12px;
    color: #6E7191;
    text-decoration: none;
    background: #F0F0F5;
    padding: 3px 9px;
    border-radius: 4px;
    transition: background 0.15s, color 0.15s;
}

.sbd-platform-subs a:hover {
    background: #FCD535;
    color: #1A1A2E;
}

.sbd-platform-more {
    font-size: 12px;
    color: #A0A3BD;
    text-decoration: none;
    align-self: flex-start;
    transition: color 0.2s;
}

.sbd-platform-card:hover .sbd-platform-more {
    color: #BF9D0F;
}

/* ---- 主布局: 侧栏 + 内容 ---- */
.sbd-main-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 20px;
    margin-bottom: 32px;
}

/* 侧栏 */
.sbd-sidebar {
    position: sticky;
    top: 92px;
    height: fit-content;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sbd-sidebar-box {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.sbd-sidebar-title {
    font-size: 13px;
    font-weight: 700;
    color: #14142B;
    padding-bottom: 10px;
    border-bottom: 2px solid #FCD535;
    margin-bottom: 12px;
}

/* 侧栏分类树 */
.sbd-cat-item {
    margin-bottom: 8px;
}

.sbd-cat-parent {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 600;
    color: #14142B;
    text-decoration: none;
    padding: 5px 6px;
    border-radius: 6px;
    transition: background 0.15s;
}

.sbd-cat-parent:hover {
    background: #FFF8DC;
}

.sbd-cat-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #FCD535;
    flex-shrink: 0;
}

.sbd-cat-children {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 5px 0 5px 20px;
}

.sbd-cat-children a {
    font-size: 11px;
    color: #6E7191;
    text-decoration: none;
    padding: 2px 8px;
    background: #F5F5F8;
    border-radius: 4px;
    transition: background 0.15s, color 0.15s;
}

.sbd-cat-children a:hover {
    background: #FCD535;
    color: #1A1A2E;
}

/* 侧栏公告列表 */
.sbd-announce-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sbd-announce-item {
    padding: 8px 0;
    border-bottom: 1px solid #F4F4F8;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.sbd-announce-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.sbd-announce-item a {
    font-size: 12px;
    color: #444;
    text-decoration: none;
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    transition: color 0.15s;
}

.sbd-announce-item a:hover {
    color: #BF9D0F;
}

.sbd-announce-time {
    font-size: 11px;
    color: #A0A3BD;
    white-space: nowrap;
    flex-shrink: 0;
}

/* 内容区 */
.sbd-content {
    min-width: 0;
}

/* 标签切换栏 */
.sbd-tabs-wrap {
    display: flex;
    gap: 4px;
    background: #fff;
    border-radius: 12px;
    padding: 6px 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    margin-bottom: 16px;
}

.sbd-tab {
    padding: 7px 18px;
    font-size: 14px;
    font-weight: 600;
    color: #6E7191;
    border-radius: 8px;
    cursor: pointer;
    border: none;
    background: transparent;
    white-space: nowrap;
    transition: all 0.2s;
    text-decoration: none;
}

.sbd-tab.active,
.sbd-tab:hover {
    background: #FCD535;
    color: #1A1A2E;
}

/* 信息卡片网格 */
.sbd-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 20px;
}

.sbd-info-card {
    background: #fff;
    border-radius: 12px;
    padding: 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: 9px;
    border-left: 3px solid #FCD535;
    cursor: pointer;
}

.sbd-info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.sbd-info-card-hd {
    display: flex;
    align-items: center;
    gap: 9px;
}

.sbd-info-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    background: #F0F0F5;
    flex-shrink: 0;
}

.sbd-info-user {
    flex: 1;
    min-width: 0;
}

.sbd-info-username {
    font-size: 12px;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sbd-info-date {
    font-size: 11px;
    color: #A0A3BD;
    margin-top: 1px;
}

.sbd-info-cat-badge {
    font-size: 11px;
    padding: 2px 8px;
    background: #FFF3CD;
    color: #856404;
    border-radius: 4px;
    white-space: nowrap;
    flex-shrink: 0;
}

.sbd-info-title {
    font-size: 13px;
    font-weight: 600;
    color: #14142B;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sbd-info-title.color-red { color: #dc3545; }
.sbd-info-title.color-bold { font-weight: 700; }

.sbd-info-desc {
    font-size: 12px;
    color: #6E7191;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.sbd-info-ft {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
    padding-top: 8px;
    border-top: 1px solid #F4F4F8;
    margin-top: auto;
}

.sbd-info-tag {
    font-size: 11px;
    padding: 2px 8px;
    background: #F0F0F5;
    color: #6E7191;
    border-radius: 4px;
}

.sbd-info-price {
    font-size: 12px;
    font-weight: 700;
    color: #138808;
    margin-left: auto;
}

.sbd-nodata {
    text-align: center;
    color: #A0A3BD;
    padding: 40px 20px;
    font-size: 14px;
    background: #fff;
    border-radius: 12px;
}

/* 查看更多按钮 */
.sbd-more-wrap {
    text-align: center;
    padding: 8px 0 16px;
}

.sbd-more-btn {
    display: inline-block;
    padding: 10px 40px;
    border: 2px solid #FCD535;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 600;
    color: #1A1A2E;
    text-decoration: none;
    background: transparent;
    transition: background 0.2s;
}

.sbd-more-btn:hover {
    background: #FCD535;
}

/* ---- 入驻商家展示 ---- */
.sbd-stores-section {
    margin-bottom: 28px;
}

.sbd-stores-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 12px;
}

.sbd-store-card {
    background: #fff;
    border-radius: 10px;
    padding: 12px 8px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s;
}

.sbd-store-card:hover {
    transform: translateY(-3px);
}

.sbd-store-logo {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 7px;
    display: block;
    background: #F0F0F5;
}

.sbd-store-name {
    font-size: 12px;
    color: #444;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* ---- 友情链接 ---- */
.sbd-flinks-section {
    margin-bottom: 32px;
}

.sbd-flinks-box {
    background: #fff;
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.sbd-flinks-hd {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #F4F4F8;
}

.sbd-flinks-apply {
    font-size: 13px;
    color: #BF9D0F;
    text-decoration: none;
}

.sbd-flinks-apply:hover {
    text-decoration: underline;
}

.sbd-flinks-img-list,
.sbd-flinks-txt-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0 0 6px;
    padding: 0;
}

.sbd-flinks-img-list li a img {
    height: 34px;
    border: 1px solid #eee;
    border-radius: 4px;
    vertical-align: middle;
}

.sbd-flinks-txt-list li a {
    display: inline-block;
    padding: 4px 12px;
    background: #F0F0F5;
    border-radius: 4px;
    font-size: 13px;
    color: #6E7191;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}

.sbd-flinks-txt-list li a:hover {
    background: #FCD535;
    color: #1A1A2E;
}

/* ============================================================
   FOOTER - 底部深色主题
   ============================================================ */

.sbd-footer {
    background: #1A1A2E;
    color: #A0A3BD;
    padding: 40px 0 0;
    margin-top: 20px;
}

.sbd-footer-main {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px 36px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 150px;
    gap: 32px;
}

.sbd-footer-logo {
    height: 34px;
    display: block;
    margin-bottom: 12px;
    filter: brightness(0) invert(1);
    opacity: 0.75;
}

.sbd-footer-desc {
    font-size: 13px;
    line-height: 1.8;
    color: #6E7191;
    margin-bottom: 16px;
}

.sbd-footer-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.sbd-footer-contact a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: #A0A3BD;
    text-decoration: none;
    transition: color 0.2s;
}

.sbd-footer-contact a:hover {
    color: #FCD535;
}

.sbd-footer-col-title {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid #2D2D44;
}

.sbd-footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sbd-footer-links li {
    margin-bottom: 10px;
}

.sbd-footer-links a {
    font-size: 13px;
    color: #6E7191;
    text-decoration: none;
    transition: color 0.2s;
}

.sbd-footer-links a:hover {
    color: #FCD535;
}

.sbd-footer-qr {
    text-align: center;
}

.sbd-footer-qr img {
    width: 96px;
    height: 96px;
    border-radius: 8px;
    margin-bottom: 8px;
}

.sbd-footer-qr-label {
    font-size: 12px;
    color: #6E7191;
}

.sbd-footer-bottom {
    background: #12122A;
    padding: 14px 24px;
    text-align: center;
    font-size: 12px;
    color: #4E4B66;
}

.sbd-footer-bottom a {
    color: #6E7191;
    text-decoration: none;
    transition: color 0.2s;
}

.sbd-footer-bottom a:hover {
    color: #FCD535;
}

/* ============================================================
   兼容: 内页 (list, info, login 等) 沿用新头尾
   ============================================================ */

.bodybgcolor {
    background: #F7F7FC;
}

.body1000 {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================================
   响应式
   ============================================================ */

@media (max-width: 1100px) {
    .sbd-platforms {
        grid-template-columns: repeat(3, 1fr);
    }

    .sbd-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sbd-stores-grid {
        grid-template-columns: repeat(5, 1fr);
    }

    .sbd-footer-main {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 24px;
    }

    .sbd-footer-main > .sbd-footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .sbd-wrap,
    .sbd-header-top-inner,
    .sbd-header-nav-inner,
    .sbd-page-main {
        padding-left: 16px;
        padding-right: 16px;
    }

    .sbd-search-wrap {
        max-width: 100%;
    }

    .sbd-banner {
        height: 220px;
        border-radius: 10px;
    }

    .sbd-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .sbd-platforms {
        grid-template-columns: repeat(2, 1fr);
    }

    .sbd-main-layout {
        grid-template-columns: 1fr;
    }

    .sbd-sidebar {
        position: static;
    }

    .sbd-info-grid {
        grid-template-columns: 1fr;
    }

    .sbd-stores-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .sbd-footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .sbd-footer-main > .sbd-footer-brand {
        grid-column: 1 / -1;
    }

    .sbd-nav-list {
        overflow-x: auto;
    }
}

/* ============================================================
   NOTICE BAR - 公告横幅 (对标 sebuda.com 顶部黄色导航条)
   ============================================================ */

.sbd-notice-bar {
    background: #FFFCE0;
    border-bottom: 1px solid #FDE87A;
    padding: 7px 0;
    overflow: hidden;
}

.sbd-notice-bar-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    overflow: hidden;
}

.sbd-notice-label {
    font-size: 12px;
    font-weight: 700;
    color: #1A1A2E;
    white-space: nowrap;
    background: #FCD535;
    padding: 2px 10px;
    border-radius: 4px;
    flex-shrink: 0;
}

.sbd-notice-list {
    display: flex;
    gap: 20px;
    overflow: hidden;
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
}

.sbd-notice-list li {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    font-size: 12px;
    color: #5C4500;
}

.sbd-notice-list li::before {
    content: '·';
    color: #BF9D0F;
    margin-right: 6px;
}

.sbd-notice-list li a {
    color: #5C4500;
    text-decoration: none;
    white-space: nowrap;
}

.sbd-notice-list li a:hover {
    color: #BF9D0F;
    text-decoration: underline;
}

/* ============================================================
   PLATFORM CARDS V2 - Icon-centric (对标 sebuda.com 平台分类卡片)
   ============================================================ */

.sbd-platforms-v2 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-flow: dense;
    gap: 16px;
    margin-bottom: 24px;
}

.sbd-platform-card-v2 {
    background: #fff;
    border-radius: 16px;
    padding: 28px 16px 24px;
    border: 2px solid #E8E8F0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    min-height: 200px;
    cursor: pointer;
}

.sbd-platform-card-v2:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.sbd-pc-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 3px solid #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 10px;
    background: #f5f5f5;
    color: #333;
    flex-shrink: 0;
    letter-spacing: -1px;
}

.sbd-pc-name {
    font-size: 15px;
    font-weight: 700;
    color: #14142B;
    line-height: 1.3;
}

.sbd-pc-sub {
    font-size: 12px;
    color: #6E7191;
}

.sbd-pc-count {
    font-size: 12px;
    color: #A0A3BD;
    margin-top: 2px;
}

/* ---- 按位置自动分配颜色 ---- */
.sbd-platforms-v2 > *:nth-child(1) { border-color: #000; }
.sbd-platforms-v2 > *:nth-child(1) .sbd-pc-icon { border-color: #000; background: #f0f0f0; color: #000; }

.sbd-platforms-v2 > *:nth-child(2) { border-color: #D44990; }
.sbd-platforms-v2 > *:nth-child(2) .sbd-pc-icon { border-color: #D44990; background: #fdf0f7; color: #D44990; }

.sbd-platforms-v2 > *:nth-child(3) { border-color: #FF0000; }
.sbd-platforms-v2 > *:nth-child(3) .sbd-pc-icon { border-color: #FF0000; background: #fff0f0; color: #FF0000; }

.sbd-platforms-v2 > *:nth-child(4) { border-color: #24A1DE; }
.sbd-platforms-v2 > *:nth-child(4) .sbd-pc-icon { border-color: #24A1DE; background: #f0f7ff; color: #24A1DE; }

.sbd-platforms-v2 > *:nth-child(5) { border-color: #25D366; }
.sbd-platforms-v2 > *:nth-child(5) .sbd-pc-icon { border-color: #25D366; background: #f0fdf4; color: #25D366; }

.sbd-platforms-v2 > *:nth-child(6) { border-color: #FF6B35; }
.sbd-platforms-v2 > *:nth-child(6) .sbd-pc-icon { border-color: #FF6B35; background: #fff5f0; color: #FF6B35; }

.sbd-platforms-v2 > *:nth-child(7) { border-color: #7C3AED; }
.sbd-platforms-v2 > *:nth-child(7) .sbd-pc-icon { border-color: #7C3AED; background: #f5f0ff; color: #7C3AED; }

.sbd-platforms-v2 > *:nth-child(8) { border-color: #1877F2; }
.sbd-platforms-v2 > *:nth-child(8) .sbd-pc-icon { border-color: #1877F2; background: #f0f5ff; color: #1877F2; }

/* ---- 特殊公告黄色卡片 (对标 Special Usernames 卡) ---- */
.sbd-pc-special {
    grid-column: span 2;
    background: #FCD535 !important;
    border-color: #EDB800 !important;
    align-items: flex-start;
    text-align: left;
    padding: 24px 24px 20px;
    min-height: 0;
    cursor: default;
    gap: 0;
}

.sbd-pc-special:hover {
    transform: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.sbd-pc-special .sbd-pc-icon {
    border-color: #1A1A2E !important;
    background: rgba(0, 0, 0, 0.08) !important;
    color: #1A1A2E !important;
    width: 48px;
    height: 48px;
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 800;
}

.sbd-pc-special .sbd-pc-name {
    font-size: 16px;
    font-weight: 700;
    color: #1A1A2E;
    margin-bottom: 8px;
}

.sbd-pc-announce-list {
    list-style: none;
    margin: 4px 0 0;
    padding: 0;
    width: 100%;
}

.sbd-pc-announce-list li {
    padding: 6px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
    font-size: 12px;
}

.sbd-pc-announce-list li:last-child {
    border-bottom: none;
}

.sbd-pc-announce-list li a {
    color: #1A1A2E;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    overflow: hidden;
}

.sbd-pc-announce-list li a .ann-title {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    flex: 1;
}

.sbd-pc-announce-list li a .ann-date {
    color: rgba(26, 26, 46, 0.5);
    font-size: 11px;
    flex-shrink: 0;
}

.sbd-pc-announce-list li a:hover .ann-title {
    text-decoration: underline;
}

/* ============================================================
   FILTER SECTIONS - 筛选区 (对标 sebuda.com 筛选条)
   ============================================================ */

.sbd-filter-section {
    background: #fff;
    border-radius: 12px;
    padding: 18px 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    margin-bottom: 14px;
}

.sbd-filter-title {
    font-size: 14px;
    font-weight: 700;
    color: #14142B;
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid #F4F4F8;
}

.sbd-filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.sbd-filter-tags li a {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    border-radius: 20px;
    border: 1.5px solid #E0E0E0;
    font-size: 13px;
    color: #6E7191;
    text-decoration: none;
    background: #fff;
    transition: all 0.18s;
    white-space: nowrap;
}

.sbd-filter-tags li a:hover {
    background: #FCD535;
    border-color: #FCD535;
    color: #1A1A2E;
}

/* ============================================================
   INTRO SECTION - 介绍区 (对标 sebuda.com "Smart & Smooth" 区)
   ============================================================ */

.sbd-intro-section {
    background: #1A1A2E;
    border-radius: 16px;
    padding: 52px 40px;
    text-align: center;
    margin-bottom: 36px;
    position: relative;
    overflow: hidden;
}

.sbd-intro-section::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: rgba(252, 213, 53, 0.06);
    pointer-events: none;
}

.sbd-intro-title {
    font-size: 26px;
    font-weight: 800;
    color: #fff;
    line-height: 1.45;
    margin: 0 0 16px;
    position: relative;
}

.sbd-intro-title span {
    color: #FCD535;
}

.sbd-intro-desc {
    font-size: 14px;
    color: #A0A3BD;
    line-height: 1.9;
    max-width: 680px;
    margin: 0 auto 36px;
    position: relative;
}

.sbd-intro-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
    margin-bottom: 36px;
    position: relative;
}

.sbd-intro-stat {
    text-align: center;
}

.sbd-intro-stat-num {
    display: block;
    font-size: 34px;
    font-weight: 800;
    color: #FCD535;
    line-height: 1.2;
}

.sbd-intro-stat-label {
    font-size: 12px;
    color: #6E7191;
    margin-top: 5px;
    display: block;
}

.sbd-intro-btn {
    display: inline-block;
    padding: 13px 40px;
    background: #FCD535;
    border-radius: 24px;
    font-size: 15px;
    font-weight: 700;
    color: #1A1A2E;
    text-decoration: none;
    transition: background 0.2s;
    position: relative;
}

.sbd-intro-btn:hover {
    background: #E5C030;
}

/* ============================================================
   RESPONSIVE - V2 新增组件响应式
   ============================================================ */

@media (max-width: 1100px) {
    .sbd-platforms-v2 {
        grid-template-columns: repeat(3, 1fr);
    }

    .sbd-intro-stats {
        gap: 28px;
    }

    .sbd-intro-section {
        padding: 40px 28px;
    }
}

@media (max-width: 768px) {
    .sbd-platforms-v2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .sbd-pc-special {
        grid-column: span 2;
    }

    .sbd-intro-section {
        padding: 32px 20px;
    }

    .sbd-intro-title {
        font-size: 20px;
    }

    .sbd-intro-stats {
        gap: 20px;
    }

    .sbd-intro-stat-num {
        font-size: 26px;
    }

    .sbd-notice-list {
        gap: 12px;
    }

    .sbd-filter-section {
        padding: 14px 16px;
    }
}
