/* H5 三角洲行动账号租用 - 全局样式 */
@import url('iconfont.css');

:root {
    --primary: #ff7eb3;
    --primary-light: #ffa3c8;
    --primary-bg: #fff0f6;
    --primary-solid: #ff7eb3;
    --price: #ff7eb3;
    --bg-page: #f5f5f5;
    --border: #eeeeee;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    font-size: 14px;
    color: #333;
    background: #f5f5f5;
    -webkit-font-smoothing: antialiased;
    max-width: 750px;
    margin: 0 auto;
    min-height: 100vh;
    padding-bottom: 60px;
}

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

ul, li {
    list-style: none;
}

img {
    /* max-width: 100%; */
    display: block;
}

/* iconfont 通用尺寸 */
.if-sm { font-size: 18px; }
.if-md { font-size: 22px; }
.if-lg { font-size: 26px; }
.if-xl { font-size: 48px; color: #ddd; }

.form-item .iconfont,
.search-bar .iconfont {
    color: #999;
    margin-right: 8px;
    flex-shrink: 0;
}

.menu-item .iconfont {
    font-size: 26px;
    color: #333;
    margin-bottom: 8px;
}

.page-header .back-btn .iconfont,
.wallet-back .iconfont {
    font-size: 18px;
}

/* 顶部区域 */
.header {
    background: var(--primary-solid);
    padding: 16px 16px 20px;
    color: #fff;
    position: relative;
}

.header-kitty {
    position: absolute;
    bottom: 8px;
    right: 10px;
    width: 70px;
    height: 70px;
    object-fit: contain;
    pointer-events: none;
}

.header-top {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.header-logo {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    overflow: hidden;
}

.header-logo img {
    width: 100%;
    height: 100%;
}

.header-title {
    font-size: 18px;
    font-weight: 600;
}

.header-subtitle {
    font-size: 13px;
    opacity: 0.8;
    margin-left: 8px;
}

/* 搜索框 */
.search-bar {
    background: #fff;
    border-radius: 25px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.search-bar .search-icon {
    color: #999;
    margin-right: 8px;
    font-size: 16px;
}

.search-bar input {
    border: none;
    outline: none;
    flex: 1;
    font-size: 14px;
    color: #333;
    background: transparent;
}

.search-bar input::placeholder {
    color: #999;
}

/* 搜索框清除按钮 - 黑色 */
.search-bar input[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    margin-left: 6px;
    cursor: pointer;
    background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233333' stroke-width='2.5' stroke-linecap='round'%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3C/svg%3E");
}

/* 担保信息 */
.guarantee-info {
    display: flex;
    align-items: flex-start;
    margin-bottom: 8px;
    padding: 0 4px;
}

.guarantee-badge {
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 4px;
    padding: 2px 8px;
    font-size: 12px;
    white-space: nowrap;
    margin-right: 8px;
    margin-top: 2px;
}

.guarantee-text {
    font-size: 13px;
    line-height: 1.5;
    opacity: 0.9;
}

/* 在线人数 */
.online-count {
    padding: 0 4px;
    font-size: 13px;
    color: #fff;
}

.online-count span {
    font-size: 20px;
    font-weight: 700;
    margin: 0 4px;
    color: #fff;
}

/* 排序栏 */
.sort-bar {
    display: flex;
    align-items: center;
    background: #fff;
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 10;
}

.sort-bar .sort-item {
    flex: 1;
    text-align: center;
    font-size: 14px;
    color: #666;
    position: relative;
    cursor: pointer;
}

.sort-bar .sort-item.active {
    color: var(--primary);
    font-weight: 600;
}

.sort-bar .sort-item.active::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
}

.sort-bar .sort-item .sort-arrows {
    font-size: 12px;
    margin-left: 2px;
}

/* 价格排序 iconfont 双箭头（升序/降序同图标，分色高亮） */
.sort-bar .sort-item .sort-icon {
    font-size: 12px;
    margin-left: 2px;
    vertical-align: middle;
    color: #ccc;
}

.sort-bar .sort-item[data-sort="price"].active.asc .sort-icon {
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary) 48%, #ccc 52%, #ccc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.sort-bar .sort-item[data-sort="price"].active.desc .sort-icon {
    background: linear-gradient(180deg, #ccc 0%, #ccc 48%, var(--primary) 52%, var(--primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* 账号列表 - 单列 */
.account-list {
    padding: 12px 10px 12px 12px;
    overflow: visible;
}

.account-card {
    position: relative;
    background: #fff;
    padding: 14px;
    margin: 18px 0 14px;
    display: flex;
    box-shadow: none;
    text-decoration: none;
    color: inherit;
    border: 2px solid var(--primary);
    border-radius: 12px;
    overflow: visible;
}



/* 右上角蝴蝶结 */
.account-card::after {
    content: '';
    position: absolute;
    top: -10px;
    right: -8px;
    width: 30px;
    height: 50px;
    background: url('/assets/img/hudiejie.png') no-repeat top right;
    background-size: contain;
    z-index: 2;
    pointer-events: none;
}

/* 卡片上的HelloKitty */
.account-card .card-kitty {
    position: absolute;
    bottom: 28px;
    right: 10px;
    width: 40px;
    height: 40px;
    object-fit: contain;
    z-index: 2;
    pointer-events: none;
    opacity: 0.85;
}

.account-card > * {
    position: relative;
    z-index: 1;
}

.account-card .card-image {
    width: 140px;
    height: 140px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
    background: #1a1a2e;
}

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

.account-card .card-image .status-tag {
    position: absolute;
    top: 6px;
    left: 6px;
    background: #22c55e;
    color: #fff;
    font-size: 11px;
    padding: 2px 7px;
    border-radius: 4px;
    font-weight: 500;
}

.account-card .card-image .status-tag.rented {
    background: rgba(0,0,0,0.45);
}

.account-card .card-image .status-tag.offline {
    background: #9ca3af;
}

.account-card .card-info {
    flex: 1;
    margin-left: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-info .card-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.card-info .game-tag {
    display: inline-block;
    background: var(--primary-bg);
    color: var(--primary);
    font-size: 10px;
    padding: 1px 6px;
    border-radius: 3px;
}

.card-info .card-id {
    font-size: 11px;
    color: #bbb;
}

.card-info .card-title {
    font-size: 13px;
    font-weight: 500;
    color: #222;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 8px;
    flex: 1;
}

.card-info .card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.card-info .card-price {
    color: var(--primary);
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
}

.card-info .card-price .symbol {
    font-size: 13px;
}

.card-info .card-price .unit {
    font-size: 11px;
    font-weight: 400;
    color: #999;
}

.card-info .card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 6px;
}

.card-info .card-tags .tag {
    background: #f3f4f6;
    color: #666;
    font-size: 10px;
    padding: 1px 6px;
    border-radius: 3px;
}

.load-more-btn {
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 20px;
    padding: 8px 28px;
    font-size: 14px;
    cursor: pointer;
}

.card-info .rent-btn {
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 20px;
    padding: 4px 10px;
    font-size: 11px;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
}

.card-info .rent-btn.rented {
    background: #9ca3af;
}

.card-info .rent-btn.offline {
    background: #d1d5db;
    color: #888;
}

/* 底部导航 */
.tab-bar {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 750px;
    background: #fff5f7;
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    padding: 0 0 8px 0;
    border-top: none;
    z-index: 100;
    overflow: visible;
}


.tab-bar .tab-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 11px;
    color: #999;
    cursor: pointer;
    position: relative;
    padding-top: 8px;
}

.tab-bar .tab-item.active {
    color: var(--primary);
    font-weight: bold;
}
.tab-bar .tab-item.active .tab-kitty {
    display: block;
}
.tab-kitty {
    display: none;
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 70px;
    object-fit: contain;
    pointer-events: none;
    z-index: 10;
}

/* 筛选面板 */
.filter-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 200;
}

.filter-overlay.show {
    display: block;
}

.filter-panel {
    position: fixed;
    top: 0;
    right: -85%;
    width: 85%;
    height: 100%;
    background: #fff;
    z-index: 201;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    transition: right 0.3s ease;
}

.filter-panel.show {
    right: 0;
}

.filter-panel .filter-scroll {
    flex: 1;
    overflow-y: auto;
    padding: 20px 16px 16px;
}

.filter-panel .filter-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #333;
}

