/* ===== 前台图集网站样式 ===== */
/* 全局重置：清除默认边距，统一盒模型 */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* CSS变量定义：主题颜色、阴影、圆角等全局样式 */
:root {
    --bg: #F8FAFC;
    --white: #FFFFFF;
    --text: #334155;
    --text2: #64748B;
    --text3: #94A3B8;
    --accent: #6EC6A4;
    --accent-h: #57B18E;
    --accent-light: #E8F8F0;
    --border: #E2E8F0;
    --sidebar-bg: #F0F9F4;
    --sidebar-text: #334155;
    --sidebar-w: 200px;
    --font: 'PingFang SC', 'Microsoft YaHei', -apple-system, sans-serif;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-h: 0 8px 24px rgba(0, 0, 0, 0.06);
    --radius: 12px;
}

body {
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
}

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

button {
    cursor: pointer;
    border: none;
    font-family: inherit;
}

input,
textarea {
    font-family: inherit;
}

/* ===== 左侧导航栏 ===== */
/* 固定左侧边栏：深色背景，包含Logo、菜单、搜索框 */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: var(--sidebar-w);
    background: var(--sidebar-bg);
    color: var(--sidebar-text);
    z-index: 200;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s;
    box-shadow: var(--shadow-h);
}

.sidebar-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 18px 16px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.brand-icon {
    font-size: 26px;
}

.brand-logo-link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    width: 100%;
}

.brand-logo {
    height: auto;
    width: auto;
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
    border-radius: 4px;
    display: block;
    transition: opacity 0.2s ease;
}

.brand-logo-link:hover .brand-logo {
    opacity: 0.8;
}

.sidebar-menu {
    padding: 8px 0;
    flex: 1;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    color: var(--text2);
    font-size: 15px;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}

.menu-item:hover {
    color: var(--text);
    background: rgba(110, 198, 164, 0.08);
}

.menu-item.active {
    color: var(--accent);
    background: rgba(110, 198, 164, 0.12);
    border-left-color: var(--accent);
}

.menu-icon {
    font-size: 18px;
}

.sidebar-search {
    padding: 12px 16px;
    display: flex;
    border-top: 1px solid var(--border);
    width: 100%;
    box-sizing: border-box;
}

.sidebar-search input {
    flex: 1;
    min-width: 0;
    padding: 8px 12px;
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--text);
    border-radius: 4px 0 0 4px;
    font-size: 13px;
    outline: none;
}

.sidebar-search input::placeholder {
    color: var(--text3);
}

