body {
    margin: 0;
    padding: 0;
    background: #f7f8fa;
    color: #1d2129;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 13px;
    line-height: 1.6;
}
a {
    color: #1d2129;
    text-decoration: none;
    transition: color 0.2s;
}
a:hover {
    color: #00a2e6;
}
.riv-top-bar {
    background: #ffffff;
    border-bottom: 1px solid #e5e6eb;
}
.riv-top-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.riv-logo img {
    height: 38px;
    display: block;
}
.riv-sub-bar {
    background: #2d3238;
}
.riv-sub-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.riv-nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}
.riv-nav-links a {
    color: #ffffff;
    padding: 12px 18px;
    display: block;
    font-size: 13px;
    font-weight: bold;
    opacity: 0.9;
}
.riv-nav-links a:hover, .riv-nav-links .clx-active {
    opacity: 1;
    background: #1d2129;
}
.riv-notice {
    max-width: 1200px;
    margin: 15px auto 0;
    background: #eef7fe;
    border: 1px solid #bce1fa;
    color: #1b6d9e;
    padding: 10px 20px;
    border-radius: 3px;
    font-size: 12px;
}
.riv-main {
    max-width: 1200px;
    margin: 20px auto 40px;
    padding: 0 20px;
}
.riv-sec-title {
    font-size: 16px;
    font-weight: bold;
    color: #2d3238;
    border-bottom: 2px solid #2d3238;
    padding-bottom: 8px;
    margin: 30px 0 15px 0;
    text-align: center;
}
.riv-box-a {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}
.riv-a-left {
    flex: 2;
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid #e5e6eb;
}
.riv-a-left img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}
.riv-a-left-text {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(0,0,0,0.6);
    color: #ffffff;
    padding: 15px;
    box-sizing: border-box;
}
.riv-a-left-text h3 {
    margin: 0 0 5px 0;
    font-size: 16px;
}
.riv-a-right-grid {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.riv-a-small-card {
    background: #ffffff;
    border: 1px solid #e5e6eb;
    border-radius: 4px;
    padding: 10px;
    display: flex;
    gap: 12px;
}
.riv-a-small-img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 3px;
    flex-shrink: 0;
    border: 1px solid #e5e6eb;
}
.riv-a-small-info {
    flex: 1;
    min-width: 0;
}
.riv-a-small-name {
    font-size: 12px;
    font-weight: bold;
    margin: 0 0 4px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.riv-price-red {
    color: #ff4d4f;
    font-weight: bold;
    font-size: 11px;
}
.riv-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}
.riv-grid-card {
    background: #ffffff;
    border: 1px solid #e5e6eb;
    border-radius: 4px;
    padding: 12px;
    transition: transform 0.2s;
}
.riv-grid-card:hover {
    transform: translateY(-2px);
    border-color: #00a2e6;
}
.riv-grid-img-box {
    width: 100%;
    aspect-ratio: 1.5;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 10px;
    border: 1px solid #e5e6eb;
    display: flex;
    align-items: center;
    justify-content: center;
}
.riv-grid-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.riv-grid-name {
    font-size: 13px;
    font-weight: bold;
    margin: 0 0 8px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.riv-grid-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.riv-btn-sm {
    background: #00a2e6;
    color: #ffffff;
    border: none;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: bold;
    border-radius: 2px;
    cursor: pointer;
}
.riv-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 25px;
}
.riv-f-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #ffffff;
    border: 1px solid #e5e6eb;
    padding: 15px;
    border-radius: 4px;
}
.riv-f-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #e5e6eb;
}
.riv-f-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.riv-f-img {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid #e5e6eb;
}
.riv-f-info {
    flex: 1;
    min-width: 0;
}
.riv-f-title {
    font-size: 12px;
    font-weight: bold;
    margin: 0 0 4px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.riv-box-vip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}