.filter-panel .filter-group {
    margin-bottom: 24px;
}

.filter-panel .filter-group .group-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #333;
}

.filter-panel .filter-group .group-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.filter-panel .filter-group .option-item {
    background: #f5f5f7;
    border: none;
    border-radius: 6px;
    padding: 10px 6px;
    font-size: 12px;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
    line-height: 1.3;
}

.filter-panel .filter-group .option-item.span2 {
    grid-column: span 2;
}

.filter-panel .filter-group .option-item.active {
    background: var(--primary-bg);
    color: var(--primary);
}

.filter-bottom {
    flex-shrink: 0;
    background: #fff;
    padding: 12px 16px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom));
    display: flex;
    gap: 10px;
    border-top: 1px solid var(--border);
    box-shadow: 0 -2px 8px rgba(0,0,0,0.04);
}

.filter-bottom .btn-reset {
    flex: 1;
    padding: 13px 0;
    border: 1px solid #ddd;
    border-radius: 25px;
    text-align: center;
    font-size: 15px;
    color: #666;
    background: #fff;
    cursor: pointer;
}

.filter-bottom .btn-confirm {
    flex: 2;
    padding: 13px 0;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 25px;
    text-align: center;
    font-size: 15px;
    cursor: pointer;
}

/* 页面通用 */
.page-header {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: #fff;
}

