/* 基础样式 - 现代简洁风格 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #1a1a1a;
    min-height: 100vh;
    padding: 20px;
}

/* 品牌色 */
:root {
    --brand-color: #05C160;
    --brand-light: rgba(54, 177, 83, 0.15);
}

/* 设备选择器 */
.device-selector {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    color: #ccc;
}

.device-selector h2 {
    font-size: 24px;
    margin-bottom: 8px;
    color: #fff;
    font-weight: 500;
}

.device-selector > p {
    opacity: 0.6;
    margin-bottom: 24px;
    font-size: 14px;
}

.page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
}

.page-card {
    background: #2a2a2a;
    border-radius: 12px;
    padding: 20px 12px;
    text-decoration: none;
    color: #fff;
    transition: all 0.2s ease;
    border: 1px solid #333;
}

.page-card:hover {
    background: #333;
    border-color: var(--brand-color);
    transform: translateY(-2px);
}

.page-card .icon {
    font-size: 28px;
    margin-bottom: 10px;
    opacity: 0.8;
}

.page-card .title {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 4px;
}

.page-card .desc {
    font-size: 11px;
    color: #888;
}

/* 手机框架 */
.phone-frame {
    width: 375px;
    height: 812px;
    background: #000;
    border-radius: 40px;
    margin: 20px auto;
    padding: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    position: relative;
}

.phone-frame::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 28px;
    background: #000;
    border-radius: 20px;
    z-index: 100;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 32px;
    overflow: hidden;
    position: relative;
}

/* 页面容器 */
.page-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #000;
}

/* 状态栏 - 深色风格 */
.status-bar {
    height: 44px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
    padding-top: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    flex-shrink: 0;
}

.status-bar .time {
    font-weight: 600;
}

.status-bar .icons {
    display: flex;
    gap: 4px;
    font-size: 12px;
}

/* 顶部导航 */
.header {
    background: #fff;
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 10;
}
    justify-content: space-between;
}

.header-back {
    width: 32px;
    height: 32px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.header-back svg {
    stroke: #333;
    stroke-width: 2;
}

.header-title {
    font-size: 17px;
    font-weight: 600;
    color: #333;
    flex: 1;
    text-align: center;
}

.header-action {
    color: var(--brand-color);
    font-weight: 500;
    font-size: 15px;
}

.header-more {
    font-size: 18px;
    color: #333;
    cursor: pointer;
    padding: 4px 8px;
}

/* Tab导航 */
.tab-nav {
    display: flex;
    background: transparent;
    padding: 0 12px;
    position: absolute;
    top: 44px;
    left: 0;
    right: 0;
    z-index: 50;
    align-items: center;
    gap: 2px;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.tab-nav::-webkit-scrollbar {
    display: none;
}

.tab-item {
    flex: 0 0 auto;
    padding: 12px 10px;
    text-align: center;
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    position: relative;
    cursor: pointer;
    font-weight: 400;
    white-space: nowrap;
}

.tab-item.active {
    color: #fff;
    font-weight: 600;
    font-size: 15px;
}

.tab-item.active::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: #fff;
    border-radius: 2px;
}

.tab-search {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    margin-left: auto;
    position: sticky;
    right: 0;
    z-index: 3;
    background: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.7) 28%, rgba(0,0,0,0.95) 100%);
}
.tab-search svg {
    width: 18px;
    height: 18px;
    stroke: rgba(255,255,255,0.7);
    stroke-width: 1.8;
    fill: none;
}

/* 底部导航 - 现代风格 */
.bottom-nav {
    display: flex;
    background: #000;
    border-top: 0.5px solid rgba(255,255,255,0.1);
    padding-bottom: 20px;
}

.nav-item {
    flex: 1;
    padding: 10px 0;
    text-align: center;
    font-size: 10px;
    color: rgba(255,255,255,0.5);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.nav-item .nav-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-item.active {
    color: #fff;
}

.nav-item.publish .publish-btn {
    width: 44px;
    height: 30px;
    background: var(--brand-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    position: relative;
}

.nav-item.publish .publish-btn::before,
.nav-item.publish .publish-btn::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 12px;
    background: var(--brand-color);
    border-radius: 1px;
}

.nav-item.publish .publish-btn::before {
    top: -6px;
}

.nav-item.publish .publish-btn::after {
    bottom: -6px;
}

/* 线性图标样式 */
.icon-outline {
    stroke: currentColor;
    stroke-width: 1.8;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* 视频信息流 */
.video-feed {
    flex: 1;
    position: relative;
    overflow: hidden;
    background: #000;
}

.video-player {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #1a1a1a 0%, #2a2a2a 50%, #1a1a1a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.3);
    font-size: 48px;
}

/* 视频底部信息 - 半透明浮层 */
.video-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 70px;
    padding: 60px 16px 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
}

.video-author {
    display: none;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.video-author .avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #444;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.2);
}

.video-author .name {
    font-size: 14px;
    font-weight: 500;
}

.video-author .follow-btn {
    margin-left: 10px;
    padding: 4px 12px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.5);
    color: #fff;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
}