.riv-vip-card {
    border-radius: 4px;
    padding: 20px;
    text-align: center;
    color: #ffffff;
}
.riv-vip-name {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
}
.riv-vip-price {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
}
.riv-vip-list {
    font-size: 12px;
    opacity: 0.9;
    line-height: 2;
    margin-bottom: 20px;
}
.riv-btn-vip {
    background: #ffffff;
    border: none;
    padding: 8px 20px;
    font-weight: bold;
    border-radius: 20px;
    cursor: pointer;
    font-size: 12px;
}
.riv-bottom-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}
.riv-bottom-card {
    border: 1px solid #e5e6eb;
    border-radius: 4px;
    padding: 12px;
    text-align: center;
    background: #ffffff;
}
.riv-bottom-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e5e6eb;
}
.riv-bottom-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.riv-bottom-name {
    font-size: 12px;
    font-weight: bold;
    margin: 0 0 5px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.riv-footer {
    background: #ffffff;
    border-top: 1px solid #e5e6eb;
    padding: 30px 0;
    text-align: center;
    color: #86909c;
    font-size: 12px;
}
.riv-footer-links {
    margin-bottom: 12px;
    display: flex;
    justify-content: center;
    gap: 20px;
}
.riv-footer-links a {
    color: #4e5969;
}
.riv-footer-links a:hover {
    color: #00a2e6;
}
.riv-detail-grid {
    display: flex;
    gap: 20px;
}
.riv-detail-l {
    flex: 1;
    min-width: 0;
}
.riv-detail-r {
    width: 300px;
    flex-shrink: 0;
}
.riv-detail-box {
    background: #ffffff;
    border: 1px solid #e5e6eb;
    border-radius: 4px;
    padding: 30px;
    margin-bottom: 20px;
}
.riv-detail-top {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    border-bottom: 1px dashed #e5e6eb;
    padding-bottom: 30px;
}
.riv-detail-media {
    width: 140px;
    height: 140px;
    border: 1px solid #e5e6eb;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.riv-detail-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.riv-detail-form {
    flex: 1;
}
.riv-d-title {
    font-size: 20px;
    font-weight: bold;
    margin: 0 0 15px 0;
}
.riv-d-price-row {
    background: #fafafa;
    padding: 12px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-radius: 3px;
    border: 1px solid #e5e6eb;
}
.riv-d-price {
    font-size: 22px;
    font-weight: bold;
    color: #e02020;
}
.riv-form-group {
    margin-bottom: 15px;
}
.riv-form-group label {
    display: block;
    font-size: 12px;
    margin-bottom: 8px;
    font-weight: bold;
}
.riv-input {
    width: 100%;
    height: 38px;
    border: 1px solid #e5e6eb;
    padding: 0 12px;
    box-sizing: border-box;
    outline: none;
    border-radius: 3px;
}
.riv-input:focus {
    border-color: #00a2e6;
}
.riv-btn-orange {
    width: 100%;
    height: 44px;
    background: #ff5a00;
    color: #ffffff;
    border: none;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 3px;
}
.riv-btn-orange:hover {
    background: #e04f00;
}
.riv-btn-orange:disabled {
    background: #cccccc;
    cursor: not-allowed;
}
.riv-desc-box {
    line-height: 1.8;
    color: #555555;
}
.riv-auth-wrap {
    background: #ffffff;
    border: 1px solid #e5e6eb;
    max-width: 440px;
    margin: 40px auto;
}
.riv-auth-tabs {
    display: flex;
    background: #fdfdfd;
    border-bottom: 1px solid #e5e6eb;
}
.riv-auth-tab {
    flex: 1;
    text-align: center;
    line-height: 48px;
    font-size: 12px;
    color: #666666;
}
.riv-auth-tabs .clx-active {
    color: #00a2e6;
    font-weight: bold;
    border-bottom: 2px solid #00a2e6;
}
.riv-auth-body {
    padding: 30px;
}
.riv-mini-table {
    border: 1px solid #e5e6eb;
    margin-top: 20px;
}
.riv-mini-tr {
    display: flex;
    padding: 10px 12px;
    border-bottom: 1px solid #e5e6eb;
    align-items: center;
}
.riv-mini-tr:last-child {
    border-bottom: none;
}
.riv-mini-th {
    background: #fafafa;
    font-weight: bold;
}
.riv-mini-td {
    flex: 1;
    min-width: 0;
}
.riv-simple-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 10px;
    border-bottom: 1px dashed #e5e6eb;
    margin-bottom: 10px;
}
.riv-simple-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.riv-simple-left {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
}
.riv-simple-img {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #e5e6eb;
}
@media (max-width: 900px) {
    .riv-top-inner {
        flex-direction: column;
        gap: 15px;
    }
    .riv-search-box {
        width: 100%;
    }
    .riv-grid-4, .riv-box-vip {
        grid-template-columns: repeat(2, 1fr);
    }
    .riv-box-a, .riv-bottom-row, .riv-detail-grid, .riv-grid-3 {
        flex-direction: column;
    }
    .riv-a-left, .riv-a-right-grid, .riv-bot-col-l, .riv-bot-col-r, .riv-detail-r {
        width: 100%;
    }
    .riv-bottom-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}