.page-header .back-btn {
    font-size: 20px;
    color: #333;
    cursor: pointer;
    margin-right: 12px;
}

.page-header .page-title {
    font-size: 17px;
    font-weight: 600;
    flex: 1;
    text-align: center;
    margin-right: 32px;
}

/* 详情页 - 封面 */
.detail-hero {
    position: relative;
    width: 100%;
    height: 200px;
    background: #1a1a2e;
    overflow: hidden;
}

.detail-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-hero .detail-status {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #22c55e;
    color: #fff;
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 4px;
    line-height: 1.4;
}

.detail-hero .detail-status.rented {
    background: #6b7280;
}

/* 详情页 - 价格简介（独立白卡片） */
.detail-info {
    background: #fff;
    padding: 16px;
    margin-bottom: 10px;
}

.detail-info .detail-price-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 12px;
}

.detail-info .detail-price {
    color: var(--primary);
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
}

.detail-info .detail-price .symbol {
    font-size: 18px;
}

.detail-info .detail-price .unit {
    font-size: 14px;
    font-weight: 400;
    color: #999;
}

.detail-info .detail-id {
    font-size: 13px;
    color: #999;
}

.detail-info .detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.detail-info .detail-tag {
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 4px;
    background: #f3f4f6;
    color: #666;
}

.detail-info .detail-tag.primary {
    background: var(--primary-bg);
    color: var(--primary);
}

.detail-info .detail-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    line-height: 1.5;
    padding-bottom: 0;
}

/* 详情页 - 关键数据（独立白卡片，与上方留出灰底间距） */
.detail-stats {
    display: flex;
    background: #fff;
    padding: 16px;
    margin-bottom: 10px;
}

.detail-stats .ds-item {
    flex: 1;
    text-align: center;
    position: relative;
}

.detail-stats .ds-item + .ds-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 28px;
    background: #eee;
}

.detail-stats .ds-value {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-bottom: 4px;
}

.detail-stats .ds-label {
    font-size: 12px;
    color: #999;
}

/* 详情页 - 参数区块 */
.detail-section.detail-params {
    margin-bottom: 10px;
    padding: 16px;
}

.detail-section {
    background: #fff;
    margin-bottom: 10px;
    padding: 16px;
}

.detail-section .section-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #333;
}

