* {
    box-sizing: border-box;
}

html {
    background: #f5f6fa;
    color: #202124;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    letter-spacing: 0;
}

body {
    margin: 0;
    padding-top: 0 !important;
    background: #f5f6fa;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    border: 0;
    font: inherit;
    outline: 0;
}

.rz-page {
    min-height: 100vh;
    max-width: 750px;
    margin: 0 auto;
    background: #f5f6fa;
    box-shadow: 0 0 0 1px rgba(19, 23, 37, .02);
}

.rz-home {
    padding-bottom: 92px;
}

.rz-main {
    background: #f5f6fa;
}

.rz-home-main {
    padding: 10px 15px 0;
    background: #f5f6fa;
}

.rz-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.rz-logo-img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.rz-brand-name {
    font-size: 21px;
    font-weight: 700;
}

.rz-search {
    display: flex;
    align-items: center;
    height: 48px;
    margin-bottom: 8px;
    padding: 6px;
    border-radius: 8px;
    background: #fff;
    color: #222;
}

.rz-city {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 36px;
    padding: 0 12px;
    border-right: 1px solid #d9dde5;
    border-radius: 6px 0 0 6px;
    background: #f2f3f5;
    font-size: 15px;
    white-space: nowrap;
    cursor: pointer;
}

.rz-search-field {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
    height: 36px;
    padding: 0 12px;
    border-radius: 0 6px 6px 0;
    background: #f2f3f5;
    color: #adb3bc;
    font-size: 15px;
}

.rz-search-form {
    margin: 0;
}

.rz-search-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    padding: 0;
    color: #adb3bc;
    background: transparent;
}

.rz-search-input {
    min-width: 0;
    flex: 1;
    height: 100%;
    color: #4a4f58;
    font-size: 14px;
    background: transparent;
}

.rz-search-input::placeholder {
    color: #adb3bc;
}