.video-author .follow-btn.followed {
    background: rgba(255,255,255,0.1);
    border: none;
    color: rgba(255,255,255,0.6);
}

.video-title {
    font-size: 14px;
    margin-bottom: 10px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.video-tag {
    background: rgba(255,255,255,0.15);
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 12px;
    color: rgba(255,255,255,0.9);
}

/* 侧边栏操作 - 视频浮层 */
.side-actions {
    position: absolute;
    right: 10px;
    bottom: 150px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    z-index: 8;
}

.side-actions::before {
    content: "";
    width: 46px;
    height: 46px;
    margin-bottom: 2px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 38%, rgba(255,255,255,0.95) 0 7px, transparent 8px),
        radial-gradient(circle at 50% 78%, rgba(255,255,255,0.95) 0 14px, transparent 15px),
        linear-gradient(135deg, #35c66b 0%, #0f8f4e 100%);
    border: 2px solid rgba(255,255,255,0.9);
    box-shadow: 0 2px 8px rgba(0,0,0,0.32);
}

.side-actions::after {
    content: "+";
    position: absolute;
    top: 36px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #ff2d55;
    color: #fff;
    border: 2px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 1px 4px rgba(0,0,0,0.28);
}

.side-action {
    width: 48px;
    min-height: 54px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 11px;
    cursor: pointer;
    border-radius: 14px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    text-shadow: 0 1px 2px rgba(0,0,0,0.35);
}

.side-action .icon-wrap {
    width: 38px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2px;
    position: relative;
}

.side-action .icon-wrap svg {
    width: 24px;
    height: 24px;
    stroke: #fff;
    stroke-width: 1.9;
    fill: none;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.42));
}

.side-action.good-review .icon-wrap svg,
.side-action.bad-review .icon-wrap svg {
    width: 28px;
    height: 28px;
}

.side-action.good-review .icon-wrap svg {
    transform: rotate(-8deg) scale(1.08);
}

.side-action.good-review .icon-wrap svg circle,
.side-action.bad-review .icon-wrap svg circle {
    display: none;
}

.side-action.good-review .icon-wrap svg polyline {
    stroke-width: 3;
}

.side-action.bad-review .icon-wrap svg line {
    stroke-width: 2.8;
}

.side-action.liked .icon-wrap svg {
    fill: #ff2d55;
    stroke: #ff2d55;
}

.side-action.collected .icon-wrap svg {
    fill: #ffc107;
    stroke: #ffc107;
}

/* 收藏五角星样式 */
.side-action .icon-wrap svg polygon {
    fill: none;
    stroke: #fff;
}

.side-action.collected .icon-wrap svg polygon {
    fill: #ffc107;
    stroke: #ffc107;
}

/* 好评选中 - 粉色对勾 */
.side-action.good-review.active .icon-wrap svg {
    stroke: #ff6b9d;
}
.side-action.good-review.active .count {
    color: #ff6b9d;
}

/* 差评选中 - 红色叉号 */
.side-action.bad-review.active .icon-wrap svg {
    stroke: #ff3b30;
}
.side-action.bad-review.active .count {
    color: #ff3b30;
}

.side-action .count {
    font-size: 11px;
    color: rgba(255,255,255,0.86);
    line-height: 1.2;
    min-height: 13px;
}

.cart-badge {
    position: relative;
}

.cart-badge .badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--brand-color);
    color: white;
    font-size: 10px;
    min-width: 16px;
    height: 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
}

/* 弹窗基础样式 */
.popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: flex-end;
    z-index: 200;
}

.popup-content {
    width: 100%;
    background: #fff;
    border-radius: 16px 16px 0 0;
    max-height: 75%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid #f0f0f0;
    flex-shrink: 0;
}