.sidebar-search button {
    flex: none;
    width: 36px;
    padding: 0;
    background: var(--accent);
    color: #fff;
    border-radius: 0 4px 4px 0;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-footer {
    padding: 12px 20px;
    border-top: 1px solid var(--border);
}

.footer-text {
    font-size: 11px;
    color: var(--text3);
}

/* ===== 右侧主区域 ===== */
/* 主内容区域：左侧边栏右侧，包含顶部栏和内容区 */
.main-area {
    margin-left: var(--sidebar-w);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* 顶部栏 */
.top-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 28px;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.hamburger {
    display: none;
    background: none;
    font-size: 22px;
    color: var(--text);
}

.top-title {
    flex: 1;
    min-width: 0;
    font-size: 17px;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.top-title span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.top-user {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* 通知铃铛 */
.notification-bell {
    position: relative;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s;
}

.notification-bell:hover {
    background: rgba(110, 198, 164, 0.12);
}

.bell-icon {
    font-size: 20px;
    color: var(--text2);
}

.notification-bell:hover .bell-icon {
    color: var(--accent);
}

.bell-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: #FF4D4F;
    color: #fff;
    border-radius: 9px;
    font-size: 11px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

/* 公告列表弹窗 */
.announcement-item {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    transition: background 0.15s;
}

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

.announcement-item:hover {
    background: #F8FAFC;
}

.announcement-item.unread {
    background: #F6FFED;
}

.announcement-item.unread:hover {
    background: #E8F8F0;
}

.ann-title {
    font-weight: 600;
    font-size: 15px;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.ann-unread {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #FF4D4F;
    flex: none;
}

.ann-priority {
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 4px;
    background: #FFF1F0;
    color: #FF4D4F;
    border: 1px solid #FFCCC7;
    flex: none;
}

.ann-content {
    font-size: 14px;
    color: var(--text2);
    line-height: 1.6;
    white-space: pre-wrap;
    word-break: break-word;
    margin-bottom: 6px;
}

.ann-time {
    font-size: 12px;
    color: var(--text3);
}

/* 首页高优先级公告横幅 */
.home-announcement-banner {
    margin: 0 28px 24px;
    padding: 14px 18px;
    background: #FFF7E6;
    border: 1px solid #FFD591;
    border-radius: 10px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    box-shadow: 0 2px 8px rgba(255, 165, 0, 0.08);
}

.home-announcement-body {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    flex: 1;
}

.home-announcement-icon {
    font-size: 24px;
    flex: none;
    line-height: 1;
}

.home-announcement-title {
    font-weight: 700;
    font-size: 16px;
    color: #D46B08;
    margin-bottom: 4px;
}

.home-announcement-text {
    font-size: 14px;
    color: #874D00;
    line-height: 1.6;
    white-space: pre-wrap;
    word-break: break-word;
}

.home-announcement-close {
    background: none;
    border: none;
    font-size: 22px;
    color: #D46B08;
    cursor: pointer;
    line-height: 1;
    padding: 0 0 0 8px;
}

.home-announcement-close:hover {
    color: #873800;
}

@media (max-width: 768px) {
    .home-announcement-banner {
        margin: 0 16px 20px;
    }
}

.btn-text {
    background: none;
    color: var(--text2);
    font-size: 14px;
    padding: 6px 10px;
}

.btn-primary-sm {
    background: var(--accent);
    color: #fff;
    font-size: 13px;
    padding: 6px 16px;
    border-radius: 4px;
}

.btn-primary-sm:hover {
    background: var(--accent-h);
}

.btn-primary-full {
    display: block;
    width: 100%;
    padding: 12px;
    font-size: 15px;
    font-weight: 500;
    background: var(--accent);
    color: #fff;
    border-radius: 4px;
}

.btn-primary-full:hover {
    background: var(--accent-h);
}

.btn-outline {
    padding: 10px 24px;
    background: #fff;
    color: var(--text2);
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 14px;
}

/* 用户头像 */
.user-avatar {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.avatar-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
}

.avatar-name {
    font-size: 14px;
    color: var(--text);
}

.user-dropdown {
    position: absolute;
    top: 44px;
    right: 0;
    width: 140px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    z-index: 110;
}

.user-dropdown a {
    display: block;
    padding: 12px 16px;
    font-size: 14px;
    color: var(--text);
    transition: background 0.15s;
}

.user-dropdown a:hover {
    background: #F5F5F5;
}

/* 内容区 */
.content {
    padding: 28px;
    flex: 1;
}

.loading {
    text-align: center;
    padding: 80px 0;
    color: var(--text3);
}

.spinner {
    width: 32px;
    height: 32px;
    border: 3px solid var(--border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    margin: 0 auto 12px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ===== 空白状态 ===== */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: var(--text3);
}

.empty-state .icon {
    font-size: 48px;
    margin-bottom: 12px;
    opacity: 0.3;
}

/* ===== 网格卡片 ===== */
.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}

.card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-h);
}

.card-cover {
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: contain;
    background: #f0f0f0;
    display: block;
}

.card-body {
    padding: 14px 16px;
}

.card-body h4 {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 6px;
    color: var(--text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.card-meta {
    font-size: 13px;
    color: var(--text3);
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.card-issue {
    display: inline-block;
    background: #F5F5F5;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 11px;
    color: var(--text2);
}

/* ===== 详情页 ===== */
.detail-container {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
}

.detail-left {
    flex: 1;
    min-width: 0;
}

.detail-cover {
    width: 100%;
    min-height: 400px;
    max-height: 600px;
    object-fit: contain;
    background: #f0f0f0;
    display: block;
}

/* 轮播图 */
.carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #f0f0f0;
    border-radius: var(--radius);
    touch-action: pan-y;
}

.carousel-track {
    display: flex;
    transition: transform 0.3s ease;
}

.carousel-slide {
    flex: 0 0 100%;
    width: 100%;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    z-index: 10;
    border: none;
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.carousel-btn.prev {
    left: 16px;
}

.carousel-btn.next {
    right: 16px;
}

.carousel-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.carousel-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: background 0.2s;
}

.carousel-dots .dot.active {
    background: #fff;
}

/* 触摸设备隐藏箭头，但保留功能 */
@media (pointer: coarse) {
    .carousel-btn {
        opacity: 0.7;
    }
}

.detail-right {
    width: 380px;
    padding: 32px;
    display: flex;
    flex-direction: column;
}

.detail-right h2 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text);
}

.detail-desc {
    font-size: 14px;
    color: var(--text2);
    line-height: 1.8;
    margin-bottom: 20px;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.meta-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    background: #F5F5F5;
    border-radius: 20px;
    font-size: 13px;
    color: var(--text2);
}

.meta-tag.theme {
    color: #fff;
}

.meta-tag.clickable {
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s, opacity 0.15s;
}

.meta-tag.clickable:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    opacity: 0.9;
}

/* 规格选择 */
.spec-section {
    border-top: 1px solid var(--border);
    padding-top: 20px;
    margin-bottom: 20px;
}

.spec-section h4 {
    font-size: 14px;
    margin-bottom: 12px;
    color: var(--text2);
}

.spec-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.2s;
}

.spec-option:hover {
    border-color: #ccc;
}

.spec-option.selected {
    border-color: var(--accent);
    background: rgba(110, 198, 164, 0.04);
}

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

.spec-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--accent);
}