.rz-search-placeholder {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rz-search-link {
    cursor: pointer;
}

.rz-city-picker {
    position: fixed;
    inset: 0;
    z-index: 120;
    visibility: hidden;
    pointer-events: none;
}

.rz-city-picker.is-open {
    visibility: visible;
    pointer-events: auto;
}

.rz-city-mask {
    position: absolute;
    inset: 0;
    background: rgba(17, 21, 34, .45);
    opacity: 0;
    transition: opacity .2s ease;
}

.rz-city-picker.is-open .rz-city-mask {
    opacity: 1;
}

.rz-city-panel {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    max-width: 750px;
    margin: 0 auto;
    padding: 14px 28px 20px 15px;
    border-radius: 14px 14px 0 0;
    background: #fff;
    transform: translateY(100%);
    transition: transform .22s ease;
}

.rz-city-picker.is-open .rz-city-panel {
    transform: translateY(0);
}

.rz-city-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.rz-city-panel-head strong {
    font-size: 16px;
    font-weight: 700;
}

.rz-city-close {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f2f3f5;
    color: #737b87;
    font-size: 13px;
}

.rz-city-locate {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 34px;
    margin-bottom: 10px;
    padding: 0 12px;
    border-radius: 18px;
    background: #f1f6ff;
    color: #3274ff;
    font-size: 13px;
}

.rz-city-searchbox {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 36px;
    margin-bottom: 10px;
    padding: 0 10px;
    border-radius: 8px;
    background: #f4f5f7;
    color: #9aa1ad;
}

.rz-city-searchbox input {
    min-width: 0;
    flex: 1;
    height: 100%;
    background: transparent;
    color: #2f3440;
    font-size: 14px;
}

.rz-city-content {
    max-height: 52vh;
    overflow-y: auto;
    padding-bottom: 8px;
}

.rz-city-section-title {
    margin: 6px 0 10px;
    color: #7f8792;
    font-size: 12px;
    font-weight: 500;
}

.rz-city-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.rz-city-hot-list {
    margin-bottom: 12px;
}

.rz-city-all-list {
    display: block;
}

.rz-city-alpha-section {
    margin-bottom: 10px;
}

.rz-city-alpha-title {
    margin: 0 0 8px;
    color: #8b93a0;
    font-size: 12px;
    font-weight: 600;
}

.rz-city-all-grid {
    margin-bottom: 0;
}

.rz-city-letter-nav {
    position: absolute;
    top: 114px;
    right: 6px;
    bottom: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    width: 16px;
    z-index: 2;
}

.rz-city-letter-item {
    width: 16px;
    height: 14px;
    padding: 0;
    color: #8c94a2;
    font-size: 10px;
    line-height: 14px;
    text-align: center;
    background: transparent;
}

.rz-city-item {
    height: 32px;
    padding: 0 8px;
    border-radius: 6px;
    background: #f4f5f7;
    color: #3d4450;
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rz-city-empty {
    grid-column: 1 / -1;
    padding: 12px 0;
    color: #9aa1ad;
    font-size: 13px;
    text-align: center;
    background: transparent;
}

.rz-city-hot-list .rz-city-empty {
    text-align: left;
    padding: 0 2px 4px;
    color: #7f8792;
}

.rz-banner {
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
}

.rz-banner-track {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.rz-banner-track::-webkit-scrollbar {
    display: none;
}

.rz-banner-item {
    display: block;
    min-width: 100%;
    aspect-ratio: 690 / 282;
    overflow: hidden;
    border-radius: 8px;
    background: #f5f5f5;
    scroll-snap-align: start;
}

.rz-banner-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rz-hero {
    position: relative;
    min-height: 148px;
    overflow: hidden;
    padding: 22px 18px;
    border-radius: 8px;
    background: linear-gradient(105deg, #fa1d10 0%, #ff3b10 48%, #ff8d26 100%);
    color: #fff;
}

.rz-hero h1 {
    position: relative;
    z-index: 1;
    margin: 0;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.45;
}

.rz-hero p {
    position: relative;
    z-index: 1;
    display: inline-block;
    margin: 10px 0 0;
    padding: 4px 18px;
    border-radius: 8px;
    background: rgba(180, 0, 0, .55);
    font-size: 17px;
    font-weight: 600;
}

.rz-hero-art {
    position: absolute;
    right: -8px;
    bottom: 8px;
    width: 145px;
    height: 118px;
}

.rz-hero-card {
    position: absolute;
    right: 35px;
    bottom: 20px;
    width: 82px;
    height: 88px;
    border-radius: 10px;
    background: linear-gradient(150deg, #fff8e4, #ffd29d);
    box-shadow: 0 8px 16px rgba(180, 0, 0, .22);
    transform: rotate(3deg);
}

.rz-hero-card:before {
    content: "";
    position: absolute;
    left: 18px;
    top: 20px;
    width: 48px;
    height: 9px;
    border-top: 9px solid #f74732;
    border-bottom: 9px solid #f74732;
}

.rz-hero-card:after {
    content: "";
    position: absolute;
    left: 20px;
    bottom: 22px;
    width: 46px;
    height: 16px;
    border: 5px solid #f74732;
    border-top: 0;
    border-radius: 0 0 20px 20px;
}

.rz-hero-plane {
    position: absolute;
    right: 3px;
    bottom: 44px;
    width: 72px;
    height: 31px;
    background: #fff1b4;
    clip-path: polygon(0 35%, 100% 0, 58% 100%, 45% 58%);
    transform: rotate(-13deg);
}

.rz-coin {
    position: absolute;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #fff4aa, #ffc21a 70%);
    box-shadow: 0 3px 8px rgba(160, 64, 0, .28);
}

.rz-coin:nth-child(1) { right: 115px; bottom: 92px; }
.rz-coin:nth-child(2) { right: 25px; bottom: 96px; width: 18px; height: 18px; }
.rz-coin:nth-child(3) { right: 4px; bottom: 14px; width: 28px; height: 28px; }

.rz-category-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
    padding: 12px 6px 10px;
    margin-top: 8px;
    margin-bottom: 10px;
    border-radius: 8px;
    background: #fff;
}

.rz-category {
    min-width: 0;
    color: #222;
    text-align: center;
}

.rz-category img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.rz-category-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(140deg, #ff7f6b, #f45345);
    color: #fff;
    font-size: 14px;
}

.rz-category-label {
    display: block;
    margin-top: 6px;
    color: #353a44;
    font-style: normal;
    font-size: 12px;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rz-match {
    display: flex;
    min-height: 128px;
    align-items: center;
    justify-content: space-between;
    padding: 18px 18px 16px;
    margin: 0 15px 10px;
    border-radius: 8px;
    background: #fff;
}

.rz-match h2 {
    margin: 0 0 14px;
    color: #3126af;
    font-size: 23px;
    font-weight: 800;
    line-height: 1.25;
}

.rz-match-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 16px;
    border-radius: 6px;
    background: #7566f2;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
}

.rz-match-art {
    position: relative;
    flex: 0 0 126px;
    height: 86px;
}

.rz-person {
    position: absolute;
    left: 25px;
    bottom: 3px;
    width: 70px;
    height: 70px;
    border-radius: 42% 42% 14px 14px;
    background: #ff9c68;
    transform: rotate(-17deg);
}

.rz-person:before {
    content: "";
    position: absolute;
    left: 10px;
    top: -14px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #9c005f;
}

.rz-laptop {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 68px;
    height: 46px;
    border-radius: 5px 5px 1px 1px;
    background: #2f7de7;
}

.rz-laptop:after {
    content: "";
    position: absolute;
    left: -8px;
    right: -12px;
    bottom: -7px;
    height: 8px;
    border-radius: 9px;
    background: #63a2ff;
}

.rz-panel {
    padding: 0 15px;
    background: #f5f6fa;
}

.rz-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 50px;
    padding: 0 10px;
    border-radius: 8px 8px 0 0;
    background: #fff;
}

.rz-section-head h2 {
    margin: 0;
    font-size: 17px;
    font-weight: 800;
}

.rz-more-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #999;
    font-size: 15px;
}

.rz-product {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 78px;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    padding: 12px 12px 12px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #f1f2f4;
    box-shadow: 0 1px 4px rgba(31, 40, 58, .03);
}

.rz-product:last-child {
    margin-bottom: 0;
}

.rz-product-empty {
    grid-template-columns: 1fr;
    padding: 18px 14px;
}

.rz-empty-text {
    color: #8f949c;
    font-size: 14px;
    text-align: center;
}

.rz-product-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: #4b5565;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rz-commission-tag {
    flex: 0 0 auto;
    max-width: 132px;
    padding: 2px 8px;
    border: 1px solid #ffd7d2;
    border-radius: 999px;
    background: #fff7f6;
    color: #f04d3f;
    font-size: 10px;
    font-style: normal;
    font-weight: 500;
    line-height: 15px;
    letter-spacing: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rz-mini-logo {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.rz-product-fallback {
    display: inline-flex;
    flex: 0 0 18px;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #21c0a5;
    color: #fff;
    font-size: 12px;
}

.rz-product-metrics {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .95fr);
    gap: 14px;
}

.rz-metric strong {
    display: block;
    color: #fb493f;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.15;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rz-metric:nth-child(2) strong {
    color: #727986;
}

.rz-metric span {
    display: block;
    margin-top: 4px;
    color: #8f949c;
    font-size: 10px;
    line-height: 1.2;
}

.rz-promote {
    align-self: center;
    justify-self: end;
    width: 76px;
    height: 30px;
    border-radius: 15px;
    background: linear-gradient(90deg, #ff5646, #ff3d31);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    line-height: 30px;
    text-align: center;
}

.rz-tabbar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 20;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    max-width: 750px;
    height: 72px;
    padding-bottom: env(safe-area-inset-bottom, 0);
    margin: 0 auto;
    border-top: 1px solid #ededed;
    background: rgba(255, 255, 255, .97);
}

.rz-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: #898989;
    font-size: 13px;
}

.rz-tab-icon-wrap {
    position: relative;
    width: 22px;
    height: 22px;
}

.rz-tab-icon {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.rz-tab-icon-active {
    display: none;
}

.rz-tab.active {
    color: #f34c43;
}

.rz-tab.active .rz-tab-icon-default {
    display: none;
}

.rz-tab.active .rz-tab-icon-active {
    display: block;
}

.rz-mine-page {
    min-height: 100vh;
    padding-bottom: 88px;
    background: #f5f6fa;
}

.rz-mine-nav {
    position: sticky;
    top: 0;
    z-index: 12;
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) 56px;
    align-items: center;
    height: 48px;
    background: #fff;
    color: #111827;
}

.rz-mine-nav a,
.rz-mine-nav span {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 28px;
}

.rz-mine-nav span {
    font-size: 22px;
}

.rz-mine-nav strong {
    overflow: hidden;
    font-size: 18px;
    font-weight: 500;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rz-mine-main {
    padding: 12px 12px 20px;
    background: #f5f6fa;
}

.rz-mine-hero {
    position: relative;
    overflow: hidden;
    margin-bottom: 12px;
    padding: 16px 14px;
    border-radius: 12px;
    background: #fff;
    color: #20242b;
    box-shadow: 0 5px 16px rgba(31, 38, 52, .04);
}

.rz-mine-hero:after {
    content: none;
    position: absolute;
    right: 20%;
    bottom: -42px;
    width: 175px;
    height: 92px;
    background: linear-gradient(145deg, rgba(255, 255, 255, .96), rgba(223, 235, 245, .65));
    clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.rz-mine-user {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    width: 100%;
    min-width: 0;
    text-align: left;
}

.rz-mine-user img {
    flex: 0 0 auto;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #f1f3f8;
    border: 2px solid #fff;
    box-shadow: 0 6px 14px rgba(31, 38, 52, .08);
    object-fit: cover;
}

.rz-mine-user h1 {
    margin: 0;
    color: #20242b;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.25;
    word-break: break-word;
}

.rz-mine-user p {
    margin: 8px 0 0;
    color: #8b92a0;
    font-size: 13px;
    line-height: 18px;
    word-break: break-all;
}

.rz-mine-card {
    position: relative;
    z-index: 1;
    margin-top: 0;
    padding: 14px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 5px 16px rgba(31, 38, 52, .04);
}

.rz-mine-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 7px;
    min-height: 22px;
    margin-bottom: 12px;
    padding: 0;
    border-radius: 0;
    background: #fff;
    color: #20242b;
}

.rz-mine-card-head strong {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 15px;
    font-weight: 700;
}

.rz-mine-card-head strong:before {
    content: "";
    width: 4px;
    height: 15px;
    border-radius: 3px;
    background: #f04d3f;
}

.rz-mine-card-head i {
    color: #c4cad4;
    font-size: 20px;
}

.rz-mine-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 2px 0 12px;
    text-align: center;
}

.rz-mine-stats div {
    min-width: 0;
    padding: 10px 6px;
    border-radius: 8px;
    background: #f7f8fa;
}

.rz-mine-stats strong {
    display: block;
    overflow: hidden;
    color: #303744;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rz-mine-stats span {
    display: block;
    margin-top: 7px;
    color: #8b92a0;
    font-size: 12px;
    line-height: 16px;
}

.rz-mine-loan {
    width: auto;
    min-height: 40px;
    margin: 0 0 12px;
    padding: 10px;
    border-radius: 8px;
    background: #fff1ef;
    color: #f04d3f;
    font-size: 13px;
    font-weight: 700;
    line-height: 20px;
    text-align: center;
    word-break: break-word;
}

.rz-mine-menu {
    overflow: hidden;
    border-top: 1px solid #f0f2f5;
    border-radius: 0;
    background: #fff;
    box-shadow: none;
}

.rz-mine-menu a {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto 18px;
    align-items: center;
    min-height: 52px;
    padding: 0;
    border-bottom: 1px solid #f0f2f5;
    color: #596170;
}

.rz-mine-menu a:nth-child(4),
.rz-mine-menu a:nth-child(5),
.rz-mine-menu a:nth-child(9) {
    display: none;
}

.rz-mine-menu-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #fff1ef;
    color: #f04d3f;
    font-size: 14px;
}

