* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #1e131a;
    color: white;
    min-height: 100vh;
    overflow-x: hidden; /* 只隐藏水平滚动 */
}

/* Chat page specific body style */
body.chat-page {
    height: 100vh;
    overflow: hidden;
}

/* Header Styles */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 1.5rem 0.5rem 0;
    border-bottom: 1px solid #432635;
    min-height: 3.5rem;
    background: transparent;
    margin-bottom: 1.2rem;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.menu-btn {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0.5rem;
}

.logo {
    font-size: 1.75rem;
    font-weight: bold;
}

.nav {
    display: flex;
    gap: 1.5rem;
}

.nav a {
    color: #9CA3AF;
    text-decoration: none;
    padding-bottom: 0.25rem;
    transition: color 0.2s;
}

.nav a.active {
    color: white;
    border-bottom: 2px solid #be3172;
}

.nav a:hover {
    color: white;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.premium-btn {
    background: #be3172;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.premium-btn:hover {
    background: #a0285f;
}

.user-avatar {
    width: 2.7rem;
    height: 2.7rem;
    border-radius: 50%;
    object-fit: cover;
    margin-left: 1rem;
    border: 2px solid #432635;
    background: #fff;
}

/* Layout */
.main-layout {
    display: flex;
}

/* Sidebar */
.sidebar {
    width: 5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 0;
    gap: 1.5rem;
    border-right: 1px solid #432635;
    background: #1e131a;
    transition: width 0.3s cubic-bezier(.4,2,.6,1);
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 10;
}

.sidebar.expanded {
    width: 14rem;
}

.sidebar-top {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
    gap: 0.5rem;
}

.menu-btn {
    font-size: 2rem;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
    transition: color 0.2s, font-size 0.2s;
}

.sidebar-btn {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    background: none;
    border: none;
    color: #9CA3AF;
    cursor: pointer;
    padding: 0.75rem;
    border-radius: 0.5rem;
    transition: all 0.2s;
    font-size: 1.5rem;
    width: 3rem;
    height: 3rem;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    border-bottom: none;
}

.sidebar.expanded .sidebar-btn {
    width: 90%;
    min-width: 10rem;
    max-width: 12rem;
    justify-content: flex-start;
}

.menu-label {
    display: none;
    font-size: 1rem;
    color: #fff;
    font-weight: 500;
    letter-spacing: 1px;
    white-space: nowrap;
    transition: opacity 0.2s;
}

.sidebar.expanded .menu-label {
    display: inline;
    opacity: 1;
    margin-left: 0.2rem;
}

.icon {
    font-size: 1.5rem;
    min-width: 1.5rem;
    text-align: center;
}

.sidebar-btn:hover {
    color: white;
    background-color: #432635;
}

.sidebar-btn.active {
    color: #be3172;
    background-color: #432635;
    text-decoration: none;
    border-bottom: none;
}

.sidebar-btn.crown {
    color: #FCD34D;
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 2rem;
    margin-left: 5rem;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
}

/* Header Section */
.content-header {
    text-align: left;
    margin-top: 0;
    margin-bottom: 2rem;
}

.main-title {
    text-align: left !important;
    font-size: 2.25rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    /* 移除flex相关属性，防止居中 */
}

.dots {
    display: flex;
    gap: 0.25rem;
}

.dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: #432635;
}

.dot.active {
    background: #be3172;
}

/* Filter Tabs */
.filter-tabs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.tab {
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.tab.active {
    background: #be3172;
    color: white;
}

.tab.deutsch {
    border: 1px solid #F97316;
    color: #F97316;
    background: transparent;
}

.tab.inactive {
    border: 1px solid #432635;
    color: #9CA3AF;
    background: transparent;
}

/* Character Grid */
.character-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.character-card {
    position: relative;
    aspect-ratio: 3/4;
    border-radius: 1rem;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s;
}

.character-card:hover {
    transform: translateY(-4px);
}

.create-card {
    background: 
        linear-gradient(135deg, #be3172, #432635, #1e131a),
        url('create.png') center/cover;
    background-blend-mode: overlay;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    position: relative;
}

.create-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
}

.create-content {
    position: relative;
    z-index: 10;
}

.create-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.create-subtitle {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.create-btn {
    background: #be3172;
    color: white;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: background-color 0.2s;
}

.create-btn:hover {
    background: #a0285f;
}

.character-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.character-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}

.heart-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: color 0.2s;
    font-size: 1.25rem;
}

.heart-btn:hover {
    color: #be3172;
}

.character-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
}

.character-name {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.25rem;
}

.character-desc {
    font-size: 0.875rem;
    color: #D1D5DB;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.character-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    background: rgba(67, 38, 53, 0.8);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
}

/* Category Section for Categories.html */
.category-section {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin-top: 2rem;
}

.category-title {
    text-align: left;
    font-size: 1.25rem;
    font-weight: bold;
    margin: 2rem 0 1rem 0;
    color: #fff;
    letter-spacing: 0.5px;
}

.category-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 0.5rem;
    justify-content: flex-start;
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 180px;
    background: #251724;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 8px 0 rgba(0,0,0,0.08);
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
    padding: 1rem 0.5rem 0.5rem 0.5rem;
    min-height: 370px;
}