.popup-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.popup-close {
    font-size: 20px;
    color: #999;
    cursor: pointer;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-body {
    flex: 1;
    overflow-y: auto;
}

/* 评论样式 */
.comment-section {
    background: #fff;
}

.comment-header {
    padding: 16px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.comment-total {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.comment-sort {
    font-size: 13px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 4px;
}

.comment-list {
    padding: 0 16px;
    max-height: 300px;
    overflow-y: auto;
}

.comment-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 14px 0;
    border-bottom: 1px solid #f5f5f5;
}

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

.comment-user {
    display: flex;
    gap: 10px;
}

.comment-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.comment-avatar svg {
    width: 16px;
    height: 16px;
    stroke: #999;
}

.comment-content {
    flex: 1;
}

.comment-name,
.comment-author {
    font-size: 13px;
    color: #666;
    margin-bottom: 4px;
}

.comment-text {
    font-size: 14px;
    color: #333;
    line-height: 1.5;
    margin-bottom: 8px;
}

.comment-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 12px;
    color: #999;
}

.comment-action {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

.comment-action svg {
    width: 16px;
    height: 16px;
    stroke: #999;
    fill: none;
}

.comment-action.liked svg { fill: #ff2d55; stroke: #ff2d55; }
.comment-action.liked .count { color: #ff2d55; }
.comment-action .count { color: #999; }

.comment-name-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.comment-name.author {
    color: var(--brand-color);
    font-weight: 500;
}

.comment-reply-btn {
    color: #999;
    font-size: 12px;
    cursor: pointer;
}

.comment-reply-btn:hover { color: var(--brand-color); }

/* 回复区域：多级回复扁平展示，回复正文保持同一左缩进 */
.replies-wrap {
    margin-top: 10px;
    padding: 4px 0 0 0;
    background: transparent;
    border-radius: 0;
}

.reply-item {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.reply-item:last-child { border-bottom: none; padding-bottom: 0; }
.reply-item:first-child { padding-top: 0; }

.reply-user {
    display: flex;
    gap: 8px;
}

.reply-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #e8e8e8;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.reply-avatar svg {
    width: 13px;
    height: 13px;
    stroke: #bbb;
}

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

.reply-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    margin-top: 4px;
}

.reply-target {
    color: var(--brand-color);
    font-size: 12px;
    margin-right: 2px;
}

/* 子回复不继续递进缩进，和上一层回复正文左对齐 */
.sub-replies {
    margin-top: 8px;
    margin-left: -34px;
    padding-left: 0;
    border-left: none;
}

.sub-reply-item {
    padding: 8px 0 8px 34px;
    font-size: 13px;
    border-bottom: 1px solid #eee;
    position: relative;
}

.sub-reply-item::before,
.deep-reply::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #e8e8e8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23bbb' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E") no-repeat center;
}

.sub-reply-item:last-child { border-bottom: none; padding-bottom: 0; }
.sub-reply-item:first-child { padding-top: 4px; }

.sub-reply-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    margin-top: 2px;
}

/* 最深回复仍是第三楼语义，但视觉不再继续缩进 */
.deep-reply {
    margin-top: 6px;
    margin-left: -34px;
    padding: 6px 0 6px 34px;
    border-left: none;
    font-size: 13px;
    position: relative;
}

/* 展开/收起 */
.reply-toggle {
    font-size: 12px;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 8px;
}

.reply-toggle svg {
    width: 11px;
    height: 11px;
    stroke: #666;
    fill: none;
}

.reply-toggle:hover { color: var(--brand-color); }

/* 回复输入行 */
.reply-input-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #f8f8f8;
    border-radius: 8px;
    margin-top: 8px;
}

.reply-input-row input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 13px;
    outline: none;
}

.reply-input-row .cancel-reply {
    color: #999;
    font-size: 12px;
    cursor: pointer;
    flex-shrink: 0;
}

.comment-action.liked svg {
    fill: #ff2d55;
    stroke: #ff2d55;
}

.comment-action.liked .count {
    color: #ff2d55;
}

.comment-replies {
    margin-top: 10px;
    padding: 10px 12px;
    background: #f8f8f8;
    border-radius: 8px;
}

.reply-toggle {
    font-size: 12px;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
}

.reply-toggle svg {
    width: 12px;
    height: 12px;
    stroke: #666;
    fill: none;
}

.reply-item {
    padding: 8px 0;
    font-size: 13px;
    color: #333;
    line-height: 1.4;
    border-bottom: 1px solid #eee;
}

.reply-item .reply-name {
    color: var(--brand-color);
    font-weight: 500;
}

.comment-input {
    display: flex;
    gap: 12px;
    padding: 12px 16px;
    background: #fff;
    border-top: 1px solid #f0f0f0;
    align-items: center;
    flex-shrink: 0;
}