.rz-mine-menu em {
    overflow: hidden;
    font-style: normal;
    font-size: 13px;
    font-weight: 500;
    line-height: 20px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rz-mine-menu b {
    min-width: 18px;
    margin-right: 8px;
    color: #303744;
    font-size: 12px;
    font-weight: 700;
    text-align: right;
}

.rz-mine-menu a > i {
    color: #c4cad4;
    font-size: 18px;
    text-align: right;
}

.rz-mine-logout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    height: 42px;
    margin-top: 12px;
    border-radius: 21px;
    background: #fff;
    color: #f04d3f;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 5px 16px rgba(31, 38, 52, .04);
}

.rz-mine-logout .fa {
    font-size: 14px;
}

.rz-sub-page {
    min-height: 100vh;
    background: #f5f6fa;
}

.rz-sub-page-tabbed {
    padding-bottom: 88px;
}

.rz-sub-nav {
    position: sticky;
    top: 0;
    z-index: 12;
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) 52px;
    align-items: center;
    height: 48px;
    border-bottom: 1px solid #edf0f3;
    background: #fff;
}

.rz-sub-nav a,
.rz-sub-nav span {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #20242b;
    font-size: 28px;
}

.rz-sub-nav strong {
    overflow: hidden;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rz-sub-main {
    padding: 12px;
}

.rz-sub-card {
    margin-bottom: 10px;
    padding: 14px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 5px 16px rgba(31, 38, 52, .04);
}

.rz-sub-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.rz-sub-card-head strong {
    min-width: 0;
    color: #20242b;
    font-size: 16px;
    font-weight: 700;
}

.rz-sub-card-head span {
    flex: 0 0 auto;
    color: #ff5546;
    font-size: 13px;
    font-weight: 600;
}

.rz-sub-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: #596170;
    font-size: 13px;
    line-height: 28px;
}

.rz-sub-row em {
    flex: 0 0 auto;
    color: #8b92a0;
    font-style: normal;
}

.rz-sub-row b {
    min-width: 0;
    color: #303744;
    font-weight: 500;
    text-align: right;
    word-break: break-word;
}

.rz-commission-summary .rz-mine-stats {
    padding-bottom: 0;
}

.rz-commission-summary .rz-withdraw-btn {
    margin-bottom: 0;
}

.rz-commission-card .rz-sub-card-head strong {
    font-size: 15px;
}

.rz-commission-source.self {
    color: #f04d3f;
}

.rz-commission-source.team {
    color: #3274ff;
}

.rz-withdraw-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 42px;
    margin-top: 12px;
    padding: 0 14px;
    border-radius: 8px;
    background: #f04d3f;
    color: #fff;
    box-shadow: 0 8px 16px rgba(240, 77, 63, .18);
}