.category-card:hover {
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 4px 16px 0 rgba(190,49,114,0.15);
}

.category-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 0.75rem;
    margin-bottom: 0.75rem;
    background: #2c1a2b;
}

.category-label {
    text-align: left;
    font-size: 1rem;
    color: #fff;
    font-weight: 500;
    text-align: left;
    margin-top: 0.25rem;
    letter-spacing: 0.5px;
}

p {
    text-align: left;
}

/* Responsive */
@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .main-title {
        font-size: 1.875rem;
    }
    
    .character-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 1rem;
    }
    
    .sidebar {
        width: 4rem;
    }
    
    .sidebar-btn {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.25rem;
    }
} 

.sidebar-search {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    transition: all 0.2s;
}

.search-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #432635;
    border-radius: 0.5rem;
    width: 2.5rem;
    height: 2.5rem;
    min-width: 2.5rem;
    margin-right: 0.5rem;
    transition: background 0.2s;
}

.search-input {
    display: none;
    background: #1e131a;
    border: 1.5px solid #432635;
    color: #fff;
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    outline: none;
    width: 100%;
    transition: all 0.2s;
}

.sidebar.expanded .search-input {
    display: block;
}

.sidebar.expanded .sidebar-search {
    justify-content: flex-start;
    padding-left: 1.2rem;
}

.sidebar.expanded .search-icon {
    background: #1e131a;
} 

.main-search-box {
    width: 100%;
    max-width: 400px;
    margin: 0 auto 2rem auto;
    display: flex;
    align-items: center;
    background: #1e131a;
    border: 1.5px solid #432635;
    border-radius: 0.75rem;
    padding: 0.4rem 1rem;
    box-sizing: border-box;
    transition: border 0.2s;
}

.main-search-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.5rem;
}

.main-search-input {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.1rem;
    outline: none;
    width: 100%;
    padding: 0.4rem 0;
}

.main-search-box:focus-within {
    border: 1.5px solid #be3172;
} 

.spicy-switch-wrapper {
    display: inline-flex;
    align-items: center;
    margin-left: 1.2rem;
    vertical-align: middle;
}

#spicy-toggler {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    box-shadow: none;
    border: none;
    padding: 0;
}

.bR {
    display: flex;
    align-items: center;
    gap: 0.1rem;
}

.bR__item {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    background-size: cover;
    background-position: center;
}

.bS {
    display: flex;
    align-items: center;
    background: #432635;
    border-radius: 1rem;
    padding: 0.1rem 0.5rem 0.1rem 0.3rem;
    margin-left: 0.5rem;
}

.bS__switch {
    margin-left: 0.3rem;
}

.bS__checkbox {
    accent-color: #be3172;
    width: 1.1rem;
    height: 1.1rem;
    border-radius: 50%;
    cursor: pointer;
}

.bS__label {
    display: flex;
    align-items: center;
} 

.spicy-switch-bg {
    display: inline-flex;
    align-items: center;
    background: #0b0b0b;
    border-radius: 1.5rem;
    padding: 0.3rem 0.6rem 0.3rem 0.6rem;
    margin-left: 0.3rem;
    min-height: 2.6rem;
}

.spicy-peppers {
    display: flex;
    align-items: center;
    gap: 0.1rem;
}

.spicy-toggle {
    display: flex;
    align-items: center;
}

.spicy-checkbox {
    display: none;
}

.spicy-check-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
}

.spicy-check-label svg:first-child {
    display: none;
}

.spicy-checkbox:not(:checked) + .spicy-check-label svg:first-child {
    display: block;
}

.spicy-checkbox:not(:checked) + .spicy-check-label svg:last-child {
    display: none;
}

.spicy-checkbox:checked + .spicy-check-label svg:first-child {
    display: none;
}

.spicy-checkbox:checked + .spicy-check-label svg:last-child {
    display: block;
} 

.spicy-switch {
    display: flex;
    align-items: center;
    margin-left: 0.6rem;
}

.spicy-switch-checkbox {
    display: none;
}

.spicy-switch-label {
    display: inline-block;
    width: 38px;
    height: 22px;
    background: #432635;
    border-radius: 22px;
    position: relative;
    cursor: pointer;
    transition: background 0.2s;
}

.spicy-switch-label::after {
    content: '';
    position: absolute;
    left: 3px;
    top: 3px;
    width: 16px;
    height: 16px;
    background: #fff;
    border-radius: 50%;
    transition: left 0.2s, background 0.2s;
    box-shadow: 0 1px 4px rgba(0,0,0,0.12);
}

.spicy-switch-checkbox:checked + .spicy-switch-label {
    background: #be3172;
}

.spicy-switch-checkbox:checked + .spicy-switch-label::after {
    left: 19px;
    background: #fff;
} 

/* Chat Page Styles */
.chat-container {
    display: flex;
    height: 100vh;
}

/* Left Sidebar */
.left-sidebar {
    width: 320px;
    background-color: #1e131a;
    border-right: 1px solid #432635;
    display: flex;
    flex-direction: column;
}

.sidebar-header {
    padding: 16px;
    border-bottom: 1px solid #432635;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    width: 24px;
    height: 24px;
    background-color: #be3172;
    border-radius: 4px;
}