/* 参数网格（仅内部边框，无外围四边） */
.params-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.params-grid .param-cell {
    padding: 12px 8px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.params-grid .param-cell:nth-child(2n) {
    border-right: none;
}

.params-grid .param-cell:last-child,
.params-grid .param-cell:nth-last-child(2):nth-child(2n+1) {
    border-bottom: none;
}

.params-grid .param-cell .param-label {
    font-size: 12px;
    color: #999;
    line-height: 1.4;
    flex: 1;
}

.params-grid .param-cell .param-value {
    font-size: 14px;
    color: #333;
    font-weight: 600;
    text-align: right;
    flex-shrink: 0;
    margin-top: 0;
}

.params-grid .param-cell.full {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: auto;
    padding: 12px 8px;
    border-right: none;
    border-bottom: none;
}

.params-grid .param-cell.full .param-label {
    flex: 1;
}

.params-grid .param-cell.full .param-value {
    background: #f5f5f5;
    padding: 10px 16px;
    border-radius: 4px;
    min-width: 72px;
    text-align: center;
    font-weight: 500;
    margin-top: 0;
    flex-shrink: 0;
}

/* 平台保障 */
.guarantee-grid {
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.guarantee-grid .guarantee-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.guarantee-grid .guarantee-item .g-icon {
    font-size: 28px;
    color: #ff7eb3;
    margin-bottom: 8px;
}

.guarantee-grid .guarantee-item .g-icon-svg {
    width: 32px;
    height: 32px;
    color: #ff7eb3;
    margin-bottom: 8px;
}

.guarantee-grid .guarantee-item .g-text {
    font-size: 12px;
    color: #666;
}

/* 交易流程 */
.flow-list {
    position: relative;
}

.flow-list .flow-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 24px;
    position: relative;
}

.flow-list .flow-item:last-child {
    margin-bottom: 0;
}

.flow-list .flow-item:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 32px;
    width: 1px;
    height: calc(100% + 8px);
    background: #e5e5e5;
}

.flow-list .flow-item .flow-num {
    width: 32px;
    height: 32px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    flex-shrink: 0;
    margin-right: 12px;
    position: relative;
    z-index: 1;
}

.flow-list .flow-item .flow-content .flow-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.flow-list .flow-item .flow-content .flow-desc {
    font-size: 13px;
    color: #999;
}

/* 底部固定操作栏 */
.fixed-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 750px;
    background: #fff;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #eee;
    z-index: 100;
}

.fixed-bottom-bar .price-info {
    color: var(--primary);
    font-size: 24px;
    font-weight: 700;
}

.fixed-bottom-bar .price-info .unit {
    font-size: 13px;
    color: #666;
    font-weight: 400;
}

.fixed-bottom-bar .price-info .symbol {
    font-size: 14px;
}

.fixed-bottom-bar .action-btn {
    flex: 1;
    max-width: 220px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 25px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    text-align: center;
}

/* 登录注册页 */
.auth-page {
    background: #fff;
    min-height: 100vh;
    padding: 40px 24px;
    padding-bottom: 80px;
}

.auth-page .auth-logo {
    width: 100px;
    height: 100px;
    margin: 0 auto 16px;
    border-radius: 24px;
    overflow: hidden;
    background: #1a1a2e;
}

.auth-page .auth-logo img {
    width: 100%;
    height: 100%;
}

.auth-page .auth-hint {
    text-align: center;
    color: #999;
    font-size: 13px;
    margin-bottom: 24px;
}

.auth-tabs {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 32px;
}

.auth-tabs .auth-tab {
    font-size: 16px;
    color: #999;
    padding-bottom: 8px;
    cursor: pointer;
}

.auth-tabs .auth-tab.active {
    color: #333;
    font-weight: 600;
    border-bottom: 3px solid var(--primary);
    padding-bottom: 6px;
}

