/* ============================================================
   资源站新模板样式（rs- 前缀）— 首页 / 列表页 / 详情页
   依赖 layout（style.css / site-header.css / h5.css），
   本文件仅负责三页内容区，避免与旧样式冲突。
   主色：#0831cb
   ============================================================ */

/* ---------- 通用 ---------- */
.rs-home,
.rs-list,
.rs-detail {
    padding-bottom: 26px;
}

.rs-panel {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    overflow: hidden;
}

.rs-panel-head {
    padding: 11px 15px;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    background: #0831cb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rs-panel-head a {
    color: rgba(255, 255, 255, .8);
    font-size: 12px;
    font-weight: 400;
}

.rs-panel-head a:hover {
    color: #fff;
}

/* ---------- 首页：Hero 三栏 ---------- */
.rs-hero {
    padding: 14px 0;
}

.rs-hero-grid {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr) 250px;
    gap: 12px;
    align-items: stretch;
}

.rs-cat-list li + li {
    border-top: 1px solid #f1f5f9;
}

.rs-cat-list a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 15px;
    font-size: 14px;
}

.rs-cat-list a i {
    font-style: normal;
    font-size: 16px;
}

.rs-cat-list a:hover {
    background: #f5f7ff;
    color: #0831cb;
}

.rs-hero-main {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

/* 首页轮播高度约束（复用 common/home_portal_carousel） */
.rs-hero-main .home-portal-carousel {
    border-radius: 6px;
    overflow: hidden;
    flex: 1;
    min-height: 260px;
}

/* 公告滚动条 */
.rs-ticker {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    overflow: hidden;
}

.rs-ticker-label {
    flex: none;
    padding: 2px 10px;
    background: #f43f5e;
    color: #fff;
    font-size: 12px;
    border-radius: 3px;
}

.rs-ticker-scroll {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
}

.rs-ticker-track {
    display: inline-flex;
    gap: 34px;
    will-change: transform;
}

.rs-ticker-item {
    font-size: 13px;
    color: #64748b;
    white-space: nowrap;
}

.rs-ticker-item strong {
    color: #0831cb;
    font-weight: 600;
    margin: 0 2px;
}

.rs-notice-list li {
    border-bottom: 1px dashed #eef2f7;
}

.rs-notice-list li:last-child {
    border-bottom: 0;
}

.rs-notice-list a {
    display: flex;
    gap: 8px;
    padding: 9px 15px;
    font-size: 13px;
}

.rs-notice-list em {
    font-style: normal;
    width: 18px;
    height: 18px;
    flex: none;
    margin-top: 2px;
    background: #e2e8f0;
    color: #64748b;
    border-radius: 3px;
    font-size: 11px;
    text-align: center;
    line-height: 18px;
}

.rs-notice-list li:nth-child(-n + 3) em {
    background: #0831cb;
    color: #fff;
}

.rs-notice-list span {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rs-stats {
    margin-top: 12px;
    padding: 12px 15px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
    gap: 6px;
}

.rs-stats b {
    display: block;
    font-size: 18px;
    color: #0831cb;
}

.rs-stats span {
    font-size: 12px;
    color: #94a3b8;
}

/* ---------- 首页：区块 ---------- */
.rs-block {
    margin: 22px 0;
}

.rs-block-head {
    display: flex;
    align-items: center;
    margin-bottom: 14px;
}

.rs-block-head h2 {
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-left: 12px;
    position: relative;
}

.rs-block-head h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background: #0831cb;
    border-radius: 2px;
}

.rs-block-head .rs-block-more {
    margin-left: auto;
    font-size: 13px;
    color: #94a3b8;
}

.rs-block-head .rs-block-more:hover {
    color: #0831cb;
}

/* 资源卡片 */
.rs-res-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.rs-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    overflow: hidden;
    transition: transform .2s, box-shadow .2s, border-color .2s;
    position: relative;
    display: block;
}

.rs-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(8, 49, 203, .12);
    border-color: #c3cffe;
    color: #333;
}

