body {
    margin: 0;
    padding: 0;
    font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Microsoft YaHei", sans-serif;
    background-color: #f7f8fa;
    color: #333;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
.rivercontainer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 10px;
    box-sizing: border-box;
}
.riverheader {
    background-color: #0070e6;
    border-bottom: 2px solid #0056b3;
    position: sticky;
    top: 0;
    z-index: 999;
}
.riverheader .riverinner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    height: 56px;
}
.riverlogo img {
    height: 24px;
    vertical-align: middle;
    filter: brightness(0) invert(1);
}
.rivernav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 20px;
}
.rivernav li a {
    color: #e0f0ff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}
.rivernav li a:hover, .rivernav li a.riveractive {
    color: #ffffff;
    border-bottom: 2px solid #ffffff;
    padding-bottom: 16px;
}
.rivernoticebar {
    background-color: #ffffff;
    border: 1px solid #e3e4e6;
    padding: 10px 15px;
    margin: 10px auto 20px;
    border-radius: 4px;
    font-size: 13px;
    color: #666;
    display: flex;
    align-items: center;
}
.rivernoticebar::before {
    content: "公告";
    background-color: #0070e6;
    color: #fff;
    padding: 2px 6px;
    font-size: 11px;
    border-radius: 2px;
    margin-right: 10px;
}
.riversectitle {
    font-size: 15px;
    font-weight: bold;
    color: #111;
    margin: 25px 0 15px;
    border-left: 3px solid #0070e6;
    padding-left: 10px;
    text-transform: uppercase;
}
.riversubcatbar {
    background: linear-gradient(135deg, #0070e6, #0088ff);
    color: #fff;
    padding: 12px 15px;
    border-radius: 4px 4px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    font-size: 14px;
}
.riversubcatlinks {
    display: flex;
    gap: 10px;
    font-size: 11px;
    font-weight: normal;
    overflow-x: auto;
    white-space: nowrap;
}
.riversubcatlinks span {
    border: 1px solid rgba(255,255,255,0.3);
    padding: 2px 6px;
    border-radius: 2px;
}
.rivergridone {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr;
    gap: 15px;
    margin-bottom: 25px;
}
.riveroneleft, .riveroneright, .riveronemid {
    background: #ffffff;
    border: 1px solid #e3e4e6;
    border-radius: 4px;
    padding: 15px;
}
.riveronerow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px dashed #f0f0f0;
}
.riveronerow:last-child {
    border-bottom: none;
}
.riveronerow img {
    width: 32px;
    height: 32px;
    object-fit: cover;
    border-radius: 2px;
    margin-right: 10px;
}
.riveronename {
    font-size: 13px;
    color: #333;
    text-decoration: none;
    flex-grow: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.riveroneprice {
    color: #0070e6;
    font-weight: bold;
}
.rivertaggroup {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.rivertagpill {
    font-size: 11px;
    color: #fff;
    padding: 4px 8px;
    border-radius: 2px;
    font-weight: bold;
    text-transform: uppercase;
}
.rivertagpill.rivergreen { background-color: #2fba2f; }
.rivertagpill.riverorange { background-color: #f2994a; }
.rivertagpill.riverred { background-color: #eb5757; }
.rivertagpill.riverblue { background-color: #0070e6; }
.riverrankitem {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    padding: 8px 0;
}
.riverranknum {
    background: #0070e6;
    color: #fff;
    font-size: 11px;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
}
.riverranktext {
    font-size: 12px;
    color: #555;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.rivergridtwo {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    background: #ffffff;
    border: 1px solid #e3e4e6;
    border-top: none;
    padding: 15px;
    border-radius: 0 0 4px 4px;
    margin-bottom: 25px;
}
.rivercardtwo {
    text-decoration: none;
    text-align: center;
    display: block;
}
.rivercardtwo img {
    width: 36px;
    height: 36px;
    object-fit: cover;
    border-radius: 2px;
    margin-bottom: 6px;
}
.rivertitletwo {
    font-size: 11px;
    color: #555;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.riverpricetwo {
    color: #0070e6;
    font-weight: bold;
    font-size: 11px;
    margin-top: 4px;
}
.rivergridthree {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}
.rivercardthree {
    background: #ffffff;
    border: 1px solid #e3e4e6;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    border-radius: 4px;
}
.rivercardthree img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}
.riverdetailwrap {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    margin-top: 20px;
}
.rivercard {
    background: #ffffff;
    border: 1px solid #e3e4e6;
    border-radius: 4px;
    padding: 20px;
}
.riverprodtitle {
    font-size: 20px;
    font-weight: bold;
    color: #111;
    margin-bottom: 12px;
}
.rivermeta {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: #888;
    border-bottom: 1px dashed #e3e4e6;
    padding-bottom: 10px;
    margin-bottom: 20px;
}
.riverfield {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}
.riverfield label {
    width: 100px;
    font-size: 13px;
    color: #555;
}
.riverfield input, .riverfield select {
    flex: 1;
    height: 38px;
    border: 1px solid #e3e4e6;
    border-radius: 4px;
    padding: 0 10px;
    outline: none;
    box-sizing: border-box;
}
.riverfield input:focus {
    border-color: #0070e6;
}
.riverbuybtn {
    width: 100%;
    height: 44px;
    background: #0070e6;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
}
.riverbuybtn:hover {
    background: #0056b3;
}
.riverfooter {
    background: #1a1a1a;
    border-top: 3px solid #0070e6;
    padding: 30px 0;
    text-align: center;
    margin-top: 40px;
}
.riverfooterlinks {
    margin-bottom: 12px;
}
.riverfooterlinks a {
    color: #bbb;
    text-decoration: none;
    font-size: 13px;
    margin: 0 10px;
}
.riverfooterlinks a:hover {
    color: #ffffff;
}
.rivercopyright {
    color: #777;
    font-size: 11px;
}
.riverorderbox {
    background: #ffffff;
    border: 1px solid #e3e4e6;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 12px;
}
.riverkami {
    color: #2fba2f;
    font-weight: bold;
}
@media (max-width: 768px) {
    .rivergridone { grid-template-columns: 1fr; }
    .rivergridtwo { grid-template-columns: repeat(3, 1fr); }
    .rivergridthree { grid-template-columns: repeat(2, 1fr); }
    .riverdetailwrap { grid-template-columns: 1fr; }
}