.logo-text {
    font-size: 20px;
    font-weight: bold;
    color: white;
}

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

.blog-link {
    font-size: 14px;
    color: #9ca3af;
    text-decoration: none;
}

.premium-btn {
    background-color: #be3172;
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
}

.premium-btn:hover {
    background-color: #a0285f;
}

.nav-icons {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.nav-icon {
    width: 32px;
    height: 32px;
    background-color: #432635;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s;
}

.nav-icon.active {
    background-color: #be3172;
}

.nav-icon:hover {
    background-color: #432635;
}

.nav-icon-inner {
    width: 16px;
    height: 16px;
    background-color: #6b7280;
    border-radius: 2px;
}

.nav-icon.active .nav-icon-inner {
    background-color: white;
}

.chats-section {
    padding: 16px;
    flex: 1;
    overflow-y: auto;
}

.chats-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    color: white;
}

.chat-tabs {
    display: flex;
    margin-bottom: 16px;
}

.chat-tab {
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    color: white;
    transition: all 0.2s;
}

.chat-tab.active {
    background-color: #be3172;
    border-radius: 6px 0 0 6px;
}

.chat-tab:not(.active) {
    background-color: #432635;
    color: #9ca3af;
    border-radius: 0 6px 6px 0;
}

.chat-tab:hover {
    background-color: #432635;
}

.chat-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.chat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.chat-item:hover,
.chat-item.active {
    background-color: #432635;
}

.chat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
}

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

.chat-name {
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 2px;
    color: white;
}

.chat-message {
    font-size: 12px;
    color: #9ca3af;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Main Chat Area */
.main-chat {
    flex: 1;
    display: flex;
    flex-direction: column;
    background-color: #1e131a;
}

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

.chat-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-header-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #6b7280;
    object-fit: cover;
}

.chat-header-info h3 {
    font-weight: 600;
    margin-bottom: 2px;
    color: white;
}

.chat-header-info p {
    font-size: 12px;
    color: #9ca3af;
}

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

.icon-btn {
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}

.icon-btn:hover {
    background-color: #432635;
}

.chat-messages {
    flex: 1;
    padding: 16px;
    padding-bottom: 120px; /* 为Quick suggestions和输入框留出空间 */
    overflow-y: auto;
}

.profile-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 32px;
}

.profile-image {
    position: relative;
    margin-bottom: 16px;
}

.profile-img {
    width: 128px;
    height: 192px;
    object-fit: cover;
    border-radius: 8px;
    background-color: #432635;
}

.profile-sparkle {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.profile-info {
    text-align: center;
}

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

.profile-description {
    font-size: 14px;
    color: #9ca3af;
    max-width: 300px;
}

.messages-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 0 24px; /* 增加左右边距 */
}

.message {
    display: flex;
}

.message.user {
    justify-content: flex-end;
}

.message-bubble {
    max-width: 400px;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.4;
}

.message:not(.user) .message-bubble {
    background-color: #432635;
    color: white;
}

.message.user .message-bubble {
    background-color: #be3172;
    color: white;
}

.message-time {
    font-size: 12px;
    color: #9ca3af;
    margin-top: 4px;
}

/* Audio Play Button */
.audio-play-btn {
    width: 32px;
    height: 32px;
    background-color: #432635;
    border: none;
    border-radius: 50%;
    color: #9ca3af;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 8px;
    transition: all 0.2s;
    flex-shrink: 0;
}

.audio-play-btn:hover {
    background-color: #be3172;
    color: white;
    transform: scale(1.1);
}