.auth-form .form-item {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.auth-form .form-item .form-icon {
    color: #999;
    margin-right: 12px;
    font-size: 18px;
}

.auth-form .form-item .form-icon-svg {
    width: 20px;
    height: 20px;
    color: #999;
    margin-right: 12px;
    flex-shrink: 0;
}

.auth-form .form-item .eye-icon-svg {
    width: 20px;
    height: 20px;
    color: #999;
    cursor: pointer;
    flex-shrink: 0;
}

.auth-form .form-item input {
    border: none;
    outline: none;
    background: transparent;
    flex: 1;
    font-size: 14px;
}

.auth-form .form-item input::placeholder {
    color: #bbb;
}

.auth-form .form-item .eye-icon {
    color: #999;
    font-size: 18px;
    cursor: pointer;
}

.auth-form .submit-btn {
    width: 100%;
    padding: 14px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    margin-top: 8px;
}

.auth-form .auth-error {
    display: none;
    font-size: 13px;
    color: #f55;
    margin: 4px 0 8px;
    padding: 0 4px;
}

.auth-form .auth-link {
    text-align: center;
    margin-top: 16px;
    font-size: 13px;
    color: #999;
}

.auth-form .auth-link a {
    color: var(--primary);
    text-decoration: underline;
}

/* 我的页面 */
.my-header {
    background: var(--primary-solid);
    padding: 20px 16px 48px;
    color: #fff;
    display: flex;
    align-items: center;
}

.my-header .my-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 12px;
    background: rgba(255,255,255,0.2);
}

.my-header .my-avatar img {
    width: 100%;
    height: 100%;
}

.my-header .my-info {
    flex: 1;
}

.my-header .my-info .my-phone {
    font-size: 20px;
    font-weight: 600;
}

.my-header .my-info .my-welcome {
    font-size: 13px;
    opacity: 0.8;
    margin-top: 4px;
}

.my-header .logout-btn {
    border: 1px solid rgba(255,255,255,0.6);
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 12px;
    color: #fff;
    cursor: pointer;
}

/* 功能入口 */
.my-menu {
    background: #fff;
    margin: -32px 12px 0;
    border-radius: 12px;
    padding: 20px 0;
    display: flex;
    justify-content: space-around;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.my-menu .menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.my-menu .menu-item .menu-icon {
    font-size: 24px;
    color: #ff7eb3;
    margin-bottom: 8px;
}

.my-menu .menu-item .menu-icon-svg {
    width: 26px;
    height: 26px;
    color: #333;
    margin-bottom: 8px;
}

.my-menu .menu-item .menu-text {
    font-size: 12px;
    color: #666;
}

/* 专属推荐 */
.recommend-section {
    padding: 8px 12px 0;
}

.recommend-title {
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    margin: 20px 0 16px;
    position: relative;
}

.recommend-title::before,
.recommend-title::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40px;
    height: 2px;
    background: var(--primary);
}

.recommend-title::before {
    left: 30%;
}

.recommend-title::after {
    right: 30%;
}

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

.recommend-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.recommend-card .rc-image {
    width: 100%;
    height: 120px;
    position: relative;
    background: #1a1a2e;
}

.recommend-card .rc-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recommend-card .rc-image .rc-status {
    position: absolute;
    top: 6px;
    left: 6px;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 4px;
    color: #fff;
}

.recommend-card .rc-image .rc-status.available {
    background: #22c55e;
}

.recommend-card .rc-image .rc-status.rented {
    background: #6b7280;
}

.recommend-card .rc-body {
    padding: 10px;
}

.recommend-card .rc-body .rc-title {
    font-size: 13px;
    color: #333;
    line-height: 1.4;
    height: 36px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.recommend-card .rc-body .rc-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
}

.recommend-card .rc-body .rc-price {
    color: var(--primary);
    font-size: 16px;
    font-weight: 700;
}

.recommend-card .rc-body .rc-price .symbol {
    font-size: 12px;
}

.recommend-card .rc-body .rc-id {
    font-size: 11px;
    color: #999;
}

/* 我的上架账号 */
.shelf-header {
    background: var(--primary-solid);
    padding: 24px 16px 48px;
    color: #fff;
    text-align: center;
}

.shelf-header .shelf-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 6px;
}

.shelf-header .shelf-desc {
    font-size: 13px;
    opacity: 0.8;
}