.rz-withdraw-btn span {
    font-size: 14px;
    font-weight: 700;
}

.rz-withdraw-btn em {
    font-style: normal;
    font-size: 12px;
    font-weight: 500;
    opacity: .9;
}

.rz-withdraw-panel {
    padding: 14px;
    border: 0;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 5px 16px rgba(31, 38, 52, .04);
}

.rz-withdraw-head {
    margin-bottom: 12px;
}

.rz-withdraw-head strong {
    color: #20242b;
    font-size: 16px;
    font-weight: 700;
}

.rz-withdraw-head span {
    color: #16a673;
    font-size: 13px;
    font-weight: 600;
}

.rz-withdraw-balance {
    display: none;
}

.rz-withdraw-form {
    margin: 0;
    padding: 0;
}

.rz-withdraw-field {
    margin: 14px 0 12px;
    padding-top: 12px;
    border-top: 1px solid #f1f3f6;
}

.rz-withdraw-field-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}

.rz-withdraw-field-head span {
    color: #8b92a0;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.rz-withdraw-all {
    flex: 0 0 auto;
    width: auto;
    height: auto;
    margin-left: 10px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #3274ff;
    font-size: 12px;
    font-weight: 600;
    box-shadow: none;
}

.rz-withdraw-amount-box {
    display: flex;
    align-items: center;
    width: 100%;
    height: 46px;
    padding: 0 12px;
    border: 1px solid #e5e8ef;
    border-radius: 8px;
    background: #fff;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.rz-withdraw-amount-box:focus-within {
    border-color: #f04d3f;
    box-shadow: 0 0 0 3px rgba(240, 77, 63, .08);
}

.rz-withdraw-amount-box em {
    flex: 0 0 auto;
    margin-right: 8px;
    color: #20242b;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
}

.rz-withdraw-form input {
    min-width: 0;
    flex: 1;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: #20242b;
    font-size: 18px;
    font-weight: 600;
}

.rz-withdraw-form input::placeholder {
    color: #b7bfcb;
    font-size: 14px;
    font-weight: 400;
}

.rz-withdraw-account {
    margin-bottom: 0;
    padding: 0;
    border: 0;
    background: #fff;
}

.rz-withdraw-account .rz-sub-row {
    min-height: 28px;
    align-items: center;
    line-height: 20px;
}

.rz-withdraw-account .rz-sub-row + .rz-sub-row {
    border-top: 0;
}

.rz-withdraw-account .rz-sub-row em {
    color: #818997;
}

.rz-withdraw-account .rz-sub-row b {
    color: #252c37;
    font-weight: 600;
}

.rz-withdraw-form > button[type="submit"] {
    width: 100%;
    height: 44px;
    margin-top: 0;
    border-radius: 8px;
    background: #ef4b3f;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    box-shadow: 0 6px 14px rgba(239, 75, 63, .16);
}

.rz-withdraw-record-link {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    margin: 0 16px 16px;
    border: 1px solid #dfe5ee;
    border-radius: 8px;
    background: #fff;
    color: #2f6fe4;
    font-size: 14px;
    font-weight: 600;
}

.rz-withdraw-panel .rz-withdraw-record-link {
    height: auto;
    margin: 12px 0 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #9aa2af;
    font-size: 12px;
    font-weight: 500;
}

.rz-withdraw-status.pending {
    color: #f59f00;
}

.rz-withdraw-status.approved,
.rz-withdraw-status.paid {
    color: #16a673;
}

.rz-withdraw-status.rejected {
    color: #f04d3f;
}

.rz-toast {
    position: fixed;
    left: 50%;
    top: 42%;
    z-index: 9999;
    max-width: 78%;
    padding: 12px 18px;
    border-radius: 8px;
    background: rgba(0, 0, 0, .78);
    color: #fff;
    font-size: 15px;
    text-align: center;
    transform: translate(-50%, -50%);
}

.rz-order-card {
    display: block;
}

.rz-sub-action {
    margin-top: 8px;
    padding-top: 10px;
    border-top: 1px solid #f0f2f5;
    color: #f04d3f;
    font-size: 13px;
    font-weight: 600;
    text-align: right;
}

.rz-order-detail-page {
    min-height: 100vh;
    background: #f5f6fa;
}

.rz-order-summary {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 10px;
    padding: 16px 14px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 5px 16px rgba(31, 38, 52, .04);
}

.rz-order-summary em {
    display: block;
    margin-bottom: 8px;
    color: #8b92a0;
    font-size: 12px;
    font-style: normal;
}

.rz-order-summary strong {
    display: block;
    color: #20242b;
    font-size: 17px;
    line-height: 1.25;
    word-break: break-all;
}

.rz-order-summary span {
    flex: 0 0 auto;
    min-width: 58px;
    padding: 4px 9px;
    border-radius: 14px;
    background: #fff1ef;
    color: #f04d3f;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
}

.rz-order-panel {
    margin-bottom: 10px;
    padding: 14px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 5px 16px rgba(31, 38, 52, .04);
}

.rz-order-panel-title {
    margin-bottom: 10px;
    color: #20242b;
    font-size: 15px;
    font-weight: 700;
}

.rz-order-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    min-height: 30px;
    color: #596170;
    font-size: 13px;
    line-height: 30px;
}

.rz-order-row em {
    flex: 0 0 auto;
    color: #8b92a0;
    font-style: normal;
}

.rz-order-row b {
    min-width: 0;
    color: #303744;
    font-weight: 500;
    text-align: right;
    word-break: break-word;
}