.comment-input input {
    flex: 1;
    padding: 10px 14px;
    background: #f5f5f5;
    border-radius: 20px;
    border: none;
    font-size: 14px;
    outline: none;
}

.comment-input input:focus {
    background: #eee;
}

.comment-input button {
    padding: 8px 16px;
    background: var(--brand-color);
    color: white;
    border: none;
    border-radius: 18px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

/* 商品卡片 */
.product-card {
    display: flex;
    gap: 12px;
    padding: 16px;
    border-bottom: 1px solid #f5f5f5;
}

.product-image {
    width: 80px;
    height: 80px;
    background: #f5f5f5;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image svg {
    width: 32px;
    height: 32px;
    stroke: #ccc;
}

.product-info {
    flex: 1;
}

.product-name {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 6px;
}

.product-spec {
    font-size: 12px;
    color: #999;
    margin-bottom: 6px;
}

.product-price {
    font-size: 16px;
    color: #ff4d4f;
    font-weight: 600;
}

.product-price .unit {
    font-size: 12px;
}

/* 规格列表 */
.spec-list {
    padding: 0 16px;
}

.spec-item {
    padding: 14px 0;
    border-bottom: 1px solid #f5f5f5;
}

.spec-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.spec-name {
    font-size: 14px;
    color: #333;
    flex: 1;
}

.spec-price {
    font-size: 14px;
    color: #ff4d4f;
    font-weight: 500;
    margin-right: 12px;
}

.spec-unit {
    font-size: 12px;
    color: #666;
    padding: 2px 8px;
    background: #f5f5f5;
    border-radius: 4px;
    cursor: pointer;
}

.spec-quantity {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.qty-selector {
    display: flex;
    align-items: center;
    gap: 12px;
}

.qty-btn {
    width: 28px;
    height: 28px;
    border: 1px solid #ddd;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: #fff;
    font-size: 16px;
    color: #333;
}

.qty-btn:disabled {
    color: #ccc;
    border-color: #eee;
}

.qty-num {
    font-size: 14px;
    font-weight: 500;
    min-width: 24px;
    text-align: center;
}

.spec-meta {
    margin-top: 8px;
    font-size: 12px;
    color: var(--brand-color);
    background: rgba(54, 177, 83, 0.08);
    padding: 6px 10px;
    border-radius: 6px;
    display: flex;
    gap: 16px;
}

/* 方案弹窗左侧目录 */
.scheme-layout {
    display: flex;
    height: 100%;
}

.scheme-sidebar {
    width: 100px;
    background: #f8f8f8;
    flex-shrink: 0;
    overflow-y: auto;
}

.scheme-category {
    padding: 14px 12px;
    font-size: 13px;
    color: #666;
    border-left: 3px solid transparent;
    cursor: pointer;
}

.scheme-category.active {
    background: #fff;
    color: var(--brand-color);
    border-left-color: var(--brand-color);
    font-weight: 500;
}

.scheme-main {
    flex: 1;
    overflow-y: auto;
}

.scheme-header-info {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 14px 16px;
    border-bottom: 1px solid #eee;
}

.scheme-name {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.scheme-tags {
    display: flex;
    gap: 8px;
}

.scheme-tag {
    font-size: 12px;
    color: #666;
    background: #fff;
    padding: 2px 8px;
    border-radius: 4px;
}

/* 个人主页 */
.profile-header {
    background: linear-gradient(180deg, #2a2a2a 0%, #1a1a1a 100%);
    padding: 60px 20px 24px;
    text-align: center;
    color: white;
}

.profile-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #444;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255,255,255,0.2);
}

.profile-avatar svg {
    width: 36px;
    height: 36px;
    stroke: rgba(255,255,255,0.6);
}

.profile-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
}

.profile-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.stat-item {
    text-align: center;
}

.stat-num {
    font-size: 18px;
    font-weight: 600;
}

.stat-label {
    font-size: 12px;
    opacity: 0.7;
    margin-top: 2px;
}

/* Tab切换 */
.profile-tabs {
    display: flex;
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
}

.profile-tab {
    flex: 1;
    padding: 14px;
    text-align: center;
    font-size: 14px;
    color: #999;
    position: relative;
    cursor: pointer;
}

.profile-tab.active {
    color: #333;
    font-weight: 500;
}

.profile-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 2px;
    background: var(--brand-color);
    border-radius: 1px;
}

/* 作品网格 */
.works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    padding: 2px;
    background: #fff;
}