.audio-play-btn.playing {
    background-color: #be3172;
    color: white;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* 加载状态样式 */
.message.loading .message-bubble {
    background: #432635;
    border: 1px solid #be3172;
}

.typing-indicator {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 0;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #be3172;
    animation: typing 1.4s infinite ease-in-out;
}

.typing-indicator span:nth-child(1) {
    animation-delay: -0.32s;
}

.typing-indicator span:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes typing {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* 错误消息样式 */
.message-bubble.error {
    background: #dc2626;
    border-color: #dc2626;
    color: white;
}

/* 调整消息布局以容纳音频按钮 */
.message {
    display: flex;
    align-items: flex-end;
}

.message.user {
    justify-content: flex-end;
}

.message.user .audio-play-btn {
    display: none; /* 用户消息不显示音频按钮 */
}

.quick-suggestions {
    padding: 8px 16px;
    background-color: #1e131a;
    border-top: 1px solid #432635;
    position: sticky;
    bottom: 80px; /* 为输入框留出空间 */
    z-index: 5;
}

/* 添加背景层覆盖Quick suggestions和输入框之间的透明区域 */
.quick-suggestions::after {
    content: '';
    position: absolute;
    bottom: -80px; /* 延伸到输入框位置 */
    left: 0;
    right: 0;
    height: 80px;
    background-color: #1e131a;
    z-index: -1;
}

.suggestions-label {
    font-size: 12px;
    color: #9ca3af;
    margin-bottom: 8px;
}

.suggestions-container {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.suggestion-btn {
    padding: 6px 12px;
    background-color: #1e131a;
    border: 1px solid #432635;
    color: white;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.suggestion-btn:hover {
    background-color: #432635;
}

.message-input-container {
    padding: 16px;
    border-top: 1px solid #432635;
    background-color: #1e131a;
    position: sticky;
    bottom: 0;
    z-index: 10;
}

.message-input-wrapper {
    display: flex;
    gap: 8px;
    align-items: center;
}

.message-input {
    flex: 1;
    padding: 12px 16px;
    background-color: #1e131a;
    border: 1px solid #432635;
    border-radius: 8px;
    color: white;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.message-input:focus {
    border-color: #be3172;
}

.message-input::placeholder {
    color: #9ca3af;
}

.send-btn {
    width: 40px;
    height: 40px;
    background-color: #be3172;
    border: none;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}

.send-btn:hover {
    background-color: #a0285f;
}

/* Right Sidebar */
.right-sidebar {
    width: 320px;
    background-color: #1e131a;
    border-left: 1px solid #432635;
    display: flex;
    flex-direction: column;
    height: 100vh;
}

.profile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid #432635;
    min-height: 72px; /* 确保与chat-header高度一致 */
}

.profile-tabs {
    display: flex;
    gap: 0;
    width: 100%;
}

.profile-tab {
    flex: 1;
    padding: 12px 16px;
    background: none;
    border: none;
    color: #9ca3af;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    border-bottom: 2px solid transparent;
    text-align: center;
}

.profile-tab:hover {
    color: #d1d5db;
    background-color: rgba(190, 49, 114, 0.1);
}

.profile-tab.active {
    color: #be3172;
    border-bottom-color: #be3172;
    background-color: rgba(190, 49, 114, 0.05);
}

.profile-content {
    padding: 16px;
    flex: 1;
    overflow-y: auto;
}

.profile-gallery {
    position: relative;
    margin-bottom: 16px;
}

.gallery-image {
    width: 100%;
    height: 256px;
    object-fit: cover;
    border-radius: 8px;
    background-color: #432635;
}

.gallery-controls {
    position: absolute;
    top: 8px;
    right: 8px;
    display: flex;
    gap: 4px;
}

.gallery-btn {
    width: 32px;
    height: 32px;
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 6px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}

.gallery-btn:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.profile-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.profile-title {
    font-size: 20px;
    font-weight: bold;
    color: white;
}

.profile-stats {
    display: flex;
    gap: 16px;
    font-size: 14px;
    color: #9ca3af;
    margin-top: 4px;
}

.profile-buttons {
    display: flex;
    gap: 8px;
}

.profile-btn {
    flex: 1;
    padding: 10px;
    border-radius: 6px;
    border: none;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background-color 0.2s;
}

.profile-btn.secondary {
    background-color: #432635;
    color: white;
}

.profile-btn.secondary:hover {
    background-color: #374151;
}

.profile-btn.primary {
    background-color: #be3172;
    color: white;
}

.profile-btn.primary:hover {
    background-color: #a0285f;
}

.profile-description-text {
    font-size: 14px;
    color: #d1d5db;
}

.colleague-badge {
    background-color: rgba(249, 115, 22, 0.2);
    color: #fb923c;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    display: inline-block;
}

.profile-attributes {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 14px;
}

.attribute-row {
    display: flex;
    justify-content: space-between;
}

.attribute-label {
    color: #9ca3af;
}

.attribute-row span:last-child {
    color: white;
}

.creator-info {
    background-color: #432635;
    border-radius: 8px;
    padding: 12px;
    margin-top: 16px;
}

.creator-content {
    display: flex;
    align-items: center;
    gap: 8px;
}

.creator-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #6b7280;
}

.creator-text {
    font-size: 12px;
}

.creator-date {
    color: #9ca3af;
}

.creator-name {
    color: #d1d5db;
}

/* Responsive Design for Chat */
@media (max-width: 1200px) {
    .left-sidebar,
    .right-sidebar {
        width: 280px;
    }
}

@media (max-width: 768px) {
    .chat-container {
        flex-direction: column;
    }
    
    .left-sidebar,
    .right-sidebar {
        width: 100%;
        height: auto;
    }
    
    .main-chat {
        height: 60vh;
    }
} 

/* 详情页中心化主内容区 */
.profile-main-centered {
    max-width: 900px;
    margin: 40px auto 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: none;
}

/* 头像与标签 */
.profile-avatar-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 0.5rem;
}
.profile-avatar-img {
    width: 160px;
    height: 200px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 2px 16px 0 rgba(0,0,0,0.18);
    background: #2a1822;
}
.profile-avatar-tags {
    display: flex;
    gap: 0.5rem;
    margin-top: -2.2rem;
    margin-bottom: 1.2rem;
    justify-content: center;
}
.tag.exclusive {
    background: #432635;
    color: #fff;
    font-size: 0.85rem;
    border-radius: 8px;
    padding: 0.2rem 0.7rem;
    font-weight: 600;
    letter-spacing: 1px;
}
.tag.spicy {
    background: #be3172;
    color: #fff;
    font-size: 0.85rem;
    border-radius: 8px;
    padding: 0.2rem 0.7rem;
    font-weight: 600;
    letter-spacing: 1px;
}

/* 名字与年龄 */
.profile-title-name {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.7rem;
    margin-top: 0.2rem;
    text-align: center;
}

/* 消息数与按钮横向排列 */
.profile-stats-btns-row {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 0.7rem;
    justify-content: center;
}
.profile-stats {
    color: #e0c6d6;
    font-size: 1rem;
    font-weight: 500;
}
.profile-btn {
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 0.6rem 2.2rem;
    margin: 0 0.1rem;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.profile-btn.main {
    background: #be3172;
    color: #fff;
    box-shadow: 0 2px 8px 0 rgba(190,49,114,0.10);
}
.profile-btn.secondary {
    background: #432635;
    color: #fff;
}
.profile-btn.main:hover {
    background: #a0285f;
}
.profile-btn.secondary:hover {
    background: #5a2d4a;
}

/* 简介色块 */
.profile-desc-block {
    background: #432635;
    color: #fff;
    border-radius: 10px;
    padding: 0.7rem 1.2rem;
    margin-bottom: 0.7rem;
    margin-top: 0.2rem;
    font-size: 1.05rem;
    max-width: 600px;
    text-align: center;
}

/* 创作者信息色块 */
.profile-creator-block {
    background: #432635;
    color: #fff;
    border-radius: 10px;
    padding: 0.5rem 1.2rem;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 1rem;
    max-width: 420px;
    justify-content: center;
}
.creator-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #be3172;
}
.creator-date {
    color: #e0c6d6;
    font-size: 0.95rem;
    margin-left: 0.2rem;
}
.creator-name {
    color: #fff;
    font-weight: 600;
    margin-left: 0.4rem;
}

/* 标签页横向居中 */
.profile-tabs-centered {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    width: 100%;
    margin: 1.2rem 0 0.7rem 0;
    border-bottom: 2px solid #432635;
}
.profile-tab {
    background: none;
    border: none;
    color: #e0c6d6;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 0.7rem 1.2rem 0.5rem 1.2rem;
    cursor: pointer;
    border-bottom: 2.5px solid transparent;
    transition: color 0.2s, border-bottom 0.2s;
}
.profile-tab.active {
    color: #be3172;
    border-bottom: 2.5px solid #be3172;
    background: none;
}
.profile-tab:hover {
    color: #be3172;
}

/* 详细信息分栏 */
.profile-details-split {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 3rem;
    margin: 2.2rem 0 0.7rem 0;
    width: 100%;
    max-width: 600px;
}
.profile-details-left, .profile-details-right {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    font-size: 1.1rem;
}
.profile-details-left {
    color: #e0c6d6;
    font-weight: 500;
    min-width: 120px;
    text-align: left;
}
.profile-details-right {
    color: #fff;
    font-weight: 600;
    min-width: 120px;
    text-align: left;
}

/* 标签横向排列 */
.profile-tags-row {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    margin-top: 0.5rem;
    margin-bottom: 2.5rem;
    width: 100%;
    max-width: 600px;
}
.profile-tags-row .tag {
    background: #432635;
    color: #fff;
    border-radius: 8px;
    padding: 0.2rem 0.9rem;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
}
.profile-tags-row .tag:first-child {
    background: #be3172;
}

@media (max-width: 900px) {
    .profile-main-centered {
        max-width: 98vw;
    }
    .profile-details-split {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }
    .profile-tags-row {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
} 

/* 详情页左右主布局 */
.profile-layout-row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 2.5rem;
    margin: 2.5rem auto 0 auto;
    max-width: 1200px;
    min-height: 700px;
}

/* 左侧卡片 */
.profile-card-vertical {
    background: #181018;
    border-radius: 18px;
    box-shadow: 0 4px 32px 0 rgba(0,0,0,0.18);
    width: 340px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 0 1.2rem 0;
    position: relative;
}
.profile-card-image-block {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 1.2rem;
}
.profile-card-img {
    width: 92%;
    height: 340px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 2px 16px 0 rgba(0,0,0,0.18);
    background: #2a1822;
}
.profile-card-tags {
    display: flex;
    gap: 0.5rem;
    position: absolute;
    left: 1.2rem;
    bottom: 1.2rem;
}
.profile-card-tags .tag {
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 8px;
    padding: 0.2rem 0.7rem;
    letter-spacing: 1px;
}
.profile-card-tags .exclusive {
    background: #432635;
    color: #fff;
}
.profile-card-tags .spicy {
    background: #be3172;
    color: #fff;
}
.heart-btn {
    position: absolute;
    right: 1.2rem;
    bottom: 1.2rem;
    background: #181018;
    color: #fff;
    border: none;
    font-size: 1.7rem;
    border-radius: 50%;
    width: 2.3rem;
    height: 2.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px 0 rgba(190,49,114,0.10);
    cursor: pointer;
    transition: color 0.2s, background 0.2s;
}
.heart-btn:hover {
    color: #be3172;
    background: #fff;
}
.profile-card-info {
    width: 92%;
    margin-top: 1.2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.profile-card-name {
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #fff;
}
.profile-card-name span {
    color: #9CA3AF;
    font-weight: 500;
}
.profile-card-stats-row {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 0.7rem;
}
.profile-card-stats {
    color: #e0c6d6;
    font-size: 1rem;
    font-weight: 500;
}
.profile-card-btns-row {
    display: flex;
    gap: 0.7rem;
    margin-bottom: 0.7rem;
}
.profile-btn.main {
    background: #be3172;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 0.6rem 1.6rem;
    cursor: pointer;
    transition: background 0.2s;
}
.profile-btn.secondary {
    background: #23202a;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 0.6rem 1.6rem;
    cursor: pointer;
    transition: background 0.2s;
}
.profile-btn.main:hover {
    background: #a0285f;
}
.profile-btn.secondary:hover {
    background: #432635;
}
.profile-card-desc {
    background: #23202a;
    color: #fff;
    border-radius: 10px;
    padding: 0.7rem 1.2rem;
    margin-bottom: 0.7rem;
    font-size: 1.05rem;
    width: 100%;
    text-align: left;
}
.profile-card-creator {
    background: #23202a;
    color: #fff;
    border-radius: 10px;
    padding: 0.5rem 1.2rem;
    margin-top: 0.7rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 1rem;
    width: 100%;
}

/* 右侧信息面板 */
.profile-panel-vertical {
    background: #181018;
    border-radius: 18px;
    box-shadow: 0 4px 32px 0 rgba(0,0,0,0.18);
    width: 480px;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0 0 1.2rem 0;
    position: relative;
}
.profile-panel-tabs-row {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    gap: 1.2rem;
    width: 100%;
    padding: 1.2rem 2.2rem 0 2.2rem;
    border-bottom: 2px solid #23202a;
}
.profile-panel-tab {
    background: none;
    border: none;
    color: #9CA3AF;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 0.7rem 1.2rem 0.5rem 1.2rem;
    cursor: pointer;
    border-bottom: 2.5px solid transparent;
    transition: color 0.2s, border-bottom 0.2s;
}
.profile-panel-tab.active {
    color: #be3172;
    border-bottom: 2.5px solid #be3172;
    background: none;
}
.profile-panel-tab:hover {
    color: #be3172;
}
.profile-panel-content {
    width: 100%;
    padding: 1.2rem 2.2rem 0 2.2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.profile-panel-title {
    font-size: 1.15rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 1.1rem;
}
.profile-panel-tags-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.1rem;
}
.profile-panel-tags-row .tag {
    background: #23202a;
    color: #fff;
    border-radius: 8px;
    padding: 0.2rem 0.9rem;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
}
.profile-panel-tags-row .tag:first-child {
    background: #be3172;
}
.profile-panel-attributes-table {
    width: 100%;
    margin-bottom: 1.1rem;
}
.profile-panel-attr-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0;
    border-bottom: 1px solid #23202a;
    font-size: 1.05rem;
    color: #e0c6d6;
}
.profile-panel-attr-row span:last-child {
    color: #fff;
    font-weight: 600;
}
.profile-panel-creator-bar {
    background: #23202a;
    color: #fff;
    border-radius: 10px;
    padding: 0.5rem 1.2rem;
    margin-top: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 1rem;
    width: 100%;
}

@media (max-width: 1100px) {
    .profile-layout-row {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    .profile-card-vertical, .profile-panel-vertical {
        width: 98vw;
        min-width: unset;
        max-width: 98vw;
    }
} 

/* 参考chat.html右侧profile卡片进一步微调details.html样式 */

/* 卡片和面板主背景色、圆角、阴影 */
.profile-card-vertical, .profile-panel-vertical {
    background: #1e131a;
    border-radius: 16px;
    box-shadow: 0 4px 24px 0 rgba(67,38,53,0.18);
    border: 1.5px solid #23202a;
}

/* 卡片图片区域 */
.profile-card-img {
    border-radius: 14px;
    box-shadow: 0 2px 12px 0 rgba(67,38,53,0.12);
    background: #23202a;
}

/* 标签色块 */
.profile-card-tags .tag, .profile-panel-tags-row .tag {
    border-radius: 1rem;
    font-size: 0.92rem;
    font-weight: 500;
    padding: 0.25rem 1.1rem;
    background: #432635;
    color: #fff;
    letter-spacing: 0.5px;
    margin-right: 0.3rem;
}
.profile-card-tags .exclusive, .profile-panel-tags-row .tag:first-child {
    background: #be3172;
}

/* 按钮样式 */
.profile-btn.main {
    background: #be3172;
    color: #fff;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    box-shadow: 0 2px 8px 0 rgba(190,49,114,0.10);
    padding: 0.5rem 1.5rem;
    border: none;
    margin-right: 0.5rem;
}
.profile-btn.secondary {
    background: #432635;
    color: #fff;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    border: none;
}
.profile-btn.main:hover {
    background: #a0285f;
}
.profile-btn.secondary:hover {
    background: #5a2d4a;
}

/* 属性表 */
.profile-panel-attributes-table {
    width: 100%;
    margin-bottom: 1.1rem;
}
.profile-panel-attr-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0;
    border-bottom: 1px solid #432635;
    font-size: 1rem;
    color: #9CA3AF;
    font-weight: 500;
}
.profile-panel-attr-row span:last-child {
    color: #fff;
    font-weight: 600;
}

/* 分割线 */
.profile-panel-tabs-row {
    border-bottom: 2px solid #432635;
    padding-bottom: 0.1rem;
}

/* 标签页按钮 */
.profile-panel-tab {
    color: #9CA3AF;
    font-size: 1rem;
    font-weight: 600;
    border-bottom: 2.5px solid transparent;
    border-radius: 0;
    background: none;
    transition: color 0.2s, border-bottom 0.2s;
    padding: 0.7rem 1.2rem 0.5rem 1.2rem;
}
.profile-panel-tab.active {
    color: #be3172;
    border-bottom: 2.5px solid #be3172;
    background: none;
}
.profile-panel-tab:hover {
    color: #be3172;
}

/* 详情色块 */
.profile-card-desc, .profile-card-creator, .profile-panel-creator-bar {
    background: #432635;
    color: #fff;
    border-radius: 12px;
    font-size: 1rem;
    margin-top: 0.7rem;
    margin-bottom: 0.7rem;
    padding: 0.6rem 1.1rem;
}

/* 头像圆角、边框 */
.profile-card-img, .creator-avatar {
    border-radius: 14px;
    border: 2px solid #432635;
}
.creator-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    background: #fff;
}

/* 字体、标题 */
.profile-card-name, .profile-panel-title {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.15rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 0.5rem;
}

/* 心形按钮 */
.heart-btn {
    background: #1e131a;
    color: #fff;
    border: none;
    font-size: 1.7rem;
    border-radius: 50%;
    width: 2.3rem;
    height: 2.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px 0 rgba(190,49,114,0.10);
    cursor: pointer;
    transition: color 0.2s, background 0.2s;
}
.heart-btn:hover {
    color: #be3172;
    background: #fff;
}

/* 间距、紧凑度 */
.profile-card-info, .profile-panel-content {
    padding-left: 0.2rem;
    padding-right: 0.2rem;
}
.profile-card-vertical, .profile-panel-vertical {
    margin-bottom: 1.5rem;
}

@media (max-width: 1100px) {
    .profile-layout-row {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    .profile-card-vertical, .profile-panel-vertical {
        width: 98vw;
        min-width: unset;
        max-width: 98vw;
    }
} 

.coming-soon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    text-align: center;
    color: #666;
}

.coming-soon h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #333, #666);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: pulse 2s infinite;
}