.spec-radio {
    width: 18px;
    height: 18px;
    border: 2px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spec-option.selected .spec-radio {
    border-color: var(--accent);
}

.spec-option.selected .spec-radio::after {
    content: '';
    width: 10px;
    height: 10px;
    background: var(--accent);
    border-radius: 50%;
}

/* 已购规格样式 */
.spec-option.purchased-spec {
    border-color: #B7EB8F;
    background: #F6FFED;
    cursor: default;
}

.spec-option.purchased-spec:hover {
    border-color: #B7EB8F;
}

.spec-pan-info {
    padding: 10px 16px;
    background: #F6FFED;
    border: 1px solid #B7EB8F;
    border-radius: 4px;
    margin-top: -6px;
    margin-bottom: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

/* ===== 淘宝式 SKU 规格选择器 ===== */
/* 仿淘宝商品详情页的规格选择样式：价格栏、标签选择器 */
.sku-price-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(90deg, #FFF1F0 0%, #FFFFFF 100%);
    border: 1px solid #FFD1CC;
    border-radius: var(--radius);
    padding: 18px 24px;
    margin-bottom: 16px;
}

.sku-price-info {
    display: flex;
    align-items: baseline;
    gap: 4px;
    color: var(--accent);
}

.sku-currency {
    font-size: 18px;
    font-weight: 600;
}

.sku-price {
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
    transition: all 0.2s;
}

.sku-purchased-tag {
    margin-left: 12px;
    padding: 2px 10px;
    background: #52C41A;
    color: #fff;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.sku-stock {
    font-size: 13px;
    color: var(--text2);
}

.sku-section {
    background: var(--white);
    border-radius: var(--radius);
    padding: 20px 24px;
    margin-bottom: 16px;
    box-shadow: var(--shadow);
}

.sku-section-title {
    font-size: 14px;
    color: var(--text2);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.sku-section-title::before {
    content: '';
    display: inline-block;
    width: 3px;
    height: 14px;
    background: var(--accent);
    border-radius: 2px;
}

.sku-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.sku-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #FAFAFA;
    border: 1.5px solid #E8E8E8;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
    min-height: 38px;
}

.sku-tag:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.sku-tag.selected {
    border-color: var(--accent);
    background: rgba(110, 198, 164, 0.06);
    color: var(--accent);
}

.sku-tag-radio {
    width: 14px;
    height: 14px;
    border: 1.5px solid #ccc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}

.sku-tag.selected .sku-tag-radio {
    border-color: var(--accent);
}

.sku-tag.selected .sku-tag-radio::after {
    content: '';
    width: 7px;
    height: 7px;
    background: var(--accent);
    border-radius: 50%;
}

.sku-tag-name {
    font-size: 14px;
}

.sku-tag-price {
    font-size: 13px;
    color: #999;
    font-weight: 500;
}

.sku-tag.selected .sku-tag-price {
    color: var(--accent);
    font-weight: 600;
}

.sku-purchased-mark {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #52C41A;
    color: #fff;
    font-size: 10px;
    padding: 1px 6px;
    border-radius: 8px;
    font-weight: 500;
}

.sku-tag.purchased {
    border-color: #B7EB8F;
    background: #F6FFED;
}

.sku-tag.purchased.selected {
    border-color: #52C41A;
    background: #F6FFED;
}

/* 规格详情卡 */
.sku-detail {
    margin-top: 16px;
}

.sku-detail-card {
    display: flex;
    gap: 20px;
    background: var(--white);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
}

.sku-detail-cover {
    width: 180px;
    height: 240px;
    object-fit: cover;
    border-radius: 4px;
    background: #f0f0f0;
    flex-shrink: 0;
}

.sku-detail-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.sku-detail-info h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.sku-detail-meta {
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
}

.sku-detail-desc {
    font-size: 14px;
    color: var(--text2);
    line-height: 1.7;
    flex: 1;
    margin-bottom: 16px;
    word-break: break-word;
}

.sku-detail-info .btn-buy {
    margin-top: auto;
}

@media (max-width: 768px) {
    .sku-detail-card {
        flex-direction: column;
    }

    .sku-detail-cover {
        width: 100%;
        height: 220px;
    }

    .sku-price {
        font-size: 26px;
    }
}

.btn-buy {
    width: 100%;
    padding: 14px;
    margin-top: auto;
    font-size: 16px;
    font-weight: 600;
    background: var(--accent);
    color: #fff;
    border-radius: 4px;
}

.btn-buy:hover {
    background: var(--accent-h);
}

.btn-buy:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* 已购买信息 */
.purchased-badge {
    padding: 16px;
    background: #F6FFED;
    border: 1px solid #B7EB8F;
    border-radius: var(--radius);
    margin-top: auto;
}

.purchased-badge .title {
    font-weight: 600;
    color: #52C41A;
    margin-bottom: 8px;
}

/* ===== 模特页 ===== */
.models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
}

.model-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    text-align: center;
    padding: 24px 16px;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: transform 0.2s;
}

.model-card:hover {
    transform: translateY(-2px);
}

.model-avatar {
    width: 96px;
    height: 96px;
    border-radius: 10px;
    object-fit: contain;
    background: #eee;
    margin: 0 auto 12px;
    display: block;
}

.model-card h4 {
    font-size: 15px;
    margin-bottom: 4px;
}

.model-card p {
    font-size: 12px;
    color: var(--text3);
}

/* ===== 主题页 ===== */
.themes-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.theme-tag {
    padding: 12px 28px;
    border-radius: 24px;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.2s, opacity 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.theme-tag:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.theme-count {
    font-size: 12px;
    opacity: 0.8;
}

/* ===== 我的订单 ===== */
.order-item {
    background: var(--white);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 12px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 0;
}

.order-cover {
    width: 80px;
    height: 106px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}

.order-info {
    flex: 1;
}

.order-info h4 {
    font-size: 15px;
    margin-bottom: 4px;
}

.order-meta {
    font-size: 13px;
    color: var(--text3);
    margin-bottom: 4px;
}

.order-amount {
    font-weight: 700;
    color: var(--accent);
    font-size: 16px;
}

.order-pan {
    margin-top: 8px;
    padding: 10px;
    background: #F6FFED;
    border-radius: 4px;
    font-size: 13px;
}

.order-pan a {
    color: var(--accent);
}

.order-main {
    display: flex;
    gap: 16px;
    flex: 1;
    cursor: pointer;
}

.order-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

.order-actions .btn {
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    border: 1px solid transparent;
    line-height: 1.4;
}

.order-actions .btn:disabled {
    border-color: #e0e0e0;
    color: #bbb;
    cursor: not-allowed;
    background: #f8f8f8;
}

/* 主操作：查看作品 */
.btn-order-view, .btn-order-action {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}
.btn-order-view:hover:not(:disabled), .btn-order-action:hover:not(:disabled) {
    background: #e65c50;
    border-color: #e65c50;
}

/* 次要操作：复制网盘 */
.btn-order-copy {
    background: #fff;
    color: var(--accent);
    border-color: var(--accent);
}
.btn-order-copy:hover:not(:disabled) {
    background: #fff5f3;
}

/* 继续支付：强调 */
.btn-order-pay {
    background: #52C41A;
    color: #fff;
    border-color: #52C41A;
}
.btn-order-pay:hover:not(:disabled) {
    background: #46a815;
    border-color: #46a815;
}

/* 售后：柔和 */
.btn-order-aftersale, .btn-aftersale {
    background: #fff;
    color: #FA8C16;
    border-color: #FFD591;
}
.btn-order-aftersale:hover:not(:disabled), .btn-aftersale:hover:not(:disabled) {
    background: #FFF7E6;
}

/* 已废弃的旧类名兜底 */
.btn-order-action:disabled,
.btn-aftersale:disabled {
    border-color: #e0e0e0;
    color: #bbb;
    background: #f8f8f8;
}

/* ===== 工单列表页 ===== */
.ticket-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 20px 24px;
    margin-bottom: 12px;
    box-shadow: var(--shadow);
}

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

.ticket-card-subject {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
}

.ticket-card-status {
    padding: 2px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    flex-shrink: 0;
}

.ticket-card-meta {
    font-size: 13px;
    color: var(--text3);
    margin-bottom: 12px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.ticket-card-section {
    margin-bottom: 12px;
}

.ticket-card-label {
    font-size: 13px;
    color: var(--text3);
    margin-bottom: 6px;
}

.ticket-card-content {
    font-size: 14px;
    color: var(--text);
    line-height: 1.7;
    padding: 12px;
    background: var(--bg);
    border-radius: 4px;
    white-space: pre-wrap;
    word-break: break-word;
}

.ticket-reply-section .ticket-card-content {
    background: #FFF7E6;
    border: 1px solid #FFD591;
}

.ticket-card-reply-time {
    font-size: 12px;
    color: var(--text3);
    margin-top: 4px;
}

/* ===== Modal ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.2s;
}

.modal-card {
    background: var(--white);
    border-radius: var(--radius);
    width: 420px;
    max-width: 90vw;
    padding: 32px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    animation: slideUp 0.25s;
}

.modal-card h3 {
    font-size: 18px;
    margin-bottom: 20px;
    text-align: center;
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    font-size: 24px;
    color: var(--text3);
    line-height: 1;
}

.modal-close:hover {
    color: var(--text);
}

.modal-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.form-group {
    margin-bottom: 14px;
}

.form-input {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 14px;
    outline: none;
}

.form-input:focus {
    border-color: var(--accent);
}

.form-error {
    color: var(--accent);
    font-size: 13px;
    margin-bottom: 10px;
    text-align: center;
}

.reg-code-row {
    display: flex;
    gap: 8px;
    align-items: stretch;
}

.reg-code-row .form-input {
    flex: 1;
    min-width: 0;
}

.btn-code {
    flex-shrink: 0;
    padding: 0 14px;
    white-space: nowrap;
    background: #fff;
    color: var(--accent);
    border: 1px solid var(--accent);
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-code:hover {
    background: var(--accent);
    color: #fff;
}

.btn-code:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-tip {
    font-size: 12px;
    color: #fa8c16;
    margin: -4px 0 12px;
    line-height: 1.5;
}

.switch-link {
    text-align: center;
    margin-top: 14px;
    font-size: 13px;
    color: var(--text3);
}

.switch-link a {
    color: var(--accent);
    cursor: pointer;
}

.buy-content {
    text-align: center;
    padding: 12px 0;
}

.buy-content strong {
    font-size: 22px;
    color: var(--accent);
}

.buy-content .buy-tips {
    font-size: 13px;
    color: var(--text3);
    margin-top: 8px;
}

.pan-info {
    margin-top: 12px;
    padding: 14px;
    background: #F6FFED;
    border-radius: 4px;
    font-size: 14px;
    text-align: left;
    line-height: 2;
}

.pan-info code {
    background: #fff;
    padding: 2px 8px;
    border-radius: 3px;
}

/* ===== Toast ===== */
.toast {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 28px;
    border-radius: 4px;
    font-size: 14px;
    color: #fff;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    animation: slideDown 0.3s;
}

.toast-s {
    background: #52C41A;
}

.toast-e {
    background: var(--accent);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translate(-50%, -20px);
    }

    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

/* ===== 首页 Hero Banner ===== */
.hero-banner {
    position: relative;
    width: 100%;
    min-height: 240px;
    background: linear-gradient(135deg, #E0F2FE 0%, #FDF2F8 50%, #E8F8F0 100%);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 0;
}

/* 滚动背景：模特照片从右向左无限滚动 */
.hero-bg-roller {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    display: flex;
    width: max-content;
    z-index: 0;
    animation: heroScrollLeft 40s linear infinite;
    will-change: transform;
}

.hero-bg-roller:hover {
    animation-play-state: paused;
}

.hero-bg-roller img {
    height: 100%;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
    opacity: 0.75;
    filter: brightness(1.05) saturate(0.9);
}

@keyframes heroScrollLeft {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.55) 35%, rgba(255, 255, 255, 0.55) 65%, rgba(255, 255, 255, 0.85) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 36px 24px;
    color: var(--text);
}

.hero-content h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: 2px;
    color: #1E293B;
}

.hero-content p {
    font-size: 15px;
    color: var(--text2);
    margin-bottom: 20px;
}

.hero-btn {
    display: inline-block;
    padding: 10px 30px;
    background: var(--accent);
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    border-radius: 24px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 14px rgba(110, 198, 164, 0.35);
}

.hero-btn:hover {
    background: var(--accent-h);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(110, 198, 164, 0.45);
}

/* ===== 首页板块 ===== */
.home-section {
    margin-top: 32px;
}

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

.section-header h2 {
    font-size: 20px;
    font-weight: 600;
}

.section-more {
    font-size: 14px;
    color: var(--text3);
    cursor: pointer;
}

.section-more:hover {
    color: var(--accent);
}

/* ===== 模特横向滚动 ===== */
.models-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: thin;
    scrollbar-color: #ccc transparent;
}