.work-item {
    aspect-ratio: 3/4;
    background: #f0f0f0;
    position: relative;
    overflow: hidden;
}

.work-cover {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.work-cover svg {
    width: 32px;
    height: 32px;
    stroke: #ccc;
}

.work-views {
    position: absolute;
    bottom: 6px;
    left: 6px;
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 11px;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.work-views svg {
    width: 12px;
    height: 12px;
    stroke: #fff;
}

/* 表单样式 */
.form-section {
    background: #fff;
    margin-bottom: 10px;
    padding: 16px;
}

.form-label {
    font-size: 14px;
    color: #333;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.form-label .required {
    color: #ff4d4f;
}

.form-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    font-size: 14px;
    background: #fafafa;
    transition: all 0.2s;
}

.form-input:focus {
    border-color: var(--brand-color);
    background: #fff;
    outline: none;
}

.form-textarea {
    min-height: 100px;
    resize: none;
    line-height: 1.6;
}

.form-row {
    display: flex;
    gap: 12px;
}

.form-row .form-input {
    flex: 1;
}

.form-hint {
    font-size: 12px;
    color: #999;
    margin-top: 8px;
    padding: 10px 12px;
    background: #fffbe6;
    border-radius: 6px;
    border: 1px solid #ffe58f;
}

/* 上传区域 */
.upload-area {
    border: 2px dashed #ddd;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    background: #fafafa;
    cursor: pointer;
    transition: all 0.2s;
}

.upload-area:hover {
    border-color: var(--brand-color);
    background: rgba(54, 177, 83, 0.02);
}

.upload-area .icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 10px;
}

.upload-area .icon svg {
    width: 48px;
    height: 48px;
    stroke: #bbb;
}

.upload-area .text {
    font-size: 14px;
    color: #666;
}

.upload-area .hint {
    font-size: 12px;
    color: #999;
    margin-top: 6px;
}

/* 选择弹窗 */
.select-popup {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: flex-end;
    z-index: 200;
}

.select-popup-content {
    width: 100%;
    background: #fff;
    border-radius: 16px 16px 0 0;
    max-height: 80%;
    display: flex;
    flex-direction: column;
}