.rz-order-status {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.rz-order-status i {
    position: relative;
    flex: 0 0 auto;
    width: 10px;
    height: 10px;
    margin-top: 5px;
    border-radius: 50%;
    background: #f04d3f;
    box-shadow: 0 0 0 5px #fff1ef;
}

.rz-order-status strong {
    display: block;
    margin-bottom: 6px;
    color: #303744;
    font-size: 14px;
    font-weight: 700;
}

.rz-order-status p {
    margin: 0 0 4px;
    color: #8b92a0;
    font-size: 12px;
    line-height: 18px;
}

.rz-order-note {
    margin-top: 10px;
    padding: 10px;
    border-radius: 8px;
    background: #f7f8fa;
    color: #596170;
    font-size: 13px;
    line-height: 20px;
    word-break: break-word;
}

.rz-sub-empty {
    padding: 42px 14px;
    border-radius: 10px;
    background: #fff;
    color: #9aa1ad;
    font-size: 14px;
    text-align: center;
}

.rz-sub-title {
    margin-bottom: 10px;
    color: #20242b;
    font-size: 16px;
    font-weight: 700;
}

.rz-sub-richtext {
    color: #424a57;
    font-size: 14px;
    line-height: 1.8;
    word-break: break-word;
}

.rz-sub-richtext p {
    margin: 0 0 8px;
}

.rz-sub-section-title {
    margin: 16px 4px 10px;
    color: #7b8390;
    font-size: 13px;
    font-weight: 700;
}

.rz-sub-form {
    overflow: hidden;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 5px 16px rgba(31, 38, 52, .04);
}

.rz-sub-form label {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    align-items: center;
    min-height: 54px;
    margin: 0;
    padding: 0 14px;
    border-bottom: 1px solid #edf0f3;
    color: #303744;
    font-weight: 500;
}

.rz-sub-form label span {
    color: #596170;
    font-size: 14px;
}

.rz-sub-form input {
    min-width: 0;
    height: 100%;
    background: transparent;
    color: #20242b;
    font-size: 14px;
    text-align: right;
}

.rz-sub-form input::placeholder {
    color: #b2b8c2;
}

.rz-sub-form button {
    display: block;
    width: calc(100% - 28px);
    height: 44px;
    margin: 18px 14px 14px;
    border-radius: 6px;
    background: #ff5546;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
}

.rz-withdraw-form .rz-withdraw-amount-box input {
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    height: 100%;
    color: #20242b;
    font-size: 18px;
    font-weight: 600;
    text-align: left;
}

.rz-withdraw-form .rz-withdraw-amount-box .rz-withdraw-all {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: auto;
    height: 100%;
    margin: 0 0 0 10px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: #3274ff;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: none;
}

.rz-withdraw-form > button[type="submit"] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 44px;
    margin: 0;
    border-radius: 8px;
    background: #ef4b3f;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    box-shadow: 0 6px 14px rgba(239, 75, 63, .16);
}

.rz-invite-card {
    padding: 26px 18px 18px;
    border-radius: 12px;
    background: #fff;
    text-align: center;
    box-shadow: 0 5px 16px rgba(31, 38, 52, .04);
}

.rz-invite-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #fff1ee;
    color: #ff5546;
    font-size: 25px;
}

.rz-invite-card h1 {
    margin: 14px 0 8px;
    color: #20242b;
    font-size: 20px;
    font-weight: 700;
}

.rz-invite-card p {
    margin: 0;
    color: #858b96;
    font-size: 13px;
    line-height: 1.7;
}

.rz-invite-code {
    margin-top: 18px;
    padding: 14px;
    border-radius: 8px;
    background: #fff7f5;
}

.rz-invite-code em {
    display: block;
    color: #8b92a0;
    font-style: normal;
    font-size: 12px;
}

.rz-invite-code strong {
    display: block;
    margin-top: 5px;
    color: #ff5546;
    font-size: 22px;
    letter-spacing: 1px;
}

.rz-invite-link {
    padding: 12px;
    border-radius: 8px;
    background: #f6f7fb;
    color: #424a57;
    font-size: 13px;
    line-height: 1.6;
    word-break: break-all;
}

.rz-copy-btn {
    display: block;
    width: 100%;
    height: 42px;
    margin-top: 14px;
    border-radius: 6px;
    background: #ff5546;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
}

.rz-ai {
    position: relative;
    top: -14px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin: 0 auto;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 54%, #fff 0 15%, #4263ff 18% 36%, #70d6ff 44% 54%, #ff79b0 66%, #8a62ff 82%);
    box-shadow: 0 5px 14px rgba(53, 112, 255, .35);
}

.rz-ai:before,
.rz-ai:after {
    content: "";
    width: 6px;
    height: 9px;
    margin: 0 5px;
    border-radius: 50%;
    background: #1f2369;
}

.rz-login-page {
    min-height: 100vh;
    background: #f7f7fb;
}

.rz-simple-nav {
    height: 46px;
    border-bottom: 1px solid #ececf0;
    background: #fff;
    font-size: 20px;
    font-weight: 600;
    line-height: 46px;
    text-align: center;
}

.rz-login-main {
    padding: 102px 18px 24px;
}

.rz-login-logo {
    margin: 0 auto 48px;
    text-align: center;
}

.rz-login-logo img {
    width: 104px;
    height: auto;
}

.rz-login-card {
    padding: 18px 14px 20px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(34, 41, 57, .05);
}

.rz-login-tabs {
    display: grid;
    grid-template-columns: 1fr 1px 1fr;
    align-items: center;
    margin-bottom: 16px;
}

.rz-login-tabs button {
    height: 36px;
    background: transparent;
    color: #999;
    font-size: 17px;
}

.rz-login-tabs button.active {
    position: relative;
    color: #222;
}

.rz-login-tabs button.active:after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 86px;
    height: 3px;
    background: #f4583e;
    transform: translateX(-50%);
}

.rz-login-divider {
    width: 1px;
    height: 24px;
    background: #dddddf;
}

.rz-input {
    display: flex;
    align-items: center;
    height: 44px;
    margin-bottom: 12px;
    border-radius: 8px;
    background: #f2f2f4;
}

.rz-input .fa {
    flex: 0 0 40px;
    color: #333;
    font-size: 18px;
    text-align: center;
}

.rz-input input {
    min-width: 0;
    flex: 1;
    height: 100%;
    background: transparent;
    color: #222;
    font-size: 15px;
}

.rz-input .rz-select {
    min-width: 0;
    flex: 1;
    height: 100%;
    padding-right: 10px;
    color: #222;
    font-size: 15px;
    background: transparent;
}

.rz-city-autocomplete {
    position: relative;
    margin-bottom: 12px;
}

.rz-city-autocomplete .rz-input {
    margin-bottom: 0;
}

.rz-city-suggest {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    z-index: 20;
    display: none;
    max-height: 190px;
    overflow-y: auto;
    padding: 4px;
    border: 1px solid #eceff4;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(33, 42, 61, .12);
}

.rz-city-suggest.is-open {
    display: block;
}