.shelf-stats {
    background: #fff;
    margin: -28px 16px 0;
    border-radius: 12px;
    display: flex;
    position: relative;
    z-index: 1;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.shelf-stats .stat-item {
    flex: 1;
    text-align: center;
    padding: 20px;
}

.shelf-stats .stat-item .stat-num {
    font-size: 28px;
    font-weight: 700;
    color: #333;
}

.shelf-stats .stat-item .stat-num.primary {
    color: var(--primary);
}

.shelf-stats .stat-item .stat-label {
    font-size: 13px;
    color: #999;
    margin-top: 4px;
}

.shelf-stats .stat-item + .stat-item {
    border-left: 1px solid #eee;
}

.empty-state {
    text-align: center;
    padding: 80px 0;
}

.empty-state .empty-icon {
    font-size: 48px;
    color: #ddd;
    margin-bottom: 16px;
}

.empty-state .empty-text {
    font-size: 15px;
    color: #999;
    margin-bottom: 8px;
}

.empty-state .empty-hint {
    font-size: 13px;
    color: #bbb;
}

/* 钱包页面 */
.wallet-header {
    background: var(--primary-solid);
    border-radius: 0 0 16px 16px;
    padding: 16px 16px 0;
    color: #fff;
    margin-bottom: 12px;
}

.wallet-header .wallet-back {
    font-size: 14px;
    margin-bottom: 20px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #fff;
}

.wallet-header .wallet-label {
    font-size: 13px;
    opacity: 0.85;
    margin-bottom: 8px;
}

.wallet-header .wallet-amount {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
}

.wallet-header .withdraw-btn {
    display: block;
    width: 100%;
    margin-top: 20px;
    padding: 13px;
    background: rgba(255,255,255,0.2);
    border: none;
    border-radius: 25px;
    color: #fff;
    font-size: 15px;
    text-align: center;
    cursor: pointer;
}

.wallet-stats {
    display: flex;
    background: rgba(255,255,255,0.12);
    margin: 20px -16px 0;
    border-top: 1px solid rgba(255,255,255,0.25);
}

.wallet-stats .ws-item {
    flex: 1;
    text-align: center;
    padding: 16px;
}

.wallet-stats .ws-item .ws-amount {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.wallet-stats .ws-item .ws-label {
    font-size: 12px;
    color: rgba(255,255,255,0.8);
    margin-top: 4px;
}

.wallet-stats .ws-item + .ws-item {
    border-left: 1px solid rgba(255,255,255,0.3);
}

.payment-setting {
    background: #fff;
    margin: 12px;
    border-radius: 12px;
    padding: 16px;
}

.payment-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
}

.payment-item + .payment-item {
    border-top: 1px solid #f5f5f5;
}

.payment-item .pay-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.payment-item .pay-icon.alipay {
    background: #e8f4fd;
}

.payment-item .pay-icon.alipay .iconfont {
    font-size: 22px;
    color: #1677ff;
}

.payment-item .pay-icon.wechat {
    background: #e8f8e8;
}

.payment-item .pay-icon.wechat .iconfont {
    font-size: 22px;
    color: #07c160;
}

.payment-item .pay-action .iconfont {
    font-size: 12px;
}

.payment-item .pay-info {
    flex: 1;
}

.payment-item .pay-info .pay-name {
    font-size: 15px;
    font-weight: 500;
}

.payment-item .pay-info .pay-desc {
    font-size: 12px;
    color: #999;
    margin-top: 2px;
}

.payment-item .pay-action {
    font-size: 13px;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.bill-tabs .bill-tab.active {
    background: var(--primary-bg);
    color: var(--primary);
}

/* 交易必看 */
.notice-header {
    background: var(--primary-solid);
    padding: 20px 16px;
    color: #fff;
}

.notice-header .notice-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 6px;
}

.notice-header .notice-desc {
    font-size: 13px;
    opacity: 0.85;
}

.notice-list {
    background: #fff;
    padding: 0 16px;
}

.notice-item {
    display: flex;
    align-items: flex-start;
    padding: 20px 0;
    border-bottom: 1px solid #f5f5f5;
}

.notice-item:last-child {
    border-bottom: none;
}

.notice-item .notice-num {
    width: 28px;
    height: 28px;
    background: var(--primary-bg);
    color: var(--primary);
    font-size: 14px;
    font-weight: 700;
    margin-right: 12px;
    flex-shrink: 0;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notice-item .notice-content {
    font-size: 14px;
    line-height: 1.7;
    color: #333;
}

/* 联系客服弹窗 */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 300;
    align-items: center;
    justify-content: center;
}

.modal-overlay.show {
    display: flex;
}

.modal-content {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    width: 80%;
    max-width: 320px;
    text-align: center;
}

.modal-content .modal-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.modal-content .modal-desc {
    font-size: 13px;
    color: #999;
    margin-bottom: 16px;
}

.modal-content .modal-qr {
    max-width: 200px;
    margin: 0 auto 16px;
    background: #f5f5f5;
    border-radius: 8px;
    overflow: hidden;
}

.modal-content .modal-qr img {
    width: 100%;
    height: auto;
    display: block;
}

.modal-content .modal-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 14px;
    color: #666;
}

