/* 移动端优化样式 */

/* 基础移动端适配 */
@media (max-width: 768px) {
    /* 容器内边距调整 */
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    /* 按钮优化 */
    .btn-mobile {
        min-height: 48px;
        font-size: 16px;
        border-radius: 12px;
        font-weight: 500;
        letter-spacing: 0.025em;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
        transition: all 0.2s ease;
    }
    
    .btn-mobile:active {
        transform: scale(0.98);
    }
    
    /* 主要操作按钮 */
    .btn-primary-mobile {
        background: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%);
        color: white;
        box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
    }
    
    .btn-primary-mobile:hover {
        box-shadow: 0 6px 16px rgba(59, 130, 246, 0.5);
        transform: translateY(-1px);
    }
    
    /* 次要按钮 */
    .btn-secondary-mobile {
        background: white;
        color: #4B5563;
        border: 2px solid #E5E7EB;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    
    .btn-secondary-mobile:hover {
        background: #F9FAFB;
        border-color: #D1D5DB;
    }
    
    /* 选择窗口优化 */
    .select-mobile {
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        min-height: 52px;
        padding: 0.875rem 3.5rem 0.875rem 1.25rem;
        font-size: 16px;
        line-height: 1.4;
        border-radius: 12px;
        border: 2px solid #E5E7EB;
        background: white url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m6 8 4 4 4-4'/%3e%3c/svg%3e") no-repeat right 1rem center;
        background-size: 1.5rem;
        box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
        transition: all 0.2s ease;
        font-weight: 500;
        color: #374151;
        letter-spacing: 0.025em;
    }
    
    .select-mobile:focus {
        outline: none;
        border-color: #3B82F6;
        box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15), 0 4px 16px rgba(0, 0, 0, 0.15);
        background-color: #FEFEFE;
    }
    
    /* 选择框选项优化 */
    .select-mobile option {
        padding: 1rem 0.75rem;
        font-size: 18px !important;
        font-weight: 600;
        color: #374151;
        background: white;
        line-height: 1.5;
        min-height: 48px;
    }
    
    .select-mobile option:checked {
        background: #3B82F6 !important;
        color: white !important;
        font-weight: 700;
    }
    
    .select-mobile option:hover {
        background: #F3F4F6;
    }
    
    /* 强制移动端选择框样式 */
    @media screen and (max-width: 768px) {
        .select-mobile {
            /* 移除自定义样式，使用原生样式 */
            -webkit-appearance: menulist !important;
            -moz-appearance: menulist !important;
            appearance: menulist !important;
            background-image: none !important;
            padding-right: 1rem !important;
            
            /* 增大字体和尺寸 */
            font-size: 18px !important;
            min-height: 56px !important;
            padding: 1rem !important;
            font-weight: 600;
            border: 3px solid #E5E7EB;
            border-radius: 8px;
        }
        
        .select-mobile:focus {
            border-color: #3B82F6 !important;
            box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2) !important;
        }
    }
    
    /* 输入框优化 */
    .input-mobile {
        min-height: 48px;
        padding: 0.75rem 1rem;
        font-size: 16px;
        border-radius: 12px;
        border: 2px solid #E5E7EB;
        background: white;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        transition: all 0.2s ease;
    }
    
    .input-mobile:focus {
        outline: none;
        border-color: #3B82F6;
        box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    }
    
    /* 复选框和单选框优化 */
    .checkbox-mobile,
    .radio-mobile {
        width: 20px;
        height: 20px;
        margin-right: 12px;
        accent-color: #3B82F6;
    }
    
    /* 卡片选择样式 */
    .card-option {
        padding: 1rem;
        border: 2px solid #E5E7EB;
        border-radius: 12px;
        background: white;
        cursor: pointer;
        transition: all 0.2s ease;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        min-height: 60px;
        display: flex;
        align-items: center;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
    
    .card-option:hover {
        border-color: #3B82F6;
        background: #F0F9FF;
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
    }
    
    .card-option.selected {
        border-color: #3B82F6;
        background: linear-gradient(135deg, #EBF8FF 0%, #DBEAFE 100%);
        box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    }
    
    .card-option.selected::before {
        content: "✓";
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
        color: #3B82F6;
        font-weight: bold;
        font-size: 18px;
    }
    
    /* 进度条优化 */
    .progress-mobile {
        height: 8px;
        background: #E5E7EB;
        border-radius: 4px;
        overflow: hidden;
        box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
    }
    
    .progress-bar-mobile {
        height: 100%;
        background: linear-gradient(90deg, #3B82F6, #8B5CF6);
        border-radius: 4px;
        transition: width 0.3s ease;
        box-shadow: 0 2px 4px rgba(59, 130, 246, 0.3);
    }
    
    /* 标题和文本优化 */
    .title-mobile {
        font-size: 1.625rem;
        font-weight: 700;
        line-height: 1.3;
        margin-bottom: 0.75rem;
        color: #1F2937;
    }
    
    .subtitle-mobile {
        font-size: 1.125rem;
        color: #6B7280;
        line-height: 1.5;
        margin-bottom: 2rem;
        font-weight: 400;
    }
    
    /* 国籍选择表单优化 */
    .nationality-form-container {
        padding: 1.5rem 1rem;
    }
    
    .nationality-form-container label {
        font-size: 1.125rem !important;
        font-weight: 600;
        color: #374151;
        margin-bottom: 0.875rem;
        display: block;
        letter-spacing: 0.025em;
    }
    
    /* 针对小屏幕的额外优化 */
    @media (max-width: 480px) {
        .select-mobile {
            min-height: 56px;
            padding: 1rem 3.5rem 1rem 1.25rem;
            font-size: 16px;
            font-weight: 600;
        }
        
        .nationality-form-container {
            padding: 1rem 0.5rem;
        }
        
        .nationality-form-container label {
            font-size: 1.25rem !important;
            margin-bottom: 1rem;
        }
        
        .mobile-form-group {
            margin-bottom: 2.5rem;
        }
    }
    
    /* 移动端表单间距优化 */
    .mobile-form-group {
        margin-bottom: 2rem;
    }
    
    .mobile-form-group:last-child {
        margin-bottom: 1rem;
    }
    
    /* iOS Safari 特殊优化 */
    @supports (-webkit-touch-callout: none) {
        .select-mobile {
            font-size: 18px !important; /* 防止iOS缩放，同时增大字体 */
            -webkit-appearance: menulist !important; /* 使用原生样式 */
            appearance: menulist !important;
            -webkit-border-radius: 8px;
            border-radius: 8px;
            background-image: none !important;
        }
        
        .select-mobile:focus {
            -webkit-appearance: menulist !important;
            appearance: menulist !important;
            zoom: 1; /* 防止iOS Safari缩放 */
        }
        
        /* iOS下拉选项样式 */
        .select-mobile option {
            font-size: 18px !important;
            padding: 12px 8px !important;
            background: white !important;
            color: #374151 !important;
        }
    }
    
    /* Android Chrome 特殊优化 */
    @media screen and (-webkit-min-device-pixel-ratio: 0) and (max-width: 768px) {
        .select-mobile {
            font-size: 18px !important;
            height: 56px !important;
            line-height: 1.4;
            appearance: menulist !important;
            -webkit-appearance: menulist !important;
        }
    }
    
    /* 防止移动端缩放输入框 */
    .select-mobile, .input-mobile {
        -webkit-text-size-adjust: 100%;
        transform: translateZ(0); /* 硬件加速 */
    }
    
    /* 通用移动端选择框优化 - 最高优先级 */
    @media (max-width: 768px) {
        select.select-mobile, 
        .select-mobile {
            font-size: 18px !important;
            font-weight: 600 !important;
            min-height: 56px !important;
            padding: 14px 12px !important;
            border-width: 2px !important;
            border-radius: 8px !important;
        }
        
        /* 强制选项字体大小 */
        select.select-mobile option, 
        .select-mobile option {
            font-size: 18px !important;
            font-weight: 600 !important;
            padding: 12px 8px !important;
            line-height: 1.5 !important;
            min-height: 44px !important;
        }
        
        /* 容器适配 */
        .nationality-form-container {
            padding: 1rem !important;
        }
        
        .nationality-form-container label {
            font-size: 1.25rem !important;
            font-weight: 700 !important;
            margin-bottom: 1rem !important;
        }
    }
    
    /* 网格布局优化 */
    .grid-mobile-2 {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }
    
    .grid-mobile-3 {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    /* 对话框和模态框优化 */
    .modal-mobile {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 9999;
        display: flex;
        align-items: flex-end;
        justify-content: center;
        padding: 0;
    }
    
    .modal-content-mobile {
        background: white;
        border-radius: 20px 20px 0 0;
        max-height: 80vh;
        width: 100%;
        padding: 1.5rem;
        overflow-y: auto;
        transform: translateY(100%);
        transition: transform 0.3s ease;
    }
    
    .modal-mobile.show .modal-content-mobile {
        transform: translateY(0);
    }
    
    /* 导航优化 */
    .nav-mobile {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: white;
        border-top: 1px solid #E5E7EB;
        padding: 0.5rem 0;
        z-index: 50;
    }
    
    .nav-item-mobile {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 0.5rem;
        min-height: 60px;
        text-decoration: none;
        color: #6B7280;
        transition: all 0.2s ease;
        border-radius: 12px;
        margin: 0 0.25rem;
    }
    
    .nav-item-mobile:hover,
    .nav-item-mobile.active {
        color: #3B82F6;
        background: #F0F9FF;
    }
    
    .nav-item-mobile i {
        font-size: 1.25rem;
        margin-bottom: 0.25rem;
    }
    
    .nav-item-mobile span {
        font-size: 0.75rem;
        font-weight: 500;
    }
    
    /* 榜单分类标签优化 */
    .category-tabs {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
        justify-content: center;
        padding: 1rem;
        background: white;
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    
    /* 横滑分类标签容器 */
    .category-scroll-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE and Edge */
    }
    
    .category-scroll-container::-webkit-scrollbar {
        display: none; /* Chrome, Safari and Opera */
    }
    
    .category-tab {
        padding: 0.75rem 1rem;
        border-radius: 24px;
        text-decoration: none;
        font-size: 0.875rem;
        font-weight: 500;
        transition: all 0.2s ease;
        white-space: nowrap;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
    
    .category-tab.active {
        background: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%);
        color: white;
        box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
    }
    
    .category-tab:not(.active) {
        background: #F3F4F6;
        color: #374151;
    }
    
    .category-tab:not(.active):hover {
        background: #E5E7EB;
        transform: translateY(-1px);
    }
    
    /* 大学排名卡片优化 */
    .university-ranking-card {
        background: white;
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        padding: 1rem;
        transition: all 0.3s ease;
        border: 2px solid transparent;
    }
    
    .university-ranking-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
        border-color: #3B82F6;
    }
    
    .university-ranking-card .rank-badge {
        background: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%);
        color: white;
        padding: 0.25rem 0.75rem;
        border-radius: 16px;
        font-size: 0.875rem;
        font-weight: 600;
        box-shadow: 0 2px 4px rgba(59, 130, 246, 0.3);
    }
    
    /* 大学详情移动端优化 */
    .university-info-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    @media (min-width: 640px) {
        .university-info-grid {
            grid-template-columns: repeat(2, 1fr);
        }
    }
    
    .info-card {
        background: #F9FAFB;
        padding: 0.75rem;
        border-radius: 8px;
        border: 1px solid #E5E7EB;
    }
    
    .info-card-label {
        font-size: 0.75rem;
        color: #6B7280;
        margin-bottom: 0.25rem;
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }
    
    .info-card-value {
        color: #111827;
        font-weight: 600;
        font-size: 0.875rem;
    }
    
    /* 安全区域适配 */
    .safe-area-bottom {
        padding-bottom: env(safe-area-inset-bottom);
    }
    
    .safe-area-top {
        padding-top: env(safe-area-inset-top);
    }
    
    /* 手势优化 */
    .swipe-item {
        touch-action: pan-y;
        user-select: none;
    }
    
    /* 加载状态 */
    .loading-mobile {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
    }
    
    .loading-spinner {
        width: 16px;
        height: 16px;
        border: 2px solid transparent;
        border-top: 2px solid currentColor;
        border-radius: 50%;
        animation: spin 1s linear infinite;
    }
    
    @keyframes spin {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }
    
    /* 反馈动画 */
    .bounce-in {
        animation: bounceIn 0.3s ease;
    }
    
    @keyframes bounceIn {
        0% {
            transform: scale(0.8);
            opacity: 0;
        }
        50% {
            transform: scale(1.05);
        }
        100% {
            transform: scale(1);
            opacity: 1;
        }
    }
    
    /* 错误提示优化 */
    .error-mobile {
        background: #FEF2F2;
        border: 1px solid #FECACA;
        color: #DC2626;
        padding: 0.75rem 1rem;
        border-radius: 8px;
        font-size: 0.875rem;
        margin-top: 0.5rem;
    }
    
    /* 成功提示优化 */
    .success-mobile {
        background: #F0FDF4;
        border: 1px solid #BBF7D0;
        color: #16A34A;
        padding: 0.75rem 1rem;
        border-radius: 8px;
        font-size: 0.875rem;
        margin-top: 0.5rem;
    }
    
    /* 评估结果页面移动端优化 */
    .assessment-result-container {
        padding: 1rem 0.75rem !important;
        margin: 0 !important;
    }
    
    .assessment-header {
        padding: 1.5rem 1rem !important;
        margin-bottom: 1rem !important;
        border-radius: 1rem !important;
    }
    
    .assessment-header h1 {
        font-size: 1.5rem !important;
        line-height: 1.3 !important;
        margin-bottom: 0.75rem !important;
    }
    
    .assessment-header p {
        font-size: 0.875rem !important;
        margin-bottom: 1rem !important;
    }
    
    .assessment-header .flex {
        flex-direction: column !important;
        space-y: 0.5rem !important;
        align-items: center !important;
    }
    
    .assessment-header .flex > div {
        margin-bottom: 0.5rem !important;
    }
    
    /* 大学推荐卡片移动端优化 */
    .university-card {
        padding: 1rem !important;
        margin-bottom: 1rem !important;
        border-radius: 0.75rem !important;
    }
    
    .university-card .flex {
        flex-direction: column !important;
        space-x: 0 !important;
    }
    
    .university-card .flex-shrink-0 {
        flex-shrink: initial !important;
        margin-bottom: 1rem !important;
        text-align: center;
    }
    
    .university-card img,
    .university-card .w-16 {
        width: 3rem !important;
        height: 3rem !important;
        margin: 0 auto !important;
    }
    
    .university-card h3 {
        font-size: 1.125rem !important;
        line-height: 1.4 !important;
        text-align: center !important;
        margin-bottom: 0.5rem !important;
    }
    
    .university-card .text-xl {
        font-size: 1.125rem !important;
    }
    
    .university-card .justify-between {
        justify-content: center !important;
        text-align: center !important;
        flex-direction: column !important;
    }
    
    .university-card .text-right {
        text-align: center !important;
        margin-top: 0.75rem !important;
    }
    
    /* AI推荐理由移动端优化 */
    .ai-reason-card {
        padding: 0.75rem !important;
        margin-bottom: 1rem !important;
    }
    
    .ai-reason-card h4 {
        font-size: 1rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .ai-reason-card ul,
    .ai-reason-card p {
        font-size: 0.875rem !important;
        line-height: 1.5 !important;
    }
    
    /* 费用和奖学金信息移动端优化 */
    .fee-scholarship-grid {
        grid-template-columns: 1fr !important;
        gap: 0.75rem !important;
    }
    
    .fee-card,
    .scholarship-card {
        padding: 0.75rem !important;
        border-radius: 0.5rem !important;
    }
    
    .fee-card h5,
    .scholarship-card h5 {
        font-size: 0.875rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .fee-card p,
    .scholarship-card p {
        font-size: 0.75rem !important;
        line-height: 1.4 !important;
    }
    
    /* 章节标题移动端优化 */
    .section-title {
        font-size: 1.25rem !important;
        padding: 0.75rem 1rem !important;
        margin-bottom: 0.75rem !important;
    }
    
    .section-content {
        padding: 1rem 0.75rem !important;
    }
    
    /* 星级显示移动端优化 */
    .stars-mobile {
        justify-content: center !important;
        margin: 0.5rem 0 !important;
    }
    
    .stars-mobile i {
        font-size: 0.75rem !important;
    }
    
    /* 标签显示移动端优化 */
    .tag-mobile {
        font-size: 0.75rem !important;
        padding: 0.25rem 0.5rem !important;
        margin: 0.25rem !important;
    }
    
    /* 头部区域响应式文字大小 */
    .assessment-header .text-4xl {
        font-size: 2rem !important;
    }
    
    /* 章节标题响应式 */
    .section-title h2 {
        font-size: 1.25rem !important;
        line-height: 1.4 !important;
    }
    
    .section-title p {
        font-size: 0.875rem !important;
    }
    
    .section-title .text-xl {
        font-size: 1rem !important;
    }
    
    .section-title .text-sm {
        font-size: 0.75rem !important;
    }
    
    /* 大学信息文字调整 */
    .university-card p {
        font-size: 0.875rem !important;
        line-height: 1.4 !important;
    }
    
    .university-card .text-sm {
        font-size: 0.75rem !important;
    }
    
    /* 推荐标签移动端优化 */
    .university-card .bg-red-100,
    .university-card .bg-blue-100,
    .university-card .bg-green-100 {
        font-size: 0.75rem !important;
        padding: 0.375rem 0.75rem !important;
        margin-top: 0.5rem !important;
    }
    
    /* 列表项间距优化 */
    .ai-reason-card .space-y-1 > * + * {
        margin-top: 0.5rem !important;
    }
    
    /* 链接样式移动端优化 */
    .fee-card a,
    .scholarship-card a {
        font-size: 0.8125rem !important;
        font-weight: 600 !important;
        display: inline-block !important;
        padding: 0.25rem 0 !important;
    }
    
    /* 首页移动端优化 */
    .home-hero-section {
        padding: 2rem 0 !important;
    }
    
    .home-hero-title {
        font-size: 1.75rem !important;
        line-height: 1.3 !important;
        margin-bottom: 1rem !important;
    }
    
    .home-hero-subtitle {
        font-size: 1rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    /* 地区选择卡片移动端优化 */
    .region-card {
        padding: 0.75rem !important;
        border-radius: 1rem !important;
    }
    
    .region-card h3 {
        font-size: 0.875rem !important;
        margin-bottom: 0.25rem !important;
    }
    
    .region-card p {
        font-size: 0.625rem !important;
    }
    
    .region-card .text-2xl {
        font-size: 1.25rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    /* 地区详情移动端优化 */
    .region-details {
        padding: 1.5rem !important;
        margin-bottom: 1rem !important;
        border-radius: 1.5rem !important;
    }
    
    .region-details h3 {
        font-size: 1.25rem !important;
    }
    
    .region-details h4 {
        font-size: 1rem !important;
        margin-bottom: 0.75rem !important;
    }
    
    /* 知名大学预览移动端优化 */
    .university-preview-card {
        padding: 0.75rem !important;
        border-radius: 0.75rem !important;
    }
    
    .university-preview-card img,
    .university-preview-card .w-12 {
        width: 2rem !important;
        height: 2rem !important;
        border-radius: 0.5rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .university-preview-card h5 {
        font-size: 0.75rem !important;
        line-height: 1.2 !important;
        margin-bottom: 0.25rem !important;
        height: 2.4rem !important;
        overflow: hidden !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        word-break: break-word !important;
        overflow-wrap: anywhere !important;
        hyphens: auto !important;
    }

    /* 多语言（如越南语、英语）大学名称更长，允许显示至3行 */
    html[lang^="vi"] .university-preview-card h5,
    html[lang^="en"] .university-preview-card h5 {
        -webkit-line-clamp: 3 !important;
        height: 3.6rem !important; /* 3 行 * 1.2 行高 * 1rem 基准 */
    }
    
    .university-preview-card .fas.fa-star,
    .university-preview-card .far.fa-star {
        font-size: 0.625rem !important;
    }
    
    .university-preview-card .text-xs {
        font-size: 0.625rem !important;
    }
    
    /* 开始评估按钮移动端优化 */
    .start-assessment-btn {
        padding: 0.75rem 2rem !important;
        font-size: 1rem !important;
        border-radius: 2rem !important;
    }
    
    /* 特色介绍移动端优化 */
    .feature-section {
        padding: 2rem 0 !important;
    }
    
    .feature-card {
        padding: 1.5rem !important;
        border-radius: 0.75rem !important;
    }
    
    .feature-card .w-12,
    .feature-card .w-16 {
        width: 3rem !important;
        height: 3rem !important;
        margin-bottom: 1rem !important;
    }
    
    .feature-card h3 {
        font-size: 1.125rem !important;
        margin-bottom: 0.75rem !important;
    }
    
    .feature-card p {
        font-size: 0.875rem !important;
        line-height: 1.5 !important;
    }
    
    .feature-card .text-2xl,
    .feature-card .text-3xl {
        font-size: 1.5rem !important;
    }
    
    /* 底部说明区域移动端优化 */
    .bottom-info {
        padding: 1rem !important;
        border-radius: 1rem !important;
    }
    
    .bottom-info .grid {
        grid-template-columns: 1fr !important;
        gap: 0.75rem !important;
    }
    
    .bottom-info .text-sm {
        font-size: 0.75rem !important;
    }
}

/* 通用优化（所有设备） */
* {
    -webkit-tap-highlight-color: transparent;
}

button, a, input, select, textarea {
    touch-action: manipulation;
}

/* 字体优化 */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 滚动优化 */
.smooth-scroll {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}