.rz-city-suggest-item {
    width: 100%;
    height: 34px;
    border-radius: 6px;
    background: transparent;
    color: #374055;
    font-size: 14px;
    text-align: left;
    padding: 0 10px;
}

.rz-city-suggest-item:active,
.rz-city-suggest-item:hover {
    background: #f4f7ff;
}

.rz-input input::placeholder {
    color: #aaa;
}

.rz-input-readonly {
    background: #f7f1ef;
}

.rz-input-readonly .fa,
.rz-input-readonly input {
    color: #f04d3f;
}

.rz-input-readonly input {
    cursor: default;
}

.rz-code-btn {
    flex: 0 0 92px;
    height: 100%;
    background: transparent;
    color: #f24c3f;
    font-size: 14px;
    font-weight: 700;
}

.rz-login-note {
    margin: 2px 0 14px;
    color: #9d9d9d;
    font-size: 13px;
}

.rz-login-note a {
    color: #4475ca;
}

.rz-login-submit {
    width: 100%;
    height: 44px;
    border-radius: 8px;
    background: #fa5545;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
}

.rz-register-link {
    display: block;
    margin-top: 12px;
    color: #5f6d84;
    font-size: 13px;
    text-align: center;
}

.rz-agreement {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 16px 2px 0;
    color: #999;
    font-size: 13px;
    line-height: 18px;
}

.rz-agreement input {
    width: 15px;
    height: 15px;
    margin-top: 3px;
    border: 1px solid #cfcfd4;
    border-radius: 0;
    appearance: none;
    background: #fff;
}

.rz-agreement input:checked {
    background: #f45243;
    box-shadow: inset 0 0 0 3px #fff;
}

.rz-agreement a {
    display: inline-block;
    padding: 4px 2px;
    color: #c52a44;
    line-height: 20px;
}

.rz-agreement-page {
    padding-top: 36px;
}

.rz-agreement-card {
    padding: 18px 14px 16px;
}

.rz-agreement-title {
    margin: 0 0 14px;
    color: #1f2633;
    font-size: 20px;
    font-weight: 700;
}

.rz-agreement-content {
    color: #4f5968;
    font-size: 14px;
    line-height: 1.75;
    word-break: break-word;
}

.rz-agreement-content p {
    margin: 0 0 10px;
}

.rz-password-fields {
    display: none;
}

.rz-login-card[data-mode="password"] .rz-code-fields {
    display: none;
}

.rz-login-card[data-mode="password"] .rz-password-fields {
    display: block;
}

@media (max-width: 360px) {
    .rz-home-main,
    .rz-panel {
        padding-right: 12px;
        padding-left: 12px;
    }

    .rz-hero h1 {
        font-size: 25px;
    }

    .rz-hero p,
    .rz-match-btn {
        font-size: 16px;
    }

    .rz-category-label {
        font-size: 13px;
    }

    .rz-match h2 {
        font-size: 22px;
    }
}

.rz-product-page {
    min-height: 100vh;
    max-width: 750px;
    padding-bottom: 88px;
    background: #f4f5f8;
}

.rz-product-top {
    position: sticky;
    top: 0;
    z-index: 10;
    overflow: hidden;
    background: #fff;
}

.rz-product-search {
    display: grid;
    grid-template-columns: minmax(76px, auto) minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    height: 50px;
    padding: 8px 14px 4px;
    background: #fff;
}

.rz-current-city {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    max-width: 92px;
    height: 36px;
    padding: 0 0 0 2px;
    background: transparent;
    color: #23262b;
    font-size: 14px;
    white-space: nowrap;
}

.rz-current-city span {
    overflow: hidden;
    max-width: 62px;
    text-overflow: ellipsis;
}

.rz-current-city .fa-map-marker {
    color: #62666c;
    font-size: 14px;
}

.rz-current-city .fa-caret-down {
    color: #282c32;
    font-size: 12px;
}

.rz-product-search-form {
    display: flex;
    align-items: center;
    min-width: 0;
    height: 36px;
    margin: 0;
    padding: 0 15px;
    border-radius: 18px;
    background: #f3f4f6;
    color: #a6abb3;
}

.rz-product-search-form .fa {
    flex: 0 0 auto;
    margin-right: 8px;
    font-size: 14px;
}

.rz-product-search-form input[type="search"] {
    min-width: 0;
    flex: 1;
    height: 100%;
    background: transparent;
    color: #333941;
    font-size: 15px;
}

.rz-product-search-form input::placeholder {
    color: #b9bec5;
}

.rz-product-cats {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 8px 14px 10px;
    background: #fff;
    scrollbar-width: none;
}

.rz-product-cats::-webkit-scrollbar {
    display: none;
}

.rz-product-cat {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 64px;
    height: 30px;
    padding: 0 12px;
    border-radius: 16px;
    background: #f0f1f3;
    color: #8f949c;
    font-size: 13px;
    white-space: nowrap;
}

.rz-product-cat img {
    width: 14px;
    height: 14px;
    object-fit: contain;
    opacity: .7;
}

.rz-product-cat .fa {
    color: #b4b8bf;
    font-size: 13px;
}

.rz-product-cat.active {
    background: #fb5b49;
    color: #fff;
    font-weight: 600;
}

.rz-product-cat.active .fa {
    color: #fff;
}

.rz-product-main {
    background: #f4f5f8;
}

.rz-product-sortbar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    height: 44px;
    padding: 0 12px;
    background: #fff;
    border-top: 1px solid #f1f2f4;
    border-bottom: 1px solid #ebeef3;
    box-shadow: 0 5px 12px rgba(31, 38, 52, .03);
}

.rz-product-sortbar a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    height: 100%;
    color: #111827;
    font-size: 12px;
    font-weight: 600;
}

.rz-product-sortbar a.active {
    color: #fa5545;
}

.rz-product-sortbar .fa {
    color: #9ba1aa;
    font-size: 11px;
}

.rz-product-list {
    padding: 10px 12px 18px;
}

.rz-loan-card {
    margin-bottom: 10px;
    padding: 13px 13px 12px;
    border: 1px solid #eef1f5;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(31, 38, 52, .04);
}

.rz-loan-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    min-height: 50px;
}

.rz-loan-brand {
    display: flex;
    min-width: 0;
    align-items: flex-start;
    gap: 9px;
}