.models-scroll::-webkit-scrollbar {
    height: 6px;
}

.models-scroll::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

.model-card-inline {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    cursor: pointer;
    transition: transform 0.2s;
}

.model-card-inline:hover {
    transform: translateY(-2px);
}

.model-avatar-sm {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    object-fit: contain;
    background: #eee;
    display: block;
}

.model-card-inline span {
    font-size: 13px;
    color: var(--text);
}

/* ===== 期详情页 ===== */
.issue-detail-header {
    display: flex;
    gap: 0;
    margin-bottom: 0;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.issue-cover-wrap {
    width: 100%;
    border-radius: 0;
    background: #f0f0f0;
}

/* 期详情页整体布局：左列(图片+信息) + 右列(SKU面板) */
.issue-layout {
    display: flex;
    gap: 0;
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

/* 左侧列：图片预览 + 信息栏 */
.issue-left {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

/* 期详情页下方信息栏 */
.issue-info-bar {
    padding: 20px 24px;
    background: #fff;
    border-top: 1px solid var(--border);
}

.issue-info-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #f0f0f0;
}

.issue-info-desc {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 16px;
}

.issue-info-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

/* 期详情轮播图容器 */
.issue-cover-wrap .carousel {
    width: 100%;
    height: auto;
    aspect-ratio: 16/10;
    border-radius: 0;
    background: #f0f0f0;
}

/* 单图封面（非轮播） */
.issue-cover-wrap .detail-cover {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
    background: #f0f0f0;
    display: block;
}

.issue-cover-wrap .carousel .carousel-track {
    display: flex;
    height: 100%;
}

.issue-cover-wrap .carousel .carousel-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.issue-cover-wrap .carousel .detail-cover {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    background: #f0f0f0;
}

/* 手机端轮播图：竖图自适应高度，避免被裁切 */
@media (max-width: 768px) {
    .issue-cover-wrap .carousel {
        aspect-ratio: unset;
        max-height: 70vh;
    }

    .issue-cover-wrap .carousel .carousel-slide {
        height: auto;
    }

    .issue-cover-wrap .carousel .detail-cover,
    .issue-cover-wrap .detail-cover {
        width: 100%;
        height: auto;
        max-height: 70vh;
        object-fit: contain;
    }
}

.issue-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 28px 32px;
}

.issue-info h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
}