.modal-content .modal-close-btn {
    width: 100%;
    padding: 12px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 25px;
    font-size: 15px;
    cursor: pointer;
}

.tab-bar .tab-item .tab-icon {
    font-size: 22px;
    margin-bottom: 2px;
}

.tab-bar .tab-item .tab-icon-svg {
    width: 22px;
    height: 22px;
    margin-bottom: 2px;
}

/* 收支明细 */
.bill-section {
    background: #fff;
    margin: 12px;
    border-radius: 12px;
    padding: 16px;
}

.bill-section .bill-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.bill-section .bill-title {
    font-size: 15px;
    font-weight: 600;
}

.bill-tabs {
    display: flex;
    gap: 8px;
}

.bill-tabs .bill-tab {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    color: #666;
    cursor: pointer;
}

.bill-empty {
    text-align: center;
    color: #999;
    padding: 40px 0;
    font-size: 14px;
}

/* 收款设置底部弹窗 */
.pay-sheet-mask {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 400;
}
.pay-sheet-mask.show {
    display: block;
}
.pay-sheet {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    border-radius: 20px 20px 0 0;
    padding: 0 0 env(safe-area-inset-bottom);
    z-index: 401;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}
.pay-sheet.show {
    transform: translateY(0);
}
.pay-sheet-handle {
    width: 40px;
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
    margin: 12px auto 0;
}
.pay-sheet-title {
    font-size: 17px;
    font-weight: 600;
    text-align: center;
    margin-top: 16px;
    color: #1a1a1a;
}
.pay-sheet-sub {
    font-size: 12px;
    color: #999;
    text-align: center;
    margin-top: 6px;
    margin-bottom: 8px;
}
.pay-sheet-body {
    padding: 8px 24px 16px;
}
.pay-field-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    border-bottom: 1px solid #f0f0f0;
}
.pay-field-item {
    padding: 16px 0;
}
.pay-field-label {
    font-size: 15px;
    color: #1a1a1a;
    font-weight: 500;
    flex-shrink: 0;
    min-width: 90px;
}
.pay-field-input {
    flex: 1;
    border: none;
    outline: none;
    text-align: right;
    font-size: 15px;
    color: #333;
    background: transparent;
}
.pay-field-input::placeholder {
    color: #c0c0c0;
}
.pay-field-tip {
    font-size: 12px;
    color: #999;
    margin-top: 10px;
    text-align: center;
}
.pay-sheet-btn {
    display: block;
    width: calc(100% - 48px);
    margin: 0 24px 20px;
    padding: 15px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

/* 微信收款码上传区域 */
.wechat-qr-upload {
    width: 160px;
    height: 160px;
    border: 2px dashed var(--primary);
    border-radius: 12px;
    background: var(--primary-bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}
#wechatQrPlaceholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}
.wechat-qr-plus {
    font-size: 36px;
    color: var(--primary);
    line-height: 1;
}
.wechat-qr-text {
    font-size: 13px;
    color: var(--primary);
    margin-top: 8px;
}
.payment-item {
    cursor: pointer;
}