.rs-card-tag {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 2;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 11px;
    color: #fff;
    background: rgba(15, 23, 42, .6);
    max-width: 70%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rs-card-cover {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 44px;
    background: #f1f5f9;
}

.rs-card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rs-card-body {
    padding: 10px 12px 12px;
}

.rs-card-body h3 {
    font-size: 14px;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rs-card-meta {
    margin-top: 8px;
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #94a3b8;
}

.rs-price {
    color: #f43f5e;
    font-weight: 700;
}

.rs-price.is-free {
    color: #10b981;
}

/* 新闻两栏 */
.rs-news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.rs-news-col {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 6px 18px;
}

.rs-news-col li {
    border-bottom: 1px dashed #eef2f7;
}

.rs-news-col li:last-child {
    border-bottom: 0;
}

.rs-news-col a {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    font-size: 14px;
}

.rs-news-col a::before {
    content: "•";
    color: #0831cb;
    margin-right: 8px;
}

.rs-news-col .rs-news-title {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rs-news-col time {
    font-size: 12px;
    color: #cbd5e1;
    flex: none;
}

/* 免责声明 */
.rs-disclaimer {
    margin: 18px 0;
}

.rs-disclaimer .container {
    background: #fffbe8;
    border: 1px solid #ffe58f;
    border-radius: 6px;
    padding: 14px 18px;
    color: #8c6d1f;
    font-size: 13px;
}

/* ---------- 列表页 ---------- */
.rs-list-main {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 12px;
    padding-top: 14px;
    align-items: start;
}

.rs-side-panel + .rs-side-panel {
    margin-top: 12px;
}

.rs-filter-bar {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 12px 16px;
    margin-bottom: 12px;
}

.rs-filter-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 5px 0;
    font-size: 13px;
}

.rs-filter-row + .rs-filter-row {
    border-top: 1px dashed #eef2f7;
}

.rs-filter-label {
    color: #94a3b8;
    flex: none;
    width: 60px;
    line-height: 26px;
}

.rs-filter-opts {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.rs-filter-opts a {
    padding: 3px 12px;
    border-radius: 3px;
    color: #64748b;
}

.rs-filter-opts a:hover {
    color: #0831cb;
}

.rs-filter-opts a.active {
    background: #0831cb;
    color: #fff;
}

.rs-filter-reset {
    color: #f43f5e !important;
}

/* 排序 / 搜索工具条 */
.rs-sort-bar {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 10px 16px;
    margin-bottom: 12px;
    font-size: 13px;
    flex-wrap: wrap;
}

.rs-sort-bar .rs-total {
    color: #94a3b8;
}

.rs-sort-bar .rs-total b {
    color: #f43f5e;
    font-size: 15px;
    margin: 0 2px;
}

.rs-inline-search {
    display: flex;
    margin-left: auto;
}

.rs-inline-search input {
    height: 34px;
    width: 220px;
    border: 1px solid #d7dce5;
    border-right: 0;
    border-radius: 4px 0 0 4px;
    padding: 0 12px;
    outline: none;
    font-size: 13px;
}

.rs-inline-search input:focus {
    border-color: #0831cb;
}

.rs-inline-search button {
    height: 34px;
    padding: 0 18px;
    background: #0831cb;
    color: #fff;
    border: 0;
    border-radius: 0 4px 4px 0;
    font-size: 13px;
    cursor: pointer;
}

.rs-inline-search button:hover {
    background: #062aa8;
}

/* 列表行 */
.rs-row {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 14px 16px;
    display: flex;
    gap: 14px;
    margin-bottom: 10px;
    transition: box-shadow .2s, border-color .2s;
}

.rs-row:hover {
    border-color: #c3cffe;
    box-shadow: 0 6px 16px rgba(8, 49, 203, .1);
}

.rs-row .rs-row-cover {
    width: 110px;
    height: 76px;
    flex: none;
    border-radius: 4px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    overflow: hidden;
}

.rs-row .rs-row-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.rs-row h3 {
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.rs-row h3 a {
    color: #333;
}

.rs-row h3 a:hover {
    color: #0831cb;
}

.rs-badge {
    font-size: 11px;
    font-weight: 400;
    padding: 1px 6px;
    border-radius: 3px;
    background: #fff1f2;
    color: #f43f5e;
}

.rs-badge.is-free {
    background: #ecfdf5;
    color: #10b981;
}

.rs-badge.is-vip {
    background: #fff7ed;
    color: #f59e0b;
}

.rs-badge.is-new {
    background: #eef2ff;
    color: #0831cb;
}

.rs-row .rs-row-desc {
    font-size: 13px;
    color: #94a3b8;
    margin: 4px 0 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rs-row .rs-row-attrs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    font-size: 12px;
    color: #cbd5e1;
}

.rs-row .rs-row-btn {
    flex: none;
    align-self: center;
    padding: 8px 18px;
    border-radius: 4px;
    background: #0831cb;
    color: #fff;
    font-size: 13px;
}

.rs-row .rs-row-btn:hover {
    background: #062aa8;
    color: #fff;
}

/* ---------- 详情页 ---------- */
.rs-goods {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 20px;
    display: grid;
    grid-template-columns: 400px minmax(0, 1fr);
    gap: 26px;
    margin-bottom: 12px;
    margin-top: 14px;
}

/* 图集 */
.rs-gallery-view {
    height: 280px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    overflow: hidden;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
}

.rs-gallery-view img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rs-gallery-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.rs-gallery-thumbs button {
    flex: 1;
    height: 60px;
    padding: 0;
    border: 2px solid #e5e7eb;
    border-radius: 4px;
    cursor: pointer;
    background: #f8fafc;
    overflow: hidden;
    transition: border-color .2s;
}

.rs-gallery-thumbs button img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rs-gallery-thumbs button.active,
.rs-gallery-thumbs button:hover {
    border-color: #0831cb;
}

/* 商品信息 */
.rs-goods-info h1 {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.4;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.rs-goods-kickers {
    display: flex;
    gap: 8px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.rs-goods-kickers a,
.rs-goods-kickers span {
    font-size: 12px;
    padding: 2px 10px;
    border-radius: 3px;
    background: #eef2ff;
    color: #0831cb;
}

.rs-goods-kickers span {
    background: #f1f5f9;
    color: #64748b;
}

.rs-goods-desc {
    margin-top: 10px;
    font-size: 13px;
    color: #94a3b8;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.rs-price-bar {
    background: #f8fafc;
    border: 1px solid #eef2f7;
    border-radius: 6px;
    padding: 12px 18px;
    margin: 14px 0;
    display: flex;
    align-items: baseline;
    gap: 20px;
    flex-wrap: wrap;
}

.rs-price-bar .rs-price-main {
    font-size: 26px;
    font-weight: 800;
    color: #f43f5e;
}

.rs-price-bar .rs-price-main.is-free {
    color: #10b981;
}

.rs-price-bar .rs-price-vip {
    font-size: 13px;
    color: #64748b;
}

.rs-price-bar .rs-price-vip a {
    color: #f59e0b;
    font-weight: 700;
}

.rs-goods-attrs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px 20px;
    font-size: 13px;
    margin-bottom: 14px;
}

.rs-goods-attrs li {
    color: #64748b;
}

.rs-goods-attrs b {
    color: #94a3b8;
    font-weight: 400;
    margin-right: 6px;
}

.rs-goods-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 24px;
    font-size: 13px;
    color: #94a3b8;
    padding-bottom: 14px;
    border-bottom: 1px dashed #eef2f7;
    margin-bottom: 14px;
}

.rs-goods-stats b {
    color: #0831cb;
    font-size: 15px;
    margin-right: 2px;
}

.rs-goods-btns {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.rs-btn-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 44px;
    border-radius: 4px;
    background: #0831cb;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
}

.rs-btn-download:hover {
    background: #062aa8;
    color: #fff;
}

.rs-btn-vip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 30px;
    border-radius: 4px;
    background: #f59e0b;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
}

.rs-btn-vip:hover {
    background: #d97706;
    color: #fff;
}

.rs-btn-ghost {
    display: inline-flex;
    align-items: center;
    padding: 10px 18px;
    border-radius: 4px;
    border: 1px solid #d7dce5;
    color: #64748b;
    font-size: 13px;
    background: #fff;
}

.rs-btn-ghost:hover {
    border-color: #0831cb;
    color: #0831cb;
}

.rs-goods-tags {
    margin-top: 12px;
    font-size: 12px;
    color: #94a3b8;
}

.rs-goods-tags a {
    display: inline-block;
    margin-right: 8px;
    padding: 2px 10px;
    background: #f1f5f9;
    border-radius: 3px;
    color: #64748b;
}

.rs-goods-tags a:hover {
    background: #eef2ff;
    color: #0831cb;
}

/* 详情主体 */
.rs-detail-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 12px;
    align-items: start;
}

.rs-detail-tabs {
    display: flex;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-bottom: 0;
    border-radius: 6px 6px 0 0;
    overflow-x: auto;
}

.rs-detail-tabs a {
    padding: 12px 24px;
    font-size: 15px;
    color: #64748b;
    position: relative;
    white-space: nowrap;
}

.rs-detail-tabs a:hover,
.rs-detail-tabs a.active {
    color: #0831cb;
    font-weight: 700;
}

.rs-detail-tabs a.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    background: #0831cb;
}

.rs-detail-body {
    border: 1px solid #e5e7eb;
    border-radius: 0 0 6px 6px;
    background: #fff;
    padding: 24px 28px;
}

.rs-detail-section {
    margin-bottom: 28px;
}

.rs-detail-section:last-child {
    margin-bottom: 0;
}

.rs-detail-section h3 {
    font-size: 16px;
    font-weight: 700;
    color: #0831cb;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.rs-detail-section h3::before {
    content: "";
    width: 4px;
    height: 16px;
    background: #0831cb;
    border-radius: 2px;
}

.rs-detail-content {
    font-size: 14px;
    color: #475569;
    line-height: 1.9;
    word-break: break-word;
}

.rs-detail-content img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 8px 0;
}