.issue-desc {
    font-size: 14px;
    color: var(--text2);
    line-height: 1.8;
    margin-bottom: 20px;
    white-space: pre-wrap;
    word-break: break-word;
}

.issue-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* 期详情 - 套图列表 */
.issue-sets-section {
    margin-top: 24px;
}

.issue-sets-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    padding-left: 12px;
    border-left: 3px solid var(--accent);
}

.issue-sets-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.issue-set-card {
    display: flex;
    gap: 16px;
    background: var(--white);
    border-radius: var(--radius);
    padding: 16px;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.issue-set-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-h);
}

.issue-set-cover {
    width: 120px;
    height: 160px;
    object-fit: cover;
    border-radius: 4px;
    background: #f0f0f0;
    flex-shrink: 0;
}

.issue-set-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.issue-set-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text);
}

.issue-set-count {
    font-size: 12px;
    color: var(--text3);
    margin-bottom: 8px;
    display: inline-block;
}

.issue-set-desc {
    font-size: 13px;
    color: var(--text2);
    line-height: 1.6;
    margin-bottom: 12px;
    word-break: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.issue-set-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.issue-spec-btn {
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 500;
    background: #FFF1F0;
    color: var(--accent);
    border: 1px solid var(--accent);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.issue-spec-btn:hover {
    background: var(--accent);
    color: #fff;
}

.issue-spec-btn.purchased {
    background: #F6FFED;
    color: #52C41A;
    border-color: #B7EB8F;
    cursor: default;
}

/* ===== 期详情 - 右侧SKU面板 ===== */
.issue-sku-panel {
    width: 320px;
    flex-shrink: 0;
    background: var(--white);
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    border-left: 1px solid var(--border);
    overflow-y: auto;
}

.issue-sku-panel .sku-price-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(90deg, #FFF1F0 0%, #FFFFFF 100%);
    border: 1px solid #FFD1CC;
    border-radius: var(--radius);
    padding: 16px 20px;
    margin-bottom: 20px;
}

.issue-sku-panel .sku-price-info {
    display: flex;
    align-items: baseline;
    gap: 4px;
    color: var(--accent);
}

.issue-sku-panel .sku-currency {
    font-size: 16px;
    font-weight: 600;
}

.issue-sku-panel .sku-price {
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
}

.issue-sku-panel .sku-stock {
    font-size: 13px;
    color: var(--text3);
}

.issue-sku-panel .sku-section-title {
    font-size: 14px;
    color: var(--text2);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.issue-sku-panel .sku-section-title::before {
    content: '';
    display: inline-block;
    width: 3px;
    height: 14px;
    background: var(--accent);
    border-radius: 2px;
}

.issue-sku-panel .sku-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.issue-sku-panel .sku-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #FAFAFA;
    border: 1.5px solid #E8E8E8;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
    min-height: 38px;
}

.issue-sku-panel .sku-tag:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.issue-sku-panel .sku-tag.selected {
    border-color: var(--accent);
    background: rgba(110, 198, 164, 0.06);
    color: var(--accent);
}

.issue-sku-panel .sku-tag-radio {
    width: 14px;
    height: 14px;
    border: 1.5px solid #ccc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}

.issue-sku-panel .sku-tag.selected .sku-tag-radio {
    border-color: var(--accent);
}

.issue-sku-panel .sku-tag.selected .sku-tag-radio::after {
    content: '';
    width: 7px;
    height: 7px;
    background: var(--accent);
    border-radius: 50%;
}

.issue-sku-panel .sku-tag-name {
    font-size: 14px;
}

.issue-sku-panel .sku-tag-price {
    font-size: 13px;
    color: #999;
    font-weight: 500;
}

.issue-sku-panel .sku-tag.selected .sku-tag-price {
    color: var(--accent);
    font-weight: 600;
}

.issue-sku-panel .sku-purchased-mark {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #52C41A;
    color: #fff;
    font-size: 10px;
    padding: 1px 6px;
    border-radius: 8px;
    font-weight: 500;
}

.issue-sku-panel .sku-tag.purchased {
    border-color: #B7EB8F;
    background: #F6FFED;
}

.issue-sku-panel .sku-tag.purchased.selected {
    border-color: #52C41A;
    background: #F6FFED;
}

.issue-sku-panel .sku-detail-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-top: 1px solid var(--border);
}

.issue-sku-panel .sku-detail-label {
    font-size: 13px;
    color: var(--text3);
    flex-shrink: 0;
    width: 56px;
    padding-top: 2px;
}

.issue-sku-panel .sku-detail-value {
    font-size: 14px;
    color: var(--text);
    flex: 1;
    line-height: 1.6;
}

.issue-sku-panel .sku-detail-cover {
    width: 80px;
    height: 100px;
    object-fit: cover;
    border-radius: 4px;
    background: #f0f0f0;
    flex-shrink: 0;
}

.issue-sku-panel .btn-buy {
    width: 100%;
    padding: 14px;
    margin-top: 20px;
    font-size: 16px;
    font-weight: 600;
    background: var(--accent);
    color: #fff;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}

.issue-sku-panel .btn-buy:hover {
    background: var(--accent-h);
}

.issue-sku-panel .btn-buy:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.issue-sku-panel .sku-divider {
    height: 1px;
    background: var(--border);
    margin: 16px 0;
}

/* 已购网盘卡片：绿色背景，显示网盘链接、提取码、解压密码 */
.sku-pan-card {
    background: #F6FFED;
    border: 1px solid #B7EB8F;
    border-radius: var(--radius);
    padding: 14px 16px;
    margin-bottom: 12px;
}

.sku-pan-spec {
    font-size: 14px;
    font-weight: 600;
    color: #52C41A;
    margin-bottom: 8px;
}

.sku-pan-link,
.sku-pan-code {
    font-size: 13px;
    color: var(--text2);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

.sku-pan-label {
    color: var(--text3);
    flex-shrink: 0;
}

.sku-pan-url {
    color: var(--accent);
    word-break: break-all;
    text-decoration: underline;
}

.sku-pan-code-val {
    background: #fff;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.open {
        transform: translateX(0);
    }

    .main-area {
        margin-left: 0;
    }

    .hamburger {
        display: block;
    }

    .top-bar {
        padding: 10px 12px;
        gap: 10px;
    }

    .top-title {
        font-size: 15px;
    }

    .top-user .btn-text,
    .top-user .btn-primary-sm {
        padding: 5px 10px;
        font-size: 12px;
    }

    .content {
        padding: 16px;
    }

    .issue-layout {
        flex-direction: column;
    }

    .issue-cover-wrap {
        width: 100%;
    }

    .issue-sku-panel {
        width: 100%;
        border-left: none;
        border-top: 1px solid var(--border);
    }

    .issue-info-bar {
        padding: 16px;
    }

    .issue-info-title {
        font-size: 20px;
    }

    .issue-set-card {
        flex-direction: column;
    }

    .issue-set-cover {
        width: 100%;
        height: 180px;
    }

    .grid-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .card-cover {
        height: 220px;
    }

    .detail-container {
        flex-direction: column;
    }

    .detail-right {
        width: 100%;
        padding: 20px;
    }

    .models-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .grid-cards {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .card-body {
        padding: 8px 10px;
    }

    .card-body h4 {
        font-size: 13px;
    }

    .models-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== 我的订单移动端适配 ===== */
@media (max-width: 600px) {
    .order-item {
        padding: 16px;
    }
    .order-main {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
    }
    .order-cover {
        width: 100px;
        height: 133px;
    }
    .order-info {
        width: 100%;
    }
    .order-actions {
        justify-content: center;
        gap: 8px;
    }
    .order-actions .btn {
        flex: 1 1 auto;
        min-width: 70px;
        padding: 8px 10px;
        font-size: 12px;
        text-align: center;
        white-space: normal;
    }
}

/* ===== 模特合作（紧凑版） ===== */
.model-cooperation {
    margin-bottom: 20px;
}

.cooperation-bar {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: linear-gradient(135deg, #FFF5F5 0%, #FFFFFF 100%);
    border: 1px solid #FFDCDC;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: box-shadow 0.2s, transform 0.2s;
}

.cooperation-bar:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.cooperation-avatars {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.cooperation-avatars img {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    margin-left: -10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.cooperation-avatars img:first-child {
    margin-left: 0;
}

.cooperation-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cooperation-text strong {
    font-size: 15px;
    font-weight: 600;
    color: #1E293B;
}

.cooperation-text span {
    font-size: 12px;
    color: var(--text2);
    line-height: 1.45;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cooperation-btn-sm {
    flex-shrink: 0;
    padding: 7px 18px;
    background: var(--accent);
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.cooperation-btn-sm:hover {
    background: var(--accent-h);
}

.cooperation-card-modal {
    max-width: 420px;
    width: 90vw;
}

.cooperation-modal p {
    font-size: 14px;
    color: var(--text2);
    margin-bottom: 12px;
    line-height: 1.6;
}

.cooperation-contact {
    background: var(--bg);
    border-radius: 8px;
    padding: 16px;
    font-size: 15px;
    color: var(--text);
    line-height: 1.8;
    word-break: break-word;
    border: 1px solid var(--border);
}

@media (max-width: 768px) {
    .cooperation-bar {
        padding: 12px 14px;
        gap: 10px;
    }

    .cooperation-avatars img {
        width: 30px;
        height: 30px;
    }

    .cooperation-text span {
        display: none;
    }

    .cooperation-btn-sm {
        padding: 6px 14px;
        font-size: 12px;
    }
}