.select-popup-header {
    padding: 16px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.select-popup-title {
    font-size: 16px;
    font-weight: 600;
}

.select-popup-close {
    font-size: 20px;
    color: #999;
    cursor: pointer;
}

.select-search {
    padding: 12px 16px;
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
}

.select-search input {
    width: 100%;
    padding: 10px 14px 10px 36px;
    background: #f5f5f5 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.35-4.35'/%3E%3C/svg%3E") no-repeat 12px center;
    border-radius: 20px;
    border: none;
    font-size: 14px;
}

.select-body {
    display: flex;
    flex: 1;
    overflow: hidden;
}

.select-sidebar {
    width: 90px;
    background: #f8f8f8;
    overflow-y: auto;
}

.select-category {
    padding: 14px 12px;
    font-size: 13px;
    color: #666;
    cursor: pointer;
    border-left: 3px solid transparent;
}

.select-category.active {
    background: #fff;
    color: var(--brand-color);
    border-left-color: var(--brand-color);
}

.select-main {
    flex: 1;
    overflow-y: auto;
    padding: 8px 0;
}

.select-option {
    padding: 12px 16px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.select-option:hover {
    background: #f5f5f5;
}

.select-option.selected {
    color: var(--brand-color);
}

.select-option .check {
    width: 18px;
    height: 18px;
}

/* 已选标签 */
.selected-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.selected-tag {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: var(--brand-light);
    color: var(--brand-color);
    border-radius: 14px;
    font-size: 12px;
}

.selected-tag .remove {
    cursor: pointer;
    font-size: 14px;
}

/* 我的发布列表 */
.publish-list {
    padding: 12px;
    background: #f5f5f5;
    flex: 1;
    overflow-y: auto;
}

.publish-item {
    background: #fff;
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 10px;
    display: flex;
    gap: 12px;
}

.publish-thumb {
    width: 72px;
    height: 96px;
    background: #f0f0f0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
}

.publish-thumb svg {
    width: 24px;
    height: 24px;
    stroke: #ccc;
}

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

.publish-title {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.publish-time {
    font-size: 12px;
    color: #999;
    margin-bottom: 8px;
}

.publish-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.publish-tag {
    font-size: 11px;
    padding: 2px 6px;
    background: #f0f0f0;
    color: #666;
    border-radius: 4px;
}

.publish-tag.crop {
    background: #e6f7e6;
    color: var(--brand-color);
}

.publish-tag.pest {
    background: #fff3e0;
    color: #f5a623;
}

.publish-tag.product {
    background: #e3f2fd;
    color: #2196f3;
    position: relative;
}

.publish-tag.product .badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #ff4d4f;
    color: #fff;
    font-size: 10px;
    min-width: 14px;
    height: 14px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.publish-actions {
    display: flex;
    gap: 8px;
}

.publish-btn {
    padding: 5px 12px;
    border-radius: 14px;
    font-size: 12px;
    border: 1px solid #ddd;
    background: #fff;
    color: #666;
    cursor: pointer;
}

.publish-btn.delete {
    color: #ff4d4f;
    border-color: #ff4d4f;
}

/* 确认弹窗 */
.confirm-popup {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 300;
}

.confirm-content {
    width: 280px;
    background: #fff;
    border-radius: 16px;
    padding: 24px 20px;
    text-align: center;
}

.confirm-title {
    font-size: 17px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

.confirm-text {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.confirm-actions {
    display: flex;
    gap: 12px;
}

.confirm-btn {
    flex: 1;
    padding: 12px;
    border-radius: 24px;
    font-size: 15px;
    border: none;
    cursor: pointer;
}

.confirm-btn.cancel {
    background: #f5f5f5;
    color: #666;
}

.confirm-btn.confirm {
    background: #ff4d4f;
    color: #fff;
}

/* 搜索页 */
.search-page {
    background: #fff;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.search-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
}

.search-header .back-btn {
    font-size: 20px;
    color: #333;
    cursor: pointer;
}

.search-input-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    background: #f5f5f5;
    border-radius: 20px;
    padding: 10px 14px;
    gap: 8px;
}

.search-input-wrap svg {
    width: 16px;
    height: 16px;
    stroke: #999;
    flex-shrink: 0;
}

.search-input-wrap input {
    flex: 1;
    border: none;
    background: none;
    font-size: 14px;
    outline: none;
}

.search-btn {
    color: var(--brand-color);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

.search-filter {
    display: flex;
    gap: 8px;
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
    overflow-x: auto;
}

.filter-tag {
    padding: 6px 14px;
    background: #f5f5f5;
    border-radius: 16px;
    font-size: 13px;
    color: #666;
    white-space: nowrap;
    cursor: pointer;
}

.filter-tag.active {
    background: var(--brand-color);
    color: #fff;
}

.search-section {
    padding: 16px;
}

.search-section-title {
    font-size: 14px;
    color: #333;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.search-section-title .clear {
    font-size: 12px;
    color: #999;
    cursor: pointer;
}

.hot-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hot-tag {
    padding: 8px 14px;
    background: #f5f5f5;
    border-radius: 16px;
    font-size: 13px;
    color: #666;
    cursor: pointer;
}

.history-list {
    padding: 0 16px;
}

.history-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f5f5f5;
}

.history-item svg {
    width: 16px;
    height: 16px;
    stroke: #999;
}

.history-item .text {
    flex: 1;
    font-size: 14px;
    color: #333;
}

/* 搜索结果 */
.search-results {
    padding: 12px;
    background: #f5f5f5;
    flex: 1;
    overflow-y: auto;
}

.result-count {
    font-size: 12px;
    color: #999;
    margin-bottom: 12px;
}

.result-card {
    background: #fff;
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 10px;
    display: flex;
    gap: 12px;
}

.result-cover {
    width: 100px;
    height: 130px;
    background: #f0f0f0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
}

.result-cover svg {
    width: 24px;
    height: 24px;
    stroke: #ccc;
}

.result-cover .views {
    position: absolute;
    bottom: 6px;
    left: 6px;
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 10px;
    color: #fff;
}

.result-cover .views svg {
    width: 10px;
    height: 10px;
    stroke: #fff;
}

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

.result-author {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.result-author .avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #f0f0f0;
}

.result-author .name {
    font-size: 12px;
    color: #999;
}

.result-title {
    font-size: 14px;
    color: #333;
    line-height: 1.4;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.result-title .highlight {
    color: var(--brand-color);
    font-weight: 500;
}

.result-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.result-tag {
    font-size: 11px;
    padding: 2px 8px;
    background: #f0f0f0;
    color: #666;
    border-radius: 4px;
    cursor: pointer;
}

.result-tag.crop {
    background: #e6f7e6;
    color: var(--brand-color);
}

.result-tag.pest {
    background: #fff3e0;
    color: #f5a623;
}

/* 转发弹窗 */
.share-popup {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 16px 16px 0 0;
    padding: 20px 16px 30px;
}

.share-options {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.share-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.share-option .icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.share-option .icon svg {
    width: 24px;
    height: 24px;
    stroke: #666;
}

.share-option.report .icon svg {
    stroke: #ff4d4f;
}

.share-option .text {
    font-size: 12px;
    color: #666;
}

/* 举报弹窗 */
.report-popup {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    z-index: 250;
    display: flex;
    flex-direction: column;
}

.report-header {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    border-bottom: 1px solid #f0f0f0;
}

.report-header .back {
    font-size: 20px;
    color: #333;
    cursor: pointer;
}

.report-header .title {
    flex: 1;
    text-align: center;
    font-size: 17px;
    font-weight: 600;
}

.report-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
}

.report-reasons {
    margin-bottom: 20px;
}

.report-reason {
    padding: 14px 0;
    border-bottom: 1px solid #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.report-reason .text {
    font-size: 15px;
    color: #333;
}

.report-reason .check {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1.5px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
}

.report-reason.selected .check {
    background: var(--brand-color);
    border-color: var(--brand-color);
}

.report-reason.selected .check svg {
    width: 12px;
    height: 12px;
    stroke: #fff;
}

.report-desc {
    margin-top: 20px;
}

.report-desc textarea {
    width: 100%;
    height: 100px;
    padding: 12px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    font-size: 14px;
    resize: none;
    outline: none;
}

.report-desc textarea:focus {
    border-color: var(--brand-color);
}

.report-images {
    margin-top: 16px;
}

.report-images .label {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.report-images .upload-btn {
    width: 70px;
    height: 70px;
    border: 1px dashed #ddd;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.report-images .upload-btn svg {
    width: 24px;
    height: 24px;
    stroke: #ccc;
}

.report-submit {
    padding: 16px;
    border-top: 1px solid #f0f0f0;
}

.report-submit button {
    width: 100%;
    padding: 14px;
    background: var(--brand-color);
    color: #fff;
    border: none;
    border-radius: 24px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
}

/* 单商品浮窗 */
.product-float {
    position: absolute;
    bottom: 100px;
    left: 16px;
    right: 70px;
    background: rgba(0,0,0,0.75);
    border-radius: 12px;
    padding: 12px;
    display: flex;
    gap: 12px;
    color: #fff;
    cursor: pointer;
}

.product-float-image {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.product-float-image svg {
    width: 24px;
    height: 24px;
    stroke: rgba(255,255,255,0.5);
}

.product-float-info {
    flex: 1;
    min-width: 0;
}

.product-float-name {
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-float-price {
    font-size: 15px;
    color: #ff6b6b;
    font-weight: 600;
}

.product-float-arrow {
    display: flex;
    align-items: center;
    color: rgba(255,255,255,0.6);
}

/* 页面标签 */
.page-label {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 6px 16px;
    border-radius: 16px;
    font-size: 11px;
    z-index: 10;
}

/* 返回链接 */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #999;
    text-decoration: none;
    margin-bottom: 16px;
    font-size: 13px;
}

.back-link:hover {
    color: #fff;
}

/* 页面展示容器 */
.page-showcase {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.page-info {
    color: #ccc;
    text-align: center;
    margin-bottom: 16px;
}

.page-info h3 {
    font-size: 20px;
    margin-bottom: 6px;
    color: #fff;
    font-weight: 500;
}

.page-info p {
    opacity: 0.6;
    font-size: 13px;
}

/* 滚动内容 */
.scroll-content {
    flex: 1;
    overflow-y: auto;
    background: #f5f5f5;
}

/* 效果对比 */
.compare-section {
    max-width: 1000px;
    margin: 30px auto;
    padding: 20px;
    background: #2a2a2a;
    border-radius: 16px;
}

.compare-section h3 {
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 16px;
}

.compare-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.compare-item {
    background: #1a1a1a;
    border-radius: 12px;
    padding: 16px;
}

.compare-item .label {
    font-size: 12px;
    color: #888;
    margin-bottom: 8px;
}

.compare-item .content {
    font-size: 14px;
    color: #ccc;
}

.compare-item .highlight {
    color: var(--brand-color);
}

/* 底部按钮 */
.bottom-actions {
    display: flex;
    gap: 12px;
    padding: 14px 16px;
    background: #fff;
    border-top: 1px solid #f0f0f0;
}

.btn {
    flex: 1;
    padding: 12px;
    border-radius: 24px;
    font-size: 15px;
    font-weight: 500;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--brand-color);
    color: white;
}

.btn-secondary {
    background: #fff;
    color: var(--brand-color);
    border: 1px solid var(--brand-color);
}

/* 页面展示框架 */
.page-showcase {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    min-height: 100vh;
}

.page-info {
    color: #ccc;
    text-align: center;
    margin-bottom: 16px;
}

.page-info h3 {
    font-size: 20px;
    margin-bottom: 6px;
    color: #fff;
    font-weight: 500;
}

.page-info p {
    opacity: 0.6;
    font-size: 13px;
}

/* 返回链接 */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #999;
    text-decoration: none;
    margin-bottom: 16px;
    font-size: 13px;
}

.back-link:hover {
    color: #fff;
}

/* 手机框架样式补充 */
.phone-frame {
    width: 375px;
    height: 812px;
    background: #000;
    border-radius: 40px;
    margin: 20px auto;
    padding: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    position: relative;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 32px;
    overflow: hidden;
    position: relative;
}

.phone-frame::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 28px;
    background: #000;
    border-radius: 20px;
    z-index: 100;
}

.page-label {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 6px 16px;
    border-radius: 16px;
    font-size: 11px;
    z-index: 10;
}

/* 页面容器样式 */
.page-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #000;
}

/* 页面头部 */
.header {
    background: #fff;
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-back {
    width: 32px;
    height: 32px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.header-back svg {
    stroke: #333;
    stroke-width: 2;
}

.header-title {
    font-size: 17px;
    font-weight: 600;
    color: #333;
}

.header-action {
    color: var(--brand-color);
    font-weight: 500;
    font-size: 15px;
}

/* 状态栏 */
.status-bar {
    height: 44px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
    padding-top: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.status-bar .time {
    font-weight: 600;
}

.status-bar .icons {
    display: flex;
    gap: 4px;
    font-size: 12px;
}

/* 滚动内容 */
.scroll-content {
    flex: 1;
    overflow-y: auto;
    background: #f5f5f5;
}

/* 底部操作 */
.bottom-actions {
    display: flex;
    gap: 12px;
    padding: 14px 16px;
    background: #fff;
    border-top: 1px solid #f0f0f0;
}

.btn {
    flex: 1;
    padding: 12px;
    border-radius: 24px;
    font-size: 15px;
    font-weight: 500;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--brand-color);
    color: white;
}

/* Tab导航样式补充 */
.tab-nav {
    display: flex;
    background: transparent;
    padding: 0 12px;
    position: absolute;
    top: 44px;
    left: 0;
    right: 0;
    z-index: 50;
    align-items: center;
    gap: 2px;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.tab-nav::-webkit-scrollbar {
    display: none;
}

.tab-item {
    flex: 0 0 auto;
    padding: 12px 10px;
    text-align: center;
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    position: relative;
    cursor: pointer;
    font-weight: 400;
    white-space: nowrap;
}

.tab-item.active {
    color: #fff;
    font-weight: 600;
    font-size: 15px;
}

.tab-item.active::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: #fff;
    border-radius: 2px;
}

.tab-search {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    margin-left: auto;
    position: sticky;
    right: 0;
    z-index: 3;
    background: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.7) 28%, rgba(0,0,0,0.95) 100%);
}
.tab-search svg {
    width: 18px;
    height: 18px;
    stroke: rgba(255,255,255,0.7);
    stroke-width: 1.8;
    fill: none;
}

/* 上传区域 */
.upload-area {
    border: 2px dashed #ddd;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    background: #fafafa;
    cursor: pointer;
    transition: all 0.2s;
}

.upload-area:hover {
    border-color: var(--brand-color);
    background: rgba(54, 177, 83, 0.02);
}

.upload-area .icon svg {
    width: 48px;
    height: 48px;
    stroke: #bbb;
}

.upload-area .text {
    font-size: 14px;
    color: #666;
}

.upload-area .hint {
    font-size: 12px;
    color: #999;
    margin-top: 6px;
}

/* 表单样式 */
.form-label {
    font-size: 14px;
    color: #333;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.form-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    font-size: 14px;
    background: #fafafa;
    transition: all 0.2s;
}

.form-input:focus {
    border-color: var(--brand-color);
    background: #fff;
    outline: none;
}

.form-textarea {
    min-height: 100px;
    resize: none;
    line-height: 1.6;
}

.form-hint {
    font-size: 12px;
    color: #999;
    margin-top: 8px;
    padding: 10px 12px;
    background: #fffbe6;
    border-radius: 6px;
    border: 1px solid #ffe58f;
}