/* 规格参数 */
.rs-spec-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border: 1px solid #eef2f7;
    border-radius: 4px;
    overflow: hidden;
}

.rs-spec-grid .rs-spec-item {
    display: flex;
    font-size: 13px;
    border-bottom: 1px solid #eef2f7;
}

.rs-spec-grid .rs-spec-label {
    width: 110px;
    flex: none;
    background: #f8fafc;
    color: #94a3b8;
    padding: 9px 14px;
}

.rs-spec-grid .rs-spec-value {
    padding: 9px 14px;
    color: #475569;
}

/* 截图 */
.rs-shots {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.rs-shots img {
    width: 100%;
    height: 130px;
    object-fit: cover;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
}

/* 下载通道 */
.rs-disk-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    margin-bottom: 10px;
    transition: border-color .2s, box-shadow .2s;
}

.rs-disk-list li:hover {
    border-color: #c3cffe;
    box-shadow: 0 4px 12px rgba(8, 49, 203, .08);
}

.rs-disk-info {
    flex: 1;
    min-width: 0;
}

.rs-disk-top {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.rs-disk-type {
    padding: 2px 10px;
    border-radius: 3px;
    color: #fff;
    font-size: 12px;
}

.rs-disk-top strong {
    font-size: 14px;
}

.rs-disk-vip-tag {
    font-size: 12px;
    color: #f59e0b;
    background: #fff7ed;
    padding: 1px 8px;
    border-radius: 3px;
}

.rs-disk-code {
    margin-top: 6px;
    font-size: 13px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 8px;
}

.rs-disk-code code {
    background: #f1f5f9;
    padding: 1px 8px;
    border-radius: 3px;
    color: #0831cb;
    font-weight: 700;
}

.rs-disk-code button {
    border: 1px solid #d7dce5;
    background: #fff;
    border-radius: 3px;
    padding: 1px 10px;
    font-size: 12px;
    color: #64748b;
    cursor: pointer;
}

.rs-disk-code button:hover {
    border-color: #0831cb;
    color: #0831cb;
}

.rs-disk-btn {
    flex: none;
    padding: 10px 24px;
    border-radius: 4px;
    background: #0831cb;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.rs-disk-btn:hover {
    background: #062aa8;
    color: #fff;
}

.rs-disk-btn.is-disabled {
    background: #cbd5e1;
    color: #fff;
    cursor: not-allowed;
}

.rs-disk-btn.is-warn {
    background: #f59e0b;
}

.rs-empty-box {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 40px 0;
    text-align: center;
    color: #94a3b8;
}

.rs-empty-box .ico {
    font-size: 44px;
    display: block;
    margin-bottom: 8px;
}

.rs-tip {
    background: #fffbe8;
    border: 1px solid #ffe58f;
    border-radius: 6px;
    padding: 10px 14px;
    color: #8c6d1f;
    font-size: 13px;
    margin-bottom: 12px;
}

.rs-tip a {
    color: #0831cb;
    font-weight: 700;
}

/* 版权 */
.rs-copyright-box {
    background: #f8fafc;
    border: 1px solid #eef2f7;
    border-radius: 6px;
    padding: 14px 18px;
    font-size: 13px;
    color: #64748b;
    line-height: 1.9;
}

.rs-copyright-box a {
    color: #0831cb;
}

/* 右侧栏 */
.rs-rank-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    border-bottom: 1px solid #f1f5f9;
}