.rz-loan-logo {
    position: relative;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.rz-loan-logo em {
    position: absolute;
    left: -17px;
    top: 2px;
    width: 50px;
    height: 17px;
    background: #ff9d00;
    color: #fff;
    font-style: normal;
    font-size: 10px;
    font-weight: 700;
    line-height: 17px;
    text-align: center;
    transform: rotate(-45deg);
}

.rz-loan-logo img {
    display: block;
    max-width: 40px;
    max-height: 40px;
    object-fit: contain;
}

.rz-loan-logo span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: #ff6d00;
    font-size: 16px;
    font-weight: 800;
}

.rz-loan-title {
    min-width: 0;
    padding-top: 1px;
}

.rz-loan-title h2 {
    overflow: hidden;
    margin: 0 0 6px;
    color: #282c33;
    font-size: 16px;
    font-weight: 700;
    line-height: 21px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rz-loan-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    max-height: 22px;
    overflow: hidden;
}

.rz-loan-tags span {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    max-width: 132px;
    height: 20px;
    padding: 0 7px;
    border-radius: 10px;
    background: #fff4eb;
    color: #ff6d1b;
    font-size: 12px;
    line-height: 20px;
    white-space: nowrap;
}

.rz-loan-tags .fa {
    font-size: 11px;
}

.rz-loan-action {
    flex: 0 0 auto;
    min-width: 74px;
    height: 30px;
    padding: 0 11px;
    border-radius: 15px;
    background: #fa5a48;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    line-height: 30px;
    text-align: center;
    white-space: nowrap;
}

.rz-loan-body {
    display: grid;
    grid-template-columns: minmax(84px, 1fr) minmax(0, 1.6fr);
    align-items: stretch;
    gap: 12px;
    margin-top: 10px;
    padding: 10px 11px;
    border-radius: 7px;
    background: #fafbfc;
}

.rz-loan-quota {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.rz-loan-quota strong {
    display: block;
    overflow: hidden;
    color: #ff2f1d;
    font-size: 18px;
    font-weight: 800;
    line-height: 22px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rz-loan-quota span {
    display: block;
    margin-top: 2px;
    color: #858b96;
    font-size: 11px;
    line-height: 16px;
}

.rz-loan-divider {
    display: none;
}

.rz-loan-meta {
    min-width: 0;
    margin: 0;
    color: #3e444e;
    font-size: 12px;
    line-height: 20px;
}

.rz-loan-meta div {
    display: flex;
    min-width: 0;
}

.rz-loan-meta dt,
.rz-loan-meta dd {
    margin: 0;
    font-weight: 400;
}

.rz-loan-meta dt {
    flex: 0 0 62px;
    color: #858b96;
}

.rz-loan-meta dd {
    overflow: hidden;
    min-width: 0;
    color: #222831;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rz-product-empty {
    margin-top: 12px;
    padding: 28px 16px;
    border-radius: 8px;
    background: #fff;
    color: #8e949d;
    font-size: 14px;
    text-align: center;
}

.rz-search-page {
    min-height: 100vh;
    background: #fff;
}

.rz-search-nav {
    position: sticky;
    top: 0;
    z-index: 12;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 58px;
    column-gap: 8px;
    align-items: center;
    height: 46px;
    padding-left: 12px;
    border-bottom: 1px solid #eceff3;
    background: #fff;
}

.rz-searchbar {
    display: flex;
    align-items: center;
    min-width: 0;
    height: 33px;
    margin: 0;
    padding: 0 11px;
    background: #f5f6f8;
    color: #9aa1ad;
}

.rz-searchbar .fa {
    flex: 0 0 auto;
    margin-right: 8px;
    font-size: 14px;
}

.rz-searchbar input {
    min-width: 0;
    flex: 1;
    height: 100%;
    background: transparent;
    color: #2f3440;
    font-size: 14px;
}

.rz-searchbar input::placeholder {
    color: #b4bac3;
}

.rz-search-action {
    height: 100%;
    background: transparent;
    color: #1677ff;
    font-size: 14px;
}

.rz-search-results {
    min-height: calc(100vh - 46px);
    background: #fff;
}

.rz-search-list {
    padding-top: 12px;
    background: #f7f7f7;
    min-height: calc(100vh - 46px);
}

.rz-search-empty {
    margin: 18px 14px 0;
}

.rz-product-detail-page {
    min-height: 100vh;
    padding-bottom: calc(62px + env(safe-area-inset-bottom, 0));
    background: #f5f6fa;
}

.rz-detail-main {
    padding: 10px 12px 18px;
}

.rz-detail-card,
.rz-detail-tabs-card {
    margin-bottom: 10px;
    overflow: hidden;
    border: 1px solid #edf0f3;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(31, 38, 52, .03);
}

.rz-detail-hero-card {
    padding: 14px 14px 12px;
}

.rz-detail-brand {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f2f5;
}

.rz-detail-logo {
    position: relative;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #fff;
}

.rz-detail-logo em {
    position: absolute;
    left: -24px;
    top: 5px;
    width: 72px;
    height: 17px;
    background: #ff9900;
    color: #fff;
    font-style: normal;
    font-size: 10px;
    line-height: 17px;
    text-align: center;
    transform: rotate(-42deg);
}

.rz-detail-logo img {
    max-width: 50px;
    max-height: 50px;
    object-fit: contain;
}

.rz-detail-logo span {
    color: #f04d3f;
    font-size: 18px;
    font-weight: 800;
}

.rz-detail-title h1 {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin: 0 0 5px;
    color: #111827;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.25;
}

.rz-detail-title h1 span {
    min-width: 0;
}

.rz-detail-commission-tag {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    max-width: 132px;
    min-height: 22px;
    padding: 3px 9px;
    border: 1px solid #ffd7d2;
    border-radius: 999px;
    background: #fff7f6;
    color: #f04d3f;
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rz-detail-title p {
    margin: 0 0 10px;
    color: #8f949c;
    font-size: 12px;
    line-height: 1.2;
}

.rz-detail-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
    align-items: flex-end;
}

.rz-detail-metrics strong {
    display: block;
    color: #ff3d31;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.1;
}

.rz-detail-metrics span {
    display: block;
    margin-top: 4px;
    color: #6b7280;
    font-size: 12px;
}

.rz-detail-meta {
    padding-top: 11px;
}

.rz-detail-meta p {
    margin: 0 0 7px;
    color: #374151;
    font-size: 13px;
    line-height: 1.5;
}

.rz-detail-meta p:last-child {
    margin-bottom: 0;
}

.rz-detail-meta .fa {
    width: 17px;
    color: #ff4d40;
    font-size: 13px;
}

.rz-detail-section-title {
    position: relative;
    margin: 0;
    padding: 13px 14px 8px 24px;
    color: #111827;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
}

.rz-detail-section-title:before {
    content: "";
    position: absolute;
    left: 14px;
    top: 17px;
    width: 3px;
    height: 13px;
    border-radius: 3px;
    background: #ff3d31;
}

.rz-detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    padding: 8px 14px 14px;
}

.rz-detail-tags span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #374151;
    font-size: 13px;
    line-height: 1.4;
}