.coming-soon p {
    font-size: 1.2rem;
    opacity: 0.8;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
} 

/* ====== Subscription Section Styles ====== */
.subscription-section {
    background: linear-gradient(120deg, #1e131a 60%, #1a1a2e 100%);
    border-radius: 1.5rem;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.18);
    padding: 2.5rem 2rem 2rem 2rem;
    margin: 2rem auto 0 auto;
    max-width: 1100px;
    display: flex;
    flex-direction: row;
    gap: 2.5rem;
    position: relative;
    color: #fff;
}
.subscription-header {
    position: absolute;
    left: 2.5rem;
    top: 2.5rem;
    width: 50%;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}
.subscription-title {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: #fff;
    margin-bottom: 0.2rem;
}
.subscription-discount {
    color: #1fffc6;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.subscription-chips {
    margin-bottom: 0.5rem;
}
.chips-btn {
    background: #ffb800;
    color: #222;
    border: none;
    border-radius: 1.2rem;
    padding: 0.2rem 1.1rem;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 2px 8px 0 rgba(255,184,0,0.15);
}
.subscription-tabs {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 0.5rem;
}
.tab {
    background: none;
    border: none;
    color: #bdbdbd;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    border-radius: 1.5rem;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.tab.active {
    background: #2e1a2f;
    color: #fff;
    border: 2px solid #be3172;
}
.tab-soon {
    font-size: 0.9em;
    color: #ffb800;
    margin-left: 0.3em;
}
.subscription-timer {
    display: flex;
    gap: 0.3rem;
    align-items: center;
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.2rem;
}
.timer-box {
    background: #2e1a2f;
    border-radius: 0.5rem;
    padding: 0.2rem 0.7rem;
    font-size: 1.2rem;
    color: #fff;
    min-width: 2.2rem;
    text-align: center;
}
.subscription-content {
    flex: 1 1 55%;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-left: 0;
    margin-top: 7.5rem;
}
.subscription-cards {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 0.5rem;
}
.plan-card {
    background: #23172a;
    border-radius: 1.2rem;
    padding: 1.2rem 1.5rem;
    min-width: 170px;
    box-shadow: 0 2px 12px 0 rgba(190,49,114,0.08);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    border: 2px solid transparent;
    transition: border 0.2s;
}
.plan-card.best-choice {
    border: 2.5px solid #1fffc6;
    box-shadow: 0 0 0 3px #1fffc633, 0 2px 12px 0 rgba(190,49,114,0.12);
}
.plan-card:not(.best-choice):hover {
    border: 2px solid #be3172;
    box-shadow: 0 0 0 2px #be317244;
}
.plan-badge {
    background: #1fffc6;
    color: #222;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 0.7rem;
    padding: 0.1rem 0.7rem;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}