.rs-rank-list li:last-child {
    border-bottom: 0;
}

.rs-rank-list em {
    font-style: normal;
    width: 20px;
    height: 20px;
    flex: none;
    border-radius: 4px;
    background: #e2e8f0;
    color: #64748b;
    font-size: 12px;
    text-align: center;
    line-height: 20px;
}

.rs-rank-list li:nth-child(1) em {
    background: #f43f5e;
    color: #fff;
}

.rs-rank-list li:nth-child(2) em {
    background: #f59e0b;
    color: #fff;
}

.rs-rank-list li:nth-child(3) em {
    background: #0831cb;
    color: #fff;
}

.rs-rank-list a {
    flex: 1;
    min-width: 0;
    font-size: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rs-rank-list .rs-rank-cnt {
    font-size: 12px;
    color: #cbd5e1;
    flex: none;
}

/* 猜你喜欢卡片 */
.rs-guess-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 12px;
}

.rs-guess-card {
    border: 1px solid #eef2f7;
    border-radius: 6px;
    overflow: hidden;
    display: block;
    transition: box-shadow .2s, border-color .2s;
}

.rs-guess-card:hover {
    border-color: #c3cffe;
    box-shadow: 0 6px 14px rgba(8, 49, 203, .1);
}

.rs-guess-card .rs-guess-cover {
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    background: #f1f5f9;
    overflow: hidden;
}

