/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Space Grotesk', 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #FAF3E0 0%, #F8F6F2 50%, #E2C4F7 100%);
    min-height: 100vh;
    color: #5D3587;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* 头部样式 */
.header {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px 0;
}

.logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.title-container {
    text-align: center;
    margin-bottom: 15px;
}

.logo-image {
    width: 60px;
    height: 60px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(93, 53, 135, 0.2));
    transition: transform 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.05);
}

.title-container h1 {
    font-family: 'Sora', sans-serif;
    font-size: 2.8rem;
    font-weight: 600;
    font-style: italic;
    background: linear-gradient(135deg, #5D3587, #8A7CBF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(93, 53, 135, 0.1);
}

.subtitle {
    font-size: 1.2rem;
    color: #8A7CBF;
    font-weight: 400;
    font-style: normal;
    margin-bottom: 15px;
}

/* AI能力和免费使用强调 */
.features-highlight {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.feature-badge {
    background: linear-gradient(135deg, #B399D4, #8A7CBF);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(179, 153, 212, 0.3);
    /* transition: transform 0.3s ease; */
}

/* .feature-badge:hover 动画效果已取消 */

.feature-badge i {
    font-size: 0.8rem;
}

/* 语言下拉菜单 */
.language-dropdown {
    position: absolute;
    top: 15px;
    right: 15px;
    display: inline-block;
    z-index: 10;
}

.language-dropdown-btn {
    background: rgba(179, 153, 212, 0.1);
    color: #8A7CBF;
    border: 1px solid rgba(179, 153, 212, 0.2);
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 400;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 6px rgba(179, 153, 212, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.language-dropdown-btn:hover {
    background: rgba(179, 153, 212, 0.2);
    color: #5D3587;
    border-color: rgba(179, 153, 212, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(179, 153, 212, 0.2);
}

.language-dropdown-btn i:first-child {
    font-size: 0.8rem;
}

.language-dropdown-btn i:last-child {
    font-size: 0.6rem;
    transition: transform 0.3s ease;
}

.language-dropdown.active .language-dropdown-btn i:last-child {
    transform: rotate(180deg);
}

.language-dropdown-content {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(93, 53, 135, 0.15);
    min-width: 160px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 5px;
    border: 1px solid rgba(179, 153, 212, 0.1);
}

.language-dropdown.active .language-dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    padding: 8px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.2s ease;
    border-radius: 8px;
    margin: 2px;
    font-size: 0.85rem;
}

.language-option:hover {
    background-color: #F8F6F2;
}

.language-option.active {
    background: linear-gradient(135deg, #E2C4F7, #B399D4);
    color: white;
}

.language-option .flag {
    font-size: 1rem;
}

.language-option span:last-child {
    font-weight: 500;
}

/* 主要内容区域 */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* 梦境输入区域 */
.dream-input-section {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(93, 53, 135, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(226, 196, 247, 0.3);
}

.input-container {
    position: relative;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(93, 53, 135, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(226, 196, 247, 0.3);
    transition: all 0.3s ease;
}

.input-container:focus-within {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(93, 53, 135, 0.15);
    border-color: #B399D4;
}

.input-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #5D3587;
    margin-bottom: 15px;
    font-family: 'Sora', sans-serif;
}

.input-label i {
    color: #8A7CBF;
    font-size: 1.2rem;
}

.dream-input {
    width: 100%;
    min-height: 120px;
    padding: 15px;
    border: 2px solid rgba(226, 196, 247, 0.5);
    border-radius: 15px;
    font-size: 1rem;
    font-family: inherit;
    color: #5D3587;
    background: rgba(255, 255, 255, 0.8);
    resize: vertical;
    transition: all 0.3s ease;
    outline: none;
}

.dream-input:focus {
    border-color: #B399D4;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 15px rgba(179, 153, 212, 0.2);
}

.dream-input::placeholder {
    color: #8A7CBF;
    font-style: italic;
}

/* 输入提示 */
.input-hint {
    background: linear-gradient(135deg, #E2C4F7, #B399D4);
    color: white;
    padding: 12px 16px;
    border-radius: 12px;
    margin-top: 15px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.input-hint.show {
    opacity: 1;
    transform: translateY(0);
}

.input-hint i {
    font-size: 1rem;
}

.analyze-btn {
    background: linear-gradient(135deg, #5D3587, #8A7CBF);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(93, 53, 135, 0.3);
    font-family: 'Sora', sans-serif;
}

.analyze-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(93, 53, 135, 0.4);
}

.analyze-btn:active {
    transform: translateY(0);
}

/* 结果区域 */
.results-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* 加载动画 */
.loading-spinner {
    text-align: center;
    padding: 40px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(93, 53, 135, 0.1);
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #E2C4F7;
    border-top: 4px solid #B399D4;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 分析结果 */
.analysis-result, .image-generation {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(93, 53, 135, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(226, 196, 247, 0.3);
}

.result-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #E2C4F7;
}

.result-header h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #5D3587;
    font-size: 1.6rem;
    font-weight: 600;
    font-style: normal;
}

.result-header i {
    color: #B399D4;
}

.analysis-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #5D3587;
    font-family: 'Sora', sans-serif;
}

/* 图像生成区域 */
.image-container {
    margin: 20px 0;
    min-height: 300px;
    border: 2px dashed #E2C4F7;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(248, 246, 242, 0.5);
}

/* 图像加载状态样式 */
.image-loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.loading-text {
    font-size: 1.2rem;
    color: #5D3587;
    margin: 20px 0 10px 0;
    font-weight: 500;
}

.loading-subtext {
    font-size: 0.9rem;
    color: #8A7CBF;
    margin: 0;
    opacity: 0.8;
}

/* 超时状态样式 */
.image-timeout-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.timeout-icon {
    font-size: 3rem;
    color: #E2C4F7;
    margin-bottom: 20px;
}

.timeout-text {
    font-size: 1.2rem;
    color: #5D3587;
    margin: 0 0 10px 0;
    font-weight: 500;
}

.timeout-subtext {
    font-size: 0.9rem;
    color: #8A7CBF;
    margin: 0;
    opacity: 0.8;
}

.image-placeholder {
    text-align: center;
    color: #8A7CBF;
}

.image-placeholder i {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.6;
}

.image-placeholder p {
    font-size: 1rem;
    font-style: normal;
}

/* 生成的图像容器样式 */
.generated-image-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.image-wrapper {
    position: relative;
    display: inline-block;
}

.generated-image {
    max-width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(93, 53, 135, 0.2);
    opacity: 0;
    transition: opacity 0.5s ease;
}

/* 水印样式 */
.watermark {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: transparent;
    color: white;
    padding: 4px 8px;
    font-size: 0.75rem;
    font-weight: 400;
    font-style: italic;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}





.generate-image-btn {
    background: linear-gradient(135deg, #E2C4F7, #B399D4);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Sora', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    align-self: flex-start;
    box-shadow: 0 5px 15px rgba(226, 196, 247, 0.3);
}



.generate-image-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(226, 196, 247, 0.4);
    background: linear-gradient(135deg, #B399D4, #8A7CBF);
}

/* Art Style Selector Styles */
.style-selector-container {
    margin: 25px 0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(93, 53, 135, 0.1);
    backdrop-filter: blur(10px);
}

.style-selector-label {
    display: block;
    font-family: 'Sora', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #5D3587;
    margin-bottom: 15px;
    text-align: center;
}

.style-selector-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    max-width: 100%;
}

.style-option {
    position: relative;
}

.style-option input[type="radio"] {
    display: none;
}

.style-option label {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 8px;
    border: 2px solid transparent;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.8);
    text-align: center;
}

.style-option label:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(93, 53, 135, 0.15);
    background: rgba(255, 255, 255, 0.95);
}

.style-option label:hover .style-preview {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.style-option input[type="radio"]:checked + label {
    border-color: #8A7CBF;
    background: linear-gradient(135deg, rgba(226, 196, 247, 0.2), rgba(179, 153, 212, 0.2));
    box-shadow: 0 4px 12px rgba(138, 124, 191, 0.3);
}

.style-preview {
    width: 150px;
    height: 150px;
    border-radius: 16px;
    margin-bottom: 8px;
    background-size: cover;
    background-position: center;
    border: 2px solid rgba(93, 53, 135, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.watercolor-preview {
    background-image: url('/public/style-previews/%E6%B0%B4%E5%BD%A9%E7%94%BB%E9%A3%8E.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.cartoon-preview {
    background-image: url('/public/style-previews/%E5%8D%A1%E9%80%9A%E9%A3%8E%E6%A0%BC.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.oil-preview {
    background-image: url('/public/style-previews/%E6%B2%B9%E7%94%BB%E9%A3%8E%E6%A0%BC.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.webtoon-preview {
    background-image: url('/public/style-previews/%E9%9F%A9%E6%BC%AB%E9%A3%8E%E6%A0%BC.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.chibi-preview {
    background-image: url('/public/style-previews/Q%E7%89%88%E8%90%8C%E7%B3%BB%E9%A3%8E.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.lineart-preview {
    background-image: url('/public/style-previews/%E9%BB%91%E7%99%BD%E7%BA%BF%E7%A8%BF%E9%A3%8E.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.style-option span {
    font-family: 'Sora', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: #5D3587;
    line-height: 1.2;
}

@keyframes watercolorFlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes oilTexture {
    0%, 100% { background-position: 0% 0%; }
    50% { background-position: 100% 100%; }
}

@keyframes cartoonBounce {
    0%, 100% { 
        background-position: 0% 50%;
        transform: scale(1);
    }
    50% { 
        background-position: 100% 50%;
        transform: scale(1.05);
    }
}

/* Responsive Design for Style Selector */
@media (max-width: 768px) {
    .style-selector-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .style-option label {
        padding: 10px 6px;
    }
    
    .style-preview {
        width: 40px;
        height: 40px;
        border-radius: 8px;
    }
    
    .style-option span {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .style-selector-container {
        margin: 20px 0;
        padding: 15px;
    }
    
    .style-selector-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
}

/* Dream Gallery Styles */
.dream-gallery {
    margin-top: 60px;
    padding: 40px 0;
}

.gallery-header {
    text-align: center;
    margin-bottom: 40px;
}

.gallery-header h2 {
    font-family: 'Sora', sans-serif;
    font-size: 2.2rem;
    font-weight: 600;
    color: #5D3587;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.gallery-header h2 i {
    color: #8A7CBF;
    font-size: 1.8rem;
}

.gallery-header p {
    font-size: 1.1rem;
    color: #8A7CBF;
    font-weight: 400;
}

.gallery-grid {
    column-count: 4;
    column-gap: 20px;
    margin-bottom: 30px;
    column-fill: balance;
}

.gallery-item {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    position: relative;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: inline-block;
    width: 100%;
    margin-bottom: 20px;
    break-inside: avoid;
    page-break-inside: avoid;
}

/* 交错瀑布流效果 - 不同高度的随机旋转 */
.gallery-item:nth-child(4n+1) {
    transform: rotate(0.8deg);
}

.gallery-item:nth-child(4n+2) {
    transform: rotate(-0.5deg);
}

.gallery-item:nth-child(4n+3) {
    transform: rotate(0.3deg);
}

.gallery-item:nth-child(4n+4) {
    transform: rotate(-0.7deg);
}

.gallery-item:nth-child(6n+1) {
    transform: rotate(1.2deg);
}

.gallery-item:nth-child(6n+2) {
    transform: rotate(-0.9deg);
}

.gallery-item:nth-child(8n+1) {
    transform: rotate(0.6deg);
}

.gallery-item:nth-child(8n+3) {
    transform: rotate(-1.1deg);
}

.gallery-item:nth-child(10n+1) {
    transform: rotate(0.4deg);
}

.gallery-item:nth-child(10n+5) {
    transform: rotate(-0.8deg);
}

.gallery-item:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15), 0 16px 40px rgba(0, 0, 0, 0.1);
}

/* CSS变量设置已移除，使用简化的Grid布局 */

.gallery-item-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
    max-width: 100%;
    border-radius: 16px 16px 0 0;
}

.gallery-item:hover .gallery-item-image {
    transform: scale(1.05);
    border-radius: 16px 16px 0 0;
}

.gallery-item-content {
    position: absolute;
    bottom: 12px;
    right: 12px;
    display: flex;
    justify-content: flex-end;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-item-content {
    opacity: 1;
}

.gallery-item-title {
    display: none;
}

.gallery-item-dream {
    display: none;
}

.gallery-item-date {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
    background: rgba(0, 0, 0, 0.6);
    padding: 6px 10px;
    border-radius: 14px;
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.5px;
}

/* 懒加载占位符样式 */
.gallery-item-placeholder {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.placeholder-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(93, 53, 135, 0.2);
    border-top: 3px solid #5D3587;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

.placeholder-text {
    font-family: 'Sora', sans-serif;
    font-size: 0.9rem;
    color: #5D3587;
    font-weight: 500;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.gallery-placeholder {
    text-align: center;
    padding: 60px 20px;
    color: #8A7CBF;
}

.gallery-placeholder i {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #B399D4;
}

.gallery-placeholder p {
    font-size: 1.1rem;
    font-weight: 500;
}

/* 页脚 */
.footer {
    text-align: center;
    padding: 30px 0;
    color: #8A7CBF;
    font-size: 0.9rem;
    margin-top: 40px;
    font-style: normal;
}

/* 动画效果 */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .gallery-grid {
        column-count: 3;
        column-gap: 18px;
    }
    
    /* 1024px以下的简化效果 */
    .gallery-item:nth-child(3n+2) {
        transform: rotate(0.4deg);
    }
    
    .gallery-item:nth-child(3n+3) {
        transform: rotate(-0.3deg);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .logo-container {
        margin-bottom: 15px;
    }
    
    .title-container h1 {
        font-size: 2.2rem;
    }
    
    .logo-image {
        width: 50px;
        height: 50px;
    }
    
    .features-highlight {
        gap: 15px;
    }
    
    .feature-badge {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
    .gallery-grid {
        column-count: 2;
        column-gap: 16px;
    }
    
    /* 768px以下的简化效果 */
    .gallery-item:nth-child(2n+2) {
        transform: rotate(0.3deg);
    }
    
    .language-dropdown {
        top: 10px;
        right: 10px;
    }
    
    .language-dropdown-btn {
        font-size: 0.75rem;
        padding: 5px 10px;
    }
    
    .language-dropdown-content {
        min-width: 140px;
    }
    
    .language-option {
        padding: 6px 10px;
        font-size: 0.8rem;
    }
    
    .dream-input-section,
    .analysis-result,
    .image-generation {
        padding: 20px;
    }
    
    .analyze-btn {
        align-self: stretch;
    }
    
    .generate-image-btn {
        align-self: stretch;
    }
    
    /* 画风选择器移动端优化 */
    .style-selector-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
    
    .style-preview {
        width: 135px;
        height: 135px;
        border-radius: 14px;
    }
    
    .style-option span {
        font-size: 0.75rem;
    }

}

@media (max-width: 480px) {
    .title-container h1 {
        font-size: 1.8rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .input-label {
        font-size: 1.1rem;
    }
    
    .result-header h2 {
        font-size: 1.4rem;
    }
    
    .features-highlight {
        flex-direction: column;
        align-items: center;
    }
    
    .gallery-grid {
        column-count: 1;
        column-gap: 16px;
    }
    
    /* 480px以下单列布局无需特殊效果 */
    
    .language-dropdown {
        top: 8px;
        right: 8px;
    }
    
    .language-dropdown-btn {
        font-size: 0.7rem;
        padding: 4px 8px;
    }
    
    .language-dropdown-content {
        min-width: 120px;
    }
    
    .language-option {
        padding: 5px 8px;
        font-size: 0.75rem;
    }
    
    /* 画风选择器小屏幕优化 */
    .style-selector-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .style-preview {
        width: 120px;
        height: 120px;
        border-radius: 12px;
    }
    
    .style-option span {
        font-size: 0.7rem;
    }
    
    .style-option label {
        padding: 8px 6px;
    }
} 