.plan-duration {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}
.plan-price {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.2rem;
}
.plan-old {
    color: #be3172;
    text-decoration: line-through;
    font-size: 1.1rem;
    margin-right: 0.5rem;
}
.plan-new {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 800;
}
.plan-unit {
    color: #bdbdbd;
    font-size: 1rem;
    margin-left: 0.2rem;
}
.plan-off {
    color: #1fffc6;
    font-size: 1rem;
    font-weight: 700;
    margin-top: 0.2rem;
}
.plan-notes {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    margin-bottom: 0.5rem;
}
.plan-note {
    color: #bdbdbd;
    font-size: 0.98rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.note-icon {
    color: #1fffc6;
    font-size: 1.1rem;
}
.plan-payments {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.5rem;
}
.pay-btn {
    background: #be3172;
    color: #fff;
    border: none;
    border-radius: 0.7rem;
    padding: 0.6rem 1.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.pay-btn.pay-main {
    background: linear-gradient(90deg, #1fffc6 60%, #be3172 100%);
    color: #222;
    border: 2px solid #1fffc6;
}
.pay-btn.pay-gpay {
    background: #fff;
    color: #222;
    border: 2px solid #be3172;
}
.pay-btn.pay-crypto {
    background: #222;
    color: #fff;
    border: 2px solid #1fffc6;
}
.pay-btn .pay-icons {
    display: flex;
    gap: 0.2rem;
    align-items: center;
}
.pay-icon {
    width: 1.5rem;
    height: 1.5rem;
    object-fit: contain;
    background: #fff;
    border-radius: 0.3rem;
    padding: 0.1rem;
}
.plan-bill {
    color: #bdbdbd;
    font-size: 0.98rem;
    margin-top: 0.2rem;
}
.subscription-benefits {
    flex: 1 1 45%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 1.2rem;
    margin-top: 2.5rem;
}
.benefits-image {
    position: relative;
    width: 320px;
    height: 340px;
    margin-bottom: 0.5rem;
}
.benefits-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 1.2rem;
    box-shadow: 0 4px 24px 0 rgba(190,49,114,0.18);
    border: 2.5px solid #be3172;
    background: #1e131a;
}
.benefits-premium-label {
    position: absolute;
    bottom: 1.2rem;
    left: 50%;
    transform: translateX(-50%);
    background: #be3172;
    color: #fff;
    font-size: 1.3rem;
    font-weight: 800;
    padding: 0.3rem 2.2rem;
    border-radius: 1.2rem;
    letter-spacing: 2px;
    box-shadow: 0 2px 8px 0 rgba(190,49,114,0.18);
    border: 2px solid #fff;
}
.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    font-size: 1.1rem;
}
.benefit-badge.premium {
    background: #be3172;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 0.7rem;
    padding: 0.1rem 0.7rem;
    margin-right: 0.5rem;
}
.benefit-chips {
    color: #1fffc6;
    font-weight: 700;
    margin-right: 0.5rem;
}
.benefit-beta {
    background: #ffb800;
    color: #222;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 0.7rem;
    padding: 0.1rem 0.7rem;
    margin-left: 0.5rem;
}
@media (max-width: 1100px) {
    .subscription-section {
        flex-direction: column;
        padding: 1.5rem 0.5rem;
        max-width: 98vw;
    }
    .subscription-header {
        position: static;
        width: 100%;
        align-items: flex-start;
    }
    .subscription-content, .subscription-benefits {
        margin-top: 1.5rem;
    }
    .benefits-image {
        width: 220px;
        height: 220px;
    }
}
@media (max-width: 700px) {
    .subscription-section {
        padding: 0.5rem 0.1rem;
        gap: 1rem;
    }
    .subscription-header {
        gap: 0.3rem;
    }
    .subscription-title {
        font-size: 1.3rem;
    }
    .benefits-image {
        width: 120px;
        height: 120px;
    }
}
/* ====== End Subscription Section Styles ====== */ 

/* Create.html 页面专用样式 */
.avatar-option {
    transition: border-color 0.2s ease;
}

.avatar-option.selected {
    border-color: #be3172;
}

.radio-custom {
    appearance: none;
    width: 16px;
    height: 16px;
    border: 2px solid #432635;
    border-radius: 50%;
    position: relative;
    cursor: pointer;
}

.radio-custom:checked {
    border-color: #be3172;
}

.radio-custom:checked::after {
    content: '';
    width: 8px;
    height: 8px;
    background-color: #be3172;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.voice-card {
    transition: border-color 0.2s ease;
}

.voice-card:hover {
    border-color: #be3172;
}

/* Create页面布局样式 */
.create-main-content {
    overflow-y: auto;
    height: 100vh;
    display: flex;
    flex-direction: column;
    padding-top: 5.5rem;
}

.create-container {
    height: 100%;
    overflow: visible;
    display: flex;
    flex-direction: column;
}

.create-content-header {
    flex-shrink: 0;
}

.create-flex-h-full {
    flex: 1;
    min-height: 0;
}

/* 右侧固定面板样式 */
.create-fixed-right {
    z-index: 5;
}

/* 固定顶栏样式 */
.create-header-fixed {
    background: #1e131a;
    border-bottom: 1px solid #432635;
}

/* 为固定顶栏添加背景色和边框 */
.header.fixed {
    background: #1e131a;
    border-bottom: 1px solid #432635;
}

/* 确保左侧内容不被右侧面板遮挡 */
.create-flex-1-margin-right {
    max-width: calc(100% - 320px);
} 