.rs-guess-card .rs-guess-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rs-guess-card .rs-guess-info {
    padding: 8px 10px 10px;
}

.rs-guess-card h4 {
    font-size: 13px;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #333;
}

.rs-guess-card:hover h4 {
    color: #0831cb;
}

/* 客服卡片 */
.rs-service-box {
    padding: 18px 15px;
    text-align: center;
}

.rs-service-box .ico {
    font-size: 34px;
    display: block;
}

.rs-service-box .t {
    font-weight: 700;
    margin: 6px 0 2px;
}

.rs-service-box .s {
    font-size: 12px;
    color: #94a3b8;
    margin-bottom: 12px;
}

.rs-service-box .rs-btn-ghost {
    display: block;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1000px) {
    .rs-hero-grid {
        grid-template-columns: 1fr;
    }

    .rs-hero-main .home-portal-carousel {
        min-height: 180px;
    }

    .rs-res-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .rs-list-main {
        grid-template-columns: 1fr;
    }

    .rs-goods {
        grid-template-columns: 1fr;
    }

    .rs-detail-main {
        grid-template-columns: 1fr;
    }

    .rs-news-grid {
        grid-template-columns: 1fr;
    }

    .rs-spec-grid {
        grid-template-columns: 1fr;
    }

    .rs-inline-search {
        margin-left: 0;
        width: 100%;
    }

    .rs-inline-search input {
        flex: 1;
        width: auto;
    }
}

@media (max-width: 640px) {
    .rs-res-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .rs-row {
        flex-direction: column;
    }

    .rs-row .rs-row-btn {
        align-self: flex-end;
    }

    .rs-shots {
        grid-template-columns: repeat(2, 1fr);
    }

    .rs-goods-btns .rs-btn-download,
    .rs-goods-btns .rs-btn-vip {
        flex: 1;
        padding-left: 10px;
        padding-right: 10px;
    }

    .rs-disk-list li {
        flex-direction: column;
        align-items: stretch;
    }

    .rs-disk-btn {
        text-align: center;
    }
}