.rz-detail-tags .fa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border: 1px solid #ff4d40;
    border-radius: 50%;
    color: #ff4d40;
    font-size: 11px;
}

.rz-detail-tabs-card {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    min-height: 430px;
}

.rz-detail-tabs {
    background: #f8f9fb;
}

.rz-detail-tabs button {
    display: block;
    width: 100%;
    min-height: 44px;
    padding: 0 8px;
    background: transparent;
    color: #4b5565;
    font-size: 13px;
    text-align: center;
}

.rz-detail-tabs button.active {
    background: #fff;
    color: #ff3d31;
    font-weight: 700;
    box-shadow: inset 3px 0 0 #ff3d31;
}

.rz-detail-tab-content {
    min-width: 0;
    padding: 13px 14px 18px;
    background: #fff;
}

.rz-detail-pane {
    display: none;
}

.rz-detail-pane.active {
    display: block;
}

.rz-detail-pane h3 {
    margin: 0 0 10px;
    color: #111827;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
}

.rz-detail-pane h3 .fa {
    margin-right: 6px;
    color: #ff3d31;
}

.rz-detail-richtext {
    color: #1f2937;
    font-size: 13px;
    line-height: 1.75;
    word-break: break-word;
}

.rz-detail-richtext p {
    margin: 0 0 10px;
}

.rz-detail-richtext ul,
.rz-detail-richtext ol {
    margin: 0 0 10px;
    padding-left: 18px;
}

.rz-detail-richtext li {
    margin-bottom: 5px;
}

.rz-detail-richtext img,
.rz-detail-richtext table {
    max-width: 100%;
}

.rz-detail-richtext table {
    border-collapse: collapse;
}

.rz-detail-actions {
    position: fixed;
    bottom: 0;
    left: 50%;
    z-index: 50;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    width: 100%;
    max-width: 750px;
    min-height: 52px;
    padding: 8px 16px calc(8px + env(safe-area-inset-bottom, 0));
    border-top: 1px solid #edf0f3;
    background: #fff;
    box-shadow: 0 -6px 18px rgba(31, 38, 52, .06);
    transform: translateX(-50%);
}

.rz-detail-action {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    height: 36px;
    border-radius: 18px;
    font-size: 14px;
    font-weight: 600;
    line-height: 36px;
    white-space: nowrap;
    box-shadow: none;
}

.rz-detail-action-poster {
    border: 1px solid #ff4d40;
    background: #fff;
    color: #ff3d31;
}

.rz-detail-action-apply {
    border: 1px solid #f04444;
    background: #f04444;
    color: #fff;
}

.rz-detail-action.disabled {
    border-color: #d9dde5;
    color: #a0a7b2;
    box-shadow: none;
}

.rz-detail-action-apply.disabled {
    background: #eef0f4;
}

.rz-match-page {
    min-height: 100vh;
    background: #f5f6fa;
    color: #20242b;
}

.rz-match-top {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 46px;
    padding: 0 14px;
    background: #fff;
    box-shadow: 0 1px 0 rgba(31, 38, 52, .06);
}

.rz-match-top a,
.rz-match-top span {
    width: 34px;
    color: #20242b;
    font-size: 24px;
    text-decoration: none;
}

.rz-match-top strong {
    font-size: 15px;
    font-weight: 700;
}

.rz-match-main {
    padding: 12px 12px 28px;
}

.rz-match-card,
.rz-match-result {
    margin-bottom: 12px;
    padding: 14px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 5px 16px rgba(31, 38, 52, .04);
}

.rz-match-card-title {
    margin-bottom: 12px;
    color: #20242b;
    font-size: 15px;
    font-weight: 700;
}

.rz-match-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.rz-match-grid label {
    display: block;
    min-width: 0;
}

.rz-match-grid label span {
    display: block;
    margin-bottom: 6px;
    color: #6b7280;
    font-size: 12px;
    line-height: 18px;
}

.rz-match-grid input,
.rz-match-grid select {
    width: 100%;
    height: 38px;
    border: 1px solid #e5e7ef;
    border-radius: 8px;
    padding: 0 10px;
    background: #f8f9fc;
    color: #20242b;
    font-size: 13px;
    outline: none;
    box-sizing: border-box;
}

.rz-match-grid input:focus,
.rz-match-grid select:focus {
    border-color: #ff5a52;
    background: #fff;
}

.rz-match-submit {
    display: block;
    width: 100%;
    height: 44px;
    border: 0;
    border-radius: 22px;
    background: linear-gradient(135deg, #ff6a58, #f03f3a);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(240, 77, 63, .2);
}

.rz-match-result {
    padding-top: 12px;
}

.rz-match-result .rz-section-head span {
    color: #8b92a0;
    font-size: 12px;
}

@media (max-width: 390px) {
    .rz-product-search {
        gap: 8px;
        padding-right: 12px;
        padding-left: 12px;
    }

    .rz-product-cats {
        gap: 8px;
        padding-right: 12px;
        padding-left: 12px;
    }

    .rz-product-list {
        padding-right: 8px;
        padding-left: 8px;
    }

    .rz-loan-card {
        padding-right: 12px;
        padding-left: 12px;
    }

    .rz-loan-body {
        grid-template-columns: minmax(80px, 1fr) minmax(0, 1.55fr);
        gap: 10px;
    }

    .rz-loan-title h2 {
        font-size: 16px;
    }

    .rz-loan-quota span,
    .rz-loan-meta {
        font-size: 12px;
    }

    .rz-match-grid {
        grid-template-columns: 1fr;
    }
}
