/**
 * 手机端精美样式表
 * 设计理念：简洁、紧凑、易用
 */

/* ==================== 全局变量 ==================== */
:root {
    --mobile-primary: #3b82f6;
    --mobile-primary-dark: #2563eb;
    --mobile-primary-light: #dbeafe;
    --mobile-success: #10b981;
    --mobile-warning: #f59e0b;
    --mobile-danger: #ef4444;
    --mobile-text: #1e293b;
    --mobile-text-light: #64748b;
    --mobile-text-muted: #94a3b8;
    --mobile-bg: #f8fafc;
    --mobile-card-bg: #ffffff;
    --mobile-border: #e2e8f0;
    --mobile-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    --mobile-shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --mobile-radius: 10px;
    --mobile-radius-lg: 12px;
    --mobile-radius-full: 9999px;
    --mobile-header-height: 52px;
    --mobile-bottom-nav-height: 56px;
    --mobile-safe-area: env(safe-area-inset-bottom, 0px);
}

/* ==================== 基础重置 ==================== */
@media (max-width: 767.98px) {
    html {
        font-size: 14px;
        -webkit-tap-highlight-color: transparent;
    }
    
    body {
        background: var(--mobile-bg);
        padding-top: var(--mobile-header-height);
        padding-bottom: calc(var(--mobile-bottom-nav-height) + var(--mobile-safe-area));
        -webkit-font-smoothing: antialiased;
        font-size: 14px;
        line-height: 1.5;
    }
    
    /* 隐藏PC端元素 */
    .main-nav,
    .header-search,
    .site-footer {
        display: none !important;
    }
    
    /* 容器 */
    .container {
        padding: 0 12px;
        max-width: 100%;
    }
    
    /* 主内容区 */
    main {
        padding-top: 0 !important;
    }
}

/* ==================== 头部导航 ==================== */
@media (max-width: 767.98px) {
    .site-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: var(--mobile-header-height);
        background: #fff;
        border-bottom: 1px solid var(--mobile-border);
        z-index: 1000;
        box-shadow: var(--mobile-shadow);
    }
    
    .header-inner {
        height: var(--mobile-header-height);
        padding: 0 12px;
    }
    
    .logo img {
        height: 26px;
    }
    
    .mobile-menu-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        background: var(--mobile-bg);
        border-radius: 8px;
        border: none;
        cursor: pointer;
        transition: all 0.2s;
    }
    
    .mobile-menu-toggle:active {
        transform: scale(0.95);
        background: var(--mobile-border);
    }
    
    .hamburger {
        width: 16px;
        height: 2px;
        background: var(--mobile-text);
        border-radius: 2px;
        position: relative;
        transition: all 0.3s;
    }
    
    .hamburger::before,
    .hamburger::after {
        content: '';
        position: absolute;
        width: 16px;
        height: 2px;
        background: var(--mobile-text);
        border-radius: 2px;
        left: 0;
        transition: all 0.3s;
    }
    
    .hamburger::before { top: -5px; }
    .hamburger::after { top: 5px; }
    
    .mobile-menu-toggle.active .hamburger {
        background: transparent;
    }
    
    .mobile-menu-toggle.active .hamburger::before {
        top: 0;
        transform: rotate(45deg);
    }
    
    .mobile-menu-toggle.active .hamburger::after {
        top: 0;
        transform: rotate(-45deg);
    }
    
    /* 移动端菜单面板 */
    .mobile-menu {
        position: fixed !important;
        top: var(--mobile-header-height);
        right: 0;
        bottom: 0;
        width: 150px;
        background: #fff;
        z-index: 9999;
        transform: translateX(100%);
        transition: transform 0.25s ease-out;
        overflow-y: auto;
        padding: 0;
        display: flex !important;
        flex-direction: column;
        will-change: transform;
        box-shadow: -4px 0 12px rgba(0, 0, 0, 0.1);
    }
    
    .mobile-menu.active {
        transform: translateX(0);
    }
    
    .mobile-search {
        padding: 12px;
        background: var(--mobile-bg);
        border-bottom: 1px solid var(--mobile-border);
        display: flex;
        gap: 8px;
    }
    
    .mobile-search input {
        flex: 1;
        height: 40px;
        padding: 0 12px;
        border: 1px solid var(--mobile-border);
        border-radius: var(--mobile-radius);
        font-size: 14px;
        background: #fff;
    }
    
    .mobile-search button {
        width: 40px;
        height: 40px;
        background: var(--mobile-primary);
        color: #fff;
        border: none;
        border-radius: var(--mobile-radius);
        font-size: 14px;
    }
    
    .mobile-nav-list {
        padding: 8px 0;
    }
    
    .mobile-nav-list li {
        border: none;
    }
    
    .mobile-nav-list li a {
        display: flex;
        align-items: center;
        padding: 12px 16px;
        color: var(--mobile-text);
        text-decoration: none;
        font-size: 14px;
        font-weight: 500;
        transition: background 0.2s;
    }
    
    .mobile-nav-list li a:active {
        background: var(--mobile-bg);
    }
}

/* ==================== 底部导航栏 ==================== */
@media (max-width: 767.98px) {
    .mobile-bottom-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: calc(var(--mobile-bottom-nav-height) + var(--mobile-safe-area));
        padding-bottom: var(--mobile-safe-area);
        background: #fff;
        border-top: 1px solid var(--mobile-border);
        display: flex;
        justify-content: space-around;
        align-items: center;
        z-index: 1000;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
    }
    
    .mobile-bottom-nav .nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 4px 8px;
        color: var(--mobile-text-muted);
        text-decoration: none;
        font-size: 10px;
        gap: 2px;
        transition: color 0.2s;
        min-width: 44px;
    }
    
    .mobile-bottom-nav .nav-item .nav-icon {
        font-size: 20px;
        line-height: 1;
    }
    
    .mobile-bottom-nav .nav-item.active {
        color: var(--mobile-primary);
    }
    
    .mobile-bottom-nav .nav-item:active {
        opacity: 0.7;
    }
}

/* ==================== 页面Banner ==================== */
@media (max-width: 767.98px) {
    .list-banner {
        padding: 20px 12px !important;
        margin-top: 0 !important;
    }
    
    .list-banner .banner-content {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    
    .list-banner .banner-icon {
        font-size: 28px;
        line-height: 1;
    }
    
    .list-banner .banner-text h1 {
        font-size: 18px;
        font-weight: 700;
        margin-bottom: 2px;
    }
    
    .list-banner .banner-text p {
        font-size: 12px;
        opacity: 0.9;
        margin: 0;
    }
    
    .list-banner .banner-stats {
        display: flex;
        justify-content: center;
        gap: 12px;
        margin-top: 6px;
    }
    
    .list-banner .banner-stat {
        padding: 6px 14px;
        background: rgba(255, 255, 255, 0.15);
        border-radius: 8px;
        backdrop-filter: blur(10px);
    }
    
    .list-banner .stat-num {
        font-size: 16px;
        font-weight: 700;
    }
    
    .list-banner .stat-label {
        font-size: 10px;
        opacity: 0.8;
    }
}

/* ==================== 卡片样式 ==================== */
@media (max-width: 767.98px) {
    .card {
        background: var(--mobile-card-bg);
        border-radius: var(--mobile-radius);
        box-shadow: var(--mobile-shadow);
        margin-bottom: 10px;
        border: none;
        overflow: hidden;
    }
    
    .card-header {
        padding: 10px 12px;
        background: var(--mobile-bg);
        border-bottom: 1px solid var(--mobile-border);
        font-weight: 600;
        font-size: 13px;
    }
    
    .card-body {
        padding: 12px;
    }
    
    /* 空状态 */
    .empty-state {
        padding: 32px 16px;
        text-align: center;
    }
    
    .empty-icon {
        font-size: 36px;
        margin-bottom: 8px;
    }
    
    .empty-state h3 {
        font-size: 14px;
        color: var(--mobile-text);
        margin-bottom: 4px;
    }
    
    .empty-state p {
        font-size: 12px;
        color: var(--mobile-text-light);
        margin-bottom: 12px;
    }
}

/* ==================== 筛选区域 ==================== */
@media (max-width: 767.98px) {
    .filter-sidebar,
    .filter-card {
        background: var(--mobile-card-bg);
        border-radius: var(--mobile-radius);
        padding: 12px;
        margin-bottom: 10px;
        box-shadow: var(--mobile-shadow);
        border: none;
    }
    
    .filter-group {
        margin-bottom: 10px;
    }
    
    .filter-group:last-child {
        margin-bottom: 0;
    }
    
    .filter-label {
        font-size: 12px;
        font-weight: 600;
        color: var(--mobile-text);
        margin-bottom: 4px;
        display: block;
    }
    
    .filter-select,
    .filter-input {
        width: 100%;
        height: 38px;
        padding: 0 12px;
        border: 1px solid var(--mobile-border);
        border-radius: 8px;
        font-size: 13px;
        background: #fff;
        appearance: none;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 10px center;
    }
    
    .filter-select:focus,
    .filter-input:focus {
        outline: none;
        border-color: var(--mobile-primary);
        box-shadow: 0 0 0 2px var(--mobile-primary-light);
    }
    
    .filter-actions {
        display: flex;
        gap: 8px;
        margin-top: 12px;
    }
    
    .filter-actions .btn {
        flex: 1;
        height: 38px;
        font-size: 13px;
        font-weight: 600;
        border-radius: 8px;
    }
}

/* ==================== 按钮样式 ==================== */
@media (max-width: 767.98px) {
    .btn {
        height: 38px;
        padding: 0 16px;
        font-size: 13px;
        font-weight: 600;
        border-radius: 8px;
        border: none;
        cursor: pointer;
        transition: all 0.2s;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    .btn:active {
        transform: scale(0.98);
    }
    
    .btn-primary {
        background: linear-gradient(135deg, var(--mobile-primary), var(--mobile-primary-dark));
        color: #fff;
    }
    
    .btn-secondary {
        background: var(--mobile-bg);
        color: var(--mobile-text);
        border: 1px solid var(--mobile-border);
    }
    
    .btn-outline-primary {
        background: transparent;
        color: var(--mobile-primary);
        border: 1px solid var(--mobile-primary);
    }
    
    .btn-sm {
        height: 32px;
        padding: 0 12px;
        font-size: 12px;
    }
    
    .btn-block {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* ==================== 分页 ==================== */
@media (max-width: 767.98px) {
    .pagination {
        display: flex;
        justify-content: center;
        gap: 4px;
        padding: 12px 0;
    }
    
    .pagination li a,
    .pagination li span {
        min-width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1px solid var(--mobile-border);
        border-radius: 6px;
        font-size: 12px;
        color: var(--mobile-text);
        text-decoration: none;
    }
    
    .pagination li.active span {
        background: var(--mobile-primary);
        color: #fff;
        border-color: var(--mobile-primary);
    }
    
    .pagination li.disabled span {
        color: var(--mobile-text-muted);
    }
}

/* ==================== GEO AI答案块 ==================== */
@media (max-width: 767.98px) {
    .geo-answer-block {
        display: flex;
        flex-direction: column;
        gap: 6px;
        background: linear-gradient(135deg, #eff6ff, #dbeafe);
        border: 1px solid #93c5fd;
        border-radius: var(--mobile-radius);
        padding: 10px 12px;
        margin: 10px 0;
    }
    
    .geo-answer-header,
    .geo-header {
        display: flex;
        align-items: center;
        gap: 6px;
    }
    
    .geo-icon {
        font-size: 16px;
    }
    
    .geo-label {
        font-weight: 600;
        color: #1e40af;
        font-size: 12px;
    }
    
    .geo-content p {
        font-size: 12px;
        color: #374151;
        line-height: 1.5;
        margin: 0;
    }
}

/* ==================== 表格样式 ==================== */
@media (max-width: 767.98px) {
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin: 0 -12px;
        padding: 0 12px;
    }
    
    .table {
        width: 100%;
        min-width: 400px;
        border-collapse: collapse;
    }
    
    .table th,
    .table td {
        padding: 8px 10px;
        font-size: 12px;
        text-align: left;
        border-bottom: 1px solid var(--mobile-border);
    }
    
    .table th {
        background: var(--mobile-bg);
        font-weight: 600;
        color: var(--mobile-text);
        white-space: nowrap;
    }
    
    .table td {
        color: var(--mobile-text);
    }
}

/* ==================== 面包屑 ==================== */
@media (max-width: 767.98px) {
    .breadcrumb {
        padding: 12px 0 8px;
        font-size: 11px;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }
    
    .breadcrumb ol {
        display: inline-flex;
        flex-wrap: nowrap;
        margin: 0;
        padding: 0;
        list-style: none;
        gap: 4px;
    }
    
    .breadcrumb li {
        display: inline-flex;
        align-items: center;
        gap: 4px;
    }
    
    .breadcrumb li:not(:last-child)::after {
        content: '›';
        color: var(--mobile-text-muted);
    }
    
    .breadcrumb a {
        color: var(--mobile-text-light);
        text-decoration: none;
    }
}

/* ==================== 返回顶部 ==================== */
@media (max-width: 767.98px) {
    .back-to-top {
        bottom: calc(var(--mobile-bottom-nav-height) + var(--mobile-safe-area) + 12px);
        right: 12px;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: var(--mobile-primary);
        color: #fff;
        border: none;
        box-shadow: var(--mobile-shadow-lg);
    }
}

/* ==================== 首页手机端样式 - 协调统一版 ==================== */
@media (max-width: 767.98px) {
    
    /* === 首页整体 === */
    .homepage {
        padding-bottom: 56px;
        background: #f5f5f5;
    }
    
    .homepage > section {
        margin-bottom: 0;
    }
    
    .homepage .container {
        padding: 0 12px;
    }
    
    /* === Hero区域 === */
    .hero-section-new {
        padding: 16px 12px;
        background: linear-gradient(135deg, #1e40af, #3b82f6);
    }
    
    .hero-bg-shapes,
    .hero-visual {
        display: none !important;
    }
    
    .hero-content {
        gap: 0;
    }
    
    .hero-text {
        max-width: 100%;
    }
    
    .hero-badge {
        display: inline-block;
        background: rgba(255, 255, 255, 0.2);
        color: #fff;
        padding: 3px 10px;
        border-radius: 12px;
        font-size: 11px;
        margin-bottom: 8px;
    }
    
    .hero-title {
        font-size: 18px;
        font-weight: 700;
        color: #fff;
        margin-bottom: 6px;
        line-height: 1.3;
    }
    
    .hero-title .highlight {
        color: #fbbf24;
        background: none;
        -webkit-text-fill-color: #fbbf24;
    }
    
    .hero-desc {
        font-size: 12px;
        color: rgba(255,255,255,0.8);
        margin-bottom: 12px;
        line-height: 1.4;
    }
    
    .hero-desc strong {
        color: #fbbf24;
    }
    
    .hero-actions {
        display: flex;
        gap: 8px;
    }
    
    .btn-hero {
        flex: 1;
        padding: 10px 12px;
        font-size: 13px;
        border-radius: 8px;
        gap: 4px;
    }
    
    .btn-hero-primary {
        background: #fff;
        color: #1e40af;
    }
    
    .btn-hero-secondary {
        background: rgba(255,255,255,0.2);
        color: #fff;
        border: none;
    }
    
    .btn-icon {
        font-size: 14px;
    }
    
    /* === 统计数据 === */
    .stats-section-new {
        margin: 0;
        padding: 12px 0;
        background: #fff;
    }
    
    .stats-wrapper {
        display: flex;
        justify-content: space-around;
        gap: 0;
        padding: 0;
        margin: 0;
        background: transparent;
        box-shadow: none;
        border-radius: 0;
    }
    
    .stat-card {
        flex-direction: column;
        align-items: center;
        padding: 0;
        gap: 2px;
    }
    
    .stat-card:hover {
        background: transparent;
    }
    
    .stat-icon {
        font-size: 18px;
        margin-bottom: 2px;
    }
    
    .stat-info {
        text-align: center;
    }
    
    .stat-value {
        font-size: 16px;
        font-weight: 700;
        color: #1e40af;
        line-height: 1;
    }
    
    .stat-label {
        font-size: 11px;
        color: #666;
        margin-top: 2px;
    }
    
    /* === 快速搜索 === */
    .search-section-new {
        padding: 12px 0;
        background: #fff;
        border-top: 1px solid #eee;
    }
    
    .search-card-new {
        padding: 12px;
        background: #f8f9fa;
        border-radius: 8px;
        box-shadow: none;
    }
    
    .search-header {
        margin-bottom: 10px;
        text-align: left;
    }
    
    .search-header h2 {
        font-size: 14px;
        font-weight: 600;
        margin: 0;
        color: #333;
    }
    
    .search-header p {
        display: none;
    }
    
    .search-row {
        display: flex;
        gap: 8px;
    }
    
    .search-field {
        flex: 1;
        gap: 4px;
        min-width: 0;
    }
    
    .search-field label {
        font-size: 11px;
        color: #666;
        margin-bottom: 4px;
        display: block;
    }
    
    .field-icon {
        display: none;
    }
    
    .form-select-new {
        width: 100%;
        height: 44px;
        padding: 8px 12px;
        font-size: 13px;
        border-radius: 6px;
        border: 1px solid #ddd;
        line-height: 1.4;
        appearance: none;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 12px center;
        padding-right: 36px;
    }
    
    .search-btn-field {
        flex: 0 0 auto;
    }
    
    .btn-search-new {
        height: 44px;
        padding: 0 16px;
        font-size: 13px;
        border-radius: 6px;
        gap: 4px;
    }
    
    .btn-arrow {
        font-size: 12px;
    }
    
    /* === Section标题 === */
    .section-title-new {
        margin-bottom: 10px;
        padding: 12px 0 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    
    .section-title-new h2 {
        font-size: 15px;
        font-weight: 600;
        margin: 0;
        color: #333;
    }
    
    .section-title-new p {
        display: none;
    }
    
    .view-all-link {
        position: static;
        transform: none;
        font-size: 12px;
        color: #3b82f6;
    }
    
    /* === 热门医院 === */
    .hospitals-section-new {
        padding: 16px 0;
        background: #fff;
    }
    
    .hospitals-section-new .section-title-new {
        margin-bottom: 12px;
    }
    
    .hospitals-section-new .section-title-new h2 {
        font-size: 1rem;
    }
    
    .hospitals-grid-new {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .hospitals-grid-new::-webkit-scrollbar {
        display: none;
    }
    
    .hospital-card-new {
        background: #fff;
        border: 1px solid #e2e8f0;
        border-radius: 10px;
        overflow: hidden;
        display: flex;
        flex-direction: column;
    }
    
    .hospital-card-new:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        border-color: #3b82f6;
    }
    
    .hospital-card-top {
        padding: 10px 10px 6px;
    }
    
    .hospital-badges-new {
        gap: 4px;
        margin-bottom: 4px;
        flex-wrap: wrap;
    }
    
    .badge-new {
        padding: 2px 6px;
        font-size: 9px;
        border-radius: 4px;
    }
    
    .hospital-name-new {
        font-size: 0.8125rem;
        font-weight: 600;
        margin-bottom: 2px;
        line-height: 1.3;
    }
    
    .hospital-name-new a {
        color: #1e293b;
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    
    .hospital-location-new {
        font-size: 0.6875rem;
        color: #64748b;
    }
    
    .location-icon {
        display: none;
    }
    
    .hospital-card-middle {
        padding: 0 10px 6px;
        flex: 1;
    }
    
    .rating-box {
        padding: 8px 12px;
        gap: 8px;
        margin-bottom: 0;
        background: #f8fafc;
        border-radius: 8px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .rating-score {
        font-size: 1.125rem;
        font-weight: 700;
    }
    
    .rating-info {
        display: flex;
        flex-direction: column;
        gap: 0;
    }
    
    .rating-stars {
        font-size: 0.6875rem;
    }
    
    .rating-count {
        font-size: 0.625rem;
    }
    
    .hospital-desc-new {
        display: none;
    }
    
    .hospital-card-bottom {
        padding: 6px 10px 10px;
    }
    
    .btn-view-new {
        padding: 8px 0;
        font-size: 0.75rem;
        border-radius: 6px;
        background: #3b82f6;
        color: #fff;
    }
    
    /* === 手术方式 === */
    .procedures-section-new {
        padding: 12px 0;
        background: #f5f5f5;
    }
    
    .procedures-grid-new {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 0;
        margin: 0;
    }
    
    .procedures-grid-new::-webkit-scrollbar {
        display: none;
    }
    
    .procedure-card-new {
        padding: 12px 10px;
        border-radius: 10px;
        text-align: center;
    }
    
    .procedure-card-new:hover {
        transform: translateY(-2px);
    }
    
    .procedure-icon-new {
        width: 40px;
        height: 40px;
        border-radius: 10px;
        font-size: 1.5rem;
        margin: 0 auto 8px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .procedure-name-new {
        font-size: 0.9375rem;
        font-weight: 600;
        margin-bottom: 2px;
    }
    
    .procedure-alias-new {
        font-size: 0.6875rem;
        margin-bottom: 8px;
        color: #94a3b8;
    }
    
    .procedure-price-new,
    .procedure-degree-new {
        margin-bottom: 4px;
    }
    
    .price-label,
    .degree-label {
        font-size: 0.625rem;
    }
    
    .price-value {
        font-size: 0.8125rem;
        font-weight: 600;
    }
    
    .degree-value {
        font-size: 0.6875rem;
    }
    
    .btn-procedure-new {
        margin-top: 8px;
        padding: 6px 12px;
        font-size: 0.75rem;
        border-radius: 6px;
    }
    
    /* === 评价 === */
    .reviews-section-new {
        padding: 12px 0;
        background: #fff;
    }
    
    .reviews-grid-new {
        display: flex;
        gap: 10px;
        overflow-x: auto;
        padding: 0 12px 4px;
        margin: 0 -12px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    
    .reviews-grid-new::-webkit-scrollbar {
        display: none;
    }
    
    .review-card-new {
        flex: 0 0 200px;
        padding: 10px;
        border-radius: 8px;
        background: #f8f9fa;
    }
    
    .review-header-new {
        margin-bottom: 6px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .review-hospital-new {
        font-size: 12px;
        font-weight: 600;
    }
    
    .badge-verified {
        padding: 2px 6px;
        font-size: 10px;
        border-radius: 4px;
    }
    
    .review-rating-new {
        margin-bottom: 4px;
    }
    
    .rating-stars-new {
        font-size: 12px;
    }
    
    .rating-number-new {
        font-size: 12px;
        margin-left: 4px;
    }
    
    .review-title-new {
        font-size: 13px;
        margin-bottom: 4px;
        line-height: 1.3;
    }
    
    .review-content-new {
        font-size: 12px;
        line-height: 1.4;
        margin-bottom: 6px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        font-style: normal;
        color: #666;
    }
    
    .review-footer-new {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .procedure-tag-new {
        padding: 2px 8px;
        font-size: 10px;
        border-radius: 4px;
    }
    
    .review-date-new {
        font-size: 11px;
        color: #999;
    }
    
    /* === 热门城市 === */
    .cities-section-new {
        padding: 16px 0;
        background: #f8fafc;
    }
    
    .cities-grid-new {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 6px;
    }
    
    .city-card-new {
        padding: 8px 4px;
        border-radius: 6px;
        background: #fff;
        border: 1px solid #e2e8f0;
        flex-direction: column;
        text-align: center;
        gap: 0;
    }
    
    .city-card-new:hover {
        background: #3b82f6;
        border-color: #3b82f6;
        transform: none;
        box-shadow: none;
    }
    
    .city-name-new {
        font-size: 11px;
        font-weight: 500;
    }
    
    .city-card-new:hover .city-name-new {
        color: #fff;
    }
    
    .city-arrow {
        display: none;
    }
    
    /* === 为什么选择我们 - 隐藏 === */
    .why-us-section-new {
        display: none;
    }
}

/* ==================== 医院详情页手机端样式 ==================== */
@media (max-width: 767.98px) {
    .hospital-detail-page {
        padding: 0 0 40px;
        overflow-x: hidden;
    }
    
    .hospital-detail-page .container {
        padding: 0 12px;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    /* 医院信息卡片 */
    .hospital-profile-card {
        padding: 16px 12px;
        border-radius: 0;
        margin: 0 -12px 12px;
        width: calc(100% + 24px);
        margin-left: -12px;
        margin-right: -12px;
    }
    
    .profile-header {
        flex-direction: column;
        gap: 12px;
    }
    
    .profile-main {
        width: 100%;
    }
    
    .profile-badges {
        display: flex;
        flex-wrap: wrap;
        gap: 4px;
        margin-bottom: 8px;
    }
    
    .level-badge,
    .type-badge,
    .star-badge {
        padding: 3px 8px;
        font-size: 11px;
        border-radius: 4px;
        white-space: nowrap;
        color: #fff;
    }
    
    .level-badge {
        background: rgba(255, 255, 255, 0.2);
    }
    
    .type-badge {
        background: rgba(255, 255, 255, 0.15);
    }
    
    .star-badge {
        background: linear-gradient(135deg, #fbbf24, #f59e0b);
    }
    
    .hospital-title {
        font-size: 18px;
        margin-bottom: 8px;
        line-height: 1.3;
        word-break: break-word;
    }
    
    .profile-rating {
        flex-wrap: wrap;
        gap: 6px;
        align-items: center;
    }
    
    .profile-rating .rating-score {
        font-size: 24px;
    }
    
    .profile-rating .rating-stars .star {
        font-size: 14px;
    }
    
    .profile-rating .rating-count {
        font-size: 12px;
        width: 100%;
    }
    
    .profile-contact {
        gap: 6px;
        width: 100%;
    }
    
    .contact-item {
        font-size: 12px;
        gap: 4px;
        word-break: break-all;
    }
    
    .contact-icon {
        font-size: 14px;
        flex-shrink: 0;
    }
    
    /* 布局 */
    .hospital-detail-layout {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .hospital-main {
        width: 100%;
        min-width: 0;
    }
    
    .hospital-sidebar {
        order: 0;
        gap: 10px;
        width: 100%;
        min-width: 0;
    }
    
    /* GEO答案块 */
    .geo-answer-block {
        padding: 10px 12px;
        border-radius: 8px;
        margin-bottom: 12px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .geo-header {
        margin-bottom: 6px;
    }
    
    .geo-icon {
        font-size: 1rem;
    }
    
    .geo-label {
        font-size: 12px;
    }
    
    .geo-content {
        font-size: 12px;
        line-height: 1.5;
        word-break: break-word;
    }
    
    .geo-content p {
        margin: 0;
    }
    
    .geo-content strong {
        font-size: 12px;
    }
    
    /* 详情区块 */
    .detail-section {
        padding: 12px;
        border-radius: 10px;
        margin-bottom: 12px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .section-header {
        margin-bottom: 10px;
        padding-bottom: 10px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    
    .section-header h2 {
        font-size: 14px;
        margin: 0;
    }
    
    .section-count {
        padding: 2px 8px;
        font-size: 11px;
    }
    
    /* 手术方式 */
    .procedures-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .procedure-card {
        padding: 10px;
        border-radius: 8px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .procedure-header {
        margin-bottom: 6px;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 6px;
    }
    
    .procedure-name {
        font-size: 13px;
    }
    
    .procedure-alias {
        font-size: 11px;
    }
    
    .procedure-price {
        margin-bottom: 4px;
        display: flex;
        flex-wrap: wrap;
        gap: 4px;
        align-items: center;
    }
    
    .price-label {
        font-size: 11px;
    }
    
    .price-value {
        font-size: 13px;
    }
    
    .procedure-equipment {
        font-size: 11px;
        word-break: break-word;
    }
    
    /* 医生网格 */
    .doctors-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .doctor-card {
        padding: 10px;
        gap: 10px;
        border-radius: 8px;
        width: 100%;
        box-sizing: border-box;
        text-decoration: none;
        color: inherit;
    }
    
    .doctor-card:active {
        transform: scale(0.98);
    }
    
    .doctor-avatar {
        width: 44px;
        height: 44px;
        flex-shrink: 0;
    }
    
    .avatar-placeholder {
        font-size: 1.125rem;
    }
    
    .doctor-info {
        flex: 1;
        min-width: 0;
    }
    
    .doctor-name {
        font-size: 13px;
    }
    
    .doctor-title {
        font-size: 11px;
        margin-bottom: 2px;
    }
    
    .doctor-specialty {
        font-size: 11px;
        margin-bottom: 2px;
        word-break: break-word;
    }
    
    .doctor-stats {
        gap: 6px;
        font-size: 10px;
        flex-wrap: wrap;
    }
    
    /* 评价列表 */
    .reviews-list {
        gap: 10px;
    }
    
    .review-card {
        padding: 12px;
        border-radius: 8px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .review-header {
        margin-bottom: 8px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .reviewer-info {
        gap: 6px;
        display: flex;
        align-items: center;
        flex-wrap: wrap;
    }
    
    .reviewer-name {
        font-size: 12px;
    }
    
    .review-procedure {
        padding: 2px 6px;
        font-size: 10px;
    }
    
    .review-rating .rating-stars {
        font-size: 12px;
    }
    
    .review-title {
        font-size: 13px;
        margin-bottom: 4px;
    }
    
    .review-content {
        font-size: 12px;
        line-height: 1.5;
        word-break: break-word;
    }
    
    .review-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        margin-top: 8px;
        padding-top: 8px;
        font-size: 11px;
    }
    
    .empty-reviews {
        padding: 24px;
        font-size: 12px;
    }
    
    /* 分页 */
    .pagination-nav {
        margin-top: 12px;
        overflow-x: auto;
    }
    
    .pagination-nav nav {
        width: max-content;
        min-width: 100%;
    }
    
    .pagination ul {
        display: flex;
        gap: 4px;
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    .pagination li {
        flex-shrink: 0;
    }
    
    .pagination a,
    .pagination span {
        display: block;
        padding: 6px 10px;
        font-size: 12px;
        border-radius: 4px;
    }
    
    /* 侧边栏 */
    .sidebar-card {
        border-radius: 10px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .sidebar-header {
        padding: 10px 12px;
    }
    
    .sidebar-header h3 {
        font-size: 13px;
        margin: 0;
    }
    
    .sidebar-body {
        padding: 10px;
    }
    
    .hospital-description {
        font-size: 12px;
        line-height: 1.5;
        margin-bottom: 10px;
        word-break: break-word;
    }
    
    .hospital-facilities h4 {
        font-size: 12px;
        margin: 10px 0 6px 0;
    }
    
    .facilities-list li {
        padding: 4px 0;
        font-size: 12px;
    }
    
    .hospital-stats {
        gap: 8px;
        padding-top: 10px;
        margin-top: 10px;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stat-item {
        text-align: center;
    }
    
    .stat-label {
        font-size: 11px;
    }
    
    .stat-value {
        font-size: 13px;
    }
    
    /* 快速操作 */
    .action-card .sidebar-body {
        gap: 6px;
        display: flex;
        flex-direction: column;
    }
    
    .action-btn {
        padding: 10px;
        border-radius: 6px;
        font-size: 12px;
        display: flex;
        align-items: center;
        gap: 8px;
        text-decoration: none;
    }
    
    .btn-icon {
        font-size: 14px;
    }
    
    /* 快速链接 */
    .sidebar-link {
        padding: 8px 10px;
        border-radius: 6px;
        font-size: 12px;
        display: flex;
        align-items: center;
        gap: 8px;
    }
    
    .sidebar-link .link-icon {
        font-size: 1rem;
    }
    
    .sidebar-link .link-arrow {
        margin-left: auto;
    }
}

/* ==================== 医生列表页手机端样式 ==================== */
@media (max-width: 767.98px) {
    /* 布局 */
    .row {
        flex-direction: column;
    }
    
    .col-lg-3,
    .col-lg-9 {
        width: 100%;
        max-width: 100%;
        padding: 0;
    }
    
    /* 筛选侧边栏 */
    .filter-sidebar {
        margin-bottom: 12px;
        border-radius: 10px;
    }
    
    .filter-sidebar .card-header {
        padding: 10px 12px;
    }
    
    .filter-sidebar .card-header h3 {
        font-size: 13px;
    }
    
    .filter-sidebar .card-body {
        padding: 10px;
    }
    
    .filter-group {
        margin-bottom: 8px;
    }
    
    .filter-group .form-label {
        font-size: 12px;
        margin-bottom: 4px;
    }
    
    .filter-group .form-control {
        height: 36px;
        padding: 0 10px;
        font-size: 13px;
        border-radius: 6px;
    }
    
    /* 医生列表 */
    .col-lg-9 > .d-flex {
        margin-bottom: 10px;
    }
    
    .col-lg-9 > .d-flex h2 {
        font-size: 14px;
    }
    
    .doctor-list-item {
        margin-bottom: 10px;
        border-radius: 10px;
    }
    
    .doctor-list-item .card-body {
        padding: 12px;
    }
    
    .doctor-list-item .row {
        flex-direction: column;
    }
    
    .doctor-list-item .col-md-8,
    .doctor-list-item .col-md-4 {
        width: 100%;
        max-width: 100%;
    }
    
    .doctor-name {
        font-size: 13px;
        margin-bottom: 4px;
    }
    
    .doctor-name small {
        display: block;
        margin-top: 2px;
    }
    
    .doctor-hospital {
        font-size: 12px;
        margin-bottom: 4px;
    }
    
    .doctor-specialty {
        font-size: 12px;
        margin-bottom: 4px;
    }
    
    .doctor-stats {
        font-size: 11px;
    }
    
    .doctor-stats .ms-3 {
        margin-left: 10px !important;
    }
    
    .doctor-rating {
        margin-top: 6px;
        font-size: 12px;
    }
    
    .doctor-action {
        margin-top: 12px;
        text-align: left;
    }
    
    .doctor-action .btn {
        width: 100%;
        padding: 10px;
        font-size: 13px;
    }
    
    .doctor-action .mt-2 {
        margin-top: 6px;
        font-size: 11px;
    }
    
    /* 分页 */
    .pagination {
        flex-wrap: wrap;
        justify-content: center;
        gap: 4px;
    }
    
    .pagination .page-link {
        padding: 6px 10px;
        font-size: 12px;
    }
}

/* ==================== 医生详情页手机端样式 ==================== */
@media (max-width: 767.98px) {
    .doctor-detail-page {
        padding: 12px 0 60px;
        overflow-x: hidden;
    }
    
    .doctor-detail-page .container {
        padding: 0 12px;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    /* 面包屑 - 避免被导航遮住 */
    .doctor-detail-page .breadcrumb {
        margin-top: 0;
        padding-top: 12px;
        padding-bottom: 8px;
    }
    
    /* 布局 */
    .doctor-layout {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .doctor-sidebar {
        order: 0;
        gap: 10px;
    }
    
    /* 医生信息卡片 */
    .doctor-profile-card {
        border-radius: 12px;
        margin-bottom: 12px;
        overflow: hidden;
    }
    
    .profile-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 16px 12px;
        gap: 10px;
    }
    
    .doctor-avatar-img {
        width: 72px;
        height: 72px;
        border-radius: 10px;
    }
    
    .doctor-avatar-placeholder {
        width: 72px;
        height: 72px;
        border-radius: 10px;
        font-size: 2rem;
    }
    
    .doctor-basic-info {
        width: 100%;
    }
    
    .doctor-title-row {
        flex-direction: column;
        gap: 6px;
    }
    
    .doctor-name-new {
        font-size: 1.125rem;
    }
    
    .doctor-title-badge {
        padding: 3px 10px;
        font-size: 11px;
    }
    
    .doctor-hospital-link {
        justify-content: center;
        font-size: 12px;
        margin-bottom: 4px;
    }
    
    .doctor-education {
        justify-content: center;
        font-size: 11px;
    }
    
    /* 统计数据 */
    .doctor-stats-row {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stat-box {
        padding: 10px 12px;
        gap: 8px;
    }
    
    .stat-icon {
        font-size: 1.25rem;
    }
    
    .stat-content {
        text-align: left;
    }
    
    .stat-number {
        font-size: 1.125rem;
    }
    
    .stat-label {
        font-size: 11px;
    }
    
    /* AI摘要 */
    .ai-summary-section {
        padding: 12px 16px;
    }
    
    .ai-summary-header {
        margin-bottom: 6px;
    }
    
    .ai-icon {
        font-size: 1rem;
    }
    
    .ai-title {
        font-size: 12px;
    }
    
    .ai-summary-content {
        font-size: 12px;
        line-height: 1.5;
    }
    
    /* 区块卡片 */
    .doctor-section-card {
        border-radius: 10px;
        margin-bottom: 12px;
    }
    
    .section-header {
        padding: 10px 12px;
    }
    
    .section-header h2 {
        font-size: 14px;
    }
    
    .review-count-badge {
        padding: 2px 8px;
        font-size: 11px;
    }
    
    .section-body {
        padding: 12px;
    }
    
    /* 医生简介 */
    .profile-text {
        font-size: 12px;
        line-height: 1.6;
    }
    
    /* 擅长术式 */
    .specialties-tags {
        gap: 6px;
        margin-bottom: 12px;
    }
    
    .specialty-tag {
        padding: 4px 10px;
        font-size: 12px;
    }
    
    .surgery-count-section h4 {
        font-size: 12px;
        margin-bottom: 8px;
    }
    
    .surgery-count-grid {
        grid-template-columns: 1fr;
        gap: 6px;
    }
    
    .surgery-count-item {
        padding: 8px 12px;
        border-radius: 6px;
    }
    
    .proc-name {
        font-size: 12px;
    }
    
    .proc-count {
        font-size: 12px;
    }
    
    /* 评价列表 - 修复重复评分问题 */
    .reviews-list {
        gap: 10px;
    }
    
    .review-card-item {
        padding: 12px;
        border-radius: 8px;
    }
    
    .review-card-header {
        margin-bottom: 8px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .reviewer-info {
        gap: 6px;
        display: flex;
        align-items: center;
    }
    
    .reviewer-avatar {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    
    .reviewer-name {
        font-size: 12px;
    }
    
    .procedure-badge {
        padding: 2px 6px;
        font-size: 10px;
    }
    
    .review-rating-box {
        gap: 4px;
        display: flex;
        align-items: center;
    }
    
    .review-rating-box .rating-stars {
        font-size: 12px;
        color: var(--mobile-warning);
    }
    
    .review-rating-box .rating-num {
        font-size: 12px;
        color: var(--mobile-warning);
        font-weight: 600;
    }
    
    .review-title-new {
        font-size: 13px;
        margin-bottom: 4px;
    }
    
    .review-content-new {
        font-size: 12px;
        line-height: 1.5;
        margin-bottom: 8px;
    }
    
    .review-meta-new {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        font-size: 11px;
        color: var(--mobile-text-muted);
    }
    
    /* 空状态 */
    .empty-state {
        padding: 24px;
    }
    
    .empty-icon {
        font-size: 2rem;
        margin-bottom: 8px;
    }
    
    /* 侧边栏 */
    .sidebar-card {
        border-radius: 10px;
    }
    
    .sidebar-card-header {
        padding: 10px 12px;
    }
    
    .sidebar-card-header h3 {
        font-size: 13px;
    }
    
    .sidebar-card-body {
        padding: 12px;
    }
    
    /* 医院信息 */
    .hospital-info-box h4 {
        font-size: 14px;
        margin-bottom: 8px;
    }
    
    .hospital-location {
        font-size: 12px;
        margin-bottom: 4px;
    }
    
    .hospital-address {
        font-size: 12px;
        margin-bottom: 8px;
    }
    
    .hospital-phone {
        margin-bottom: 10px;
        font-size: 12px;
    }
    
    .view-hospital-btn {
        padding: 8px;
        font-size: 12px;
        border-radius: 6px;
    }
    
    /* 快速链接 */
    .quick-links {
        gap: 4px;
    }
    
    .quick-link-item {
        padding: 8px 10px;
        border-radius: 6px;
        font-size: 12px;
    }
    
    .quick-link-item .link-icon {
        font-size: 1rem;
    }
    
    /* 快速链接网格 - 主内容区 */
    .quick-links-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .quick-link-box {
        padding: 12px 10px;
        border-radius: 8px;
    }
    
    .quick-link-box .link-icon {
        font-size: 1.25rem;
        margin-bottom: 4px;
    }
    
    .quick-link-box .link-text {
        font-size: 12px;
    }
    
    /* 温馨提示 - 主内容区 */
    .tip-section .section-body {
        padding: 12px;
    }
    
    .tip-list-main li {
        padding: 8px 0;
        font-size: 12px;
    }
    
    /* 温馨提示 */
    .tip-list li {
        padding: 6px 0;
        font-size: 12px;
    }
}

/* ==================== 医生列表页手机端样式 ==================== */
@media (max-width: 767.98px) {
    .doctor-list-page {
        padding: 0 0 60px;
        overflow-x: hidden;
        width: 100%;
    }
    
    .doctor-list-page .container {
        padding: 0 12px;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
    }
    
    /* Banner */
    .doctor-banner {
        padding: 16px 12px !important;
        margin: 0 !important;
    }
    
    .doctor-banner .banner-content {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    
    .doctor-banner .banner-icon {
        font-size: 1.5rem;
    }
    
    .doctor-banner h1 {
        font-size: 16px;
        margin-bottom: 2px;
    }
    
    .doctor-banner .banner-text p {
        font-size: 11px;
        margin: 0;
    }
    
    .doctor-banner .banner-stats {
        gap: 12px;
    }
    
    .doctor-banner .stat-num {
        font-size: 16px;
    }
    
    .doctor-banner .stat-label {
        font-size: 10px;
    }
    
    /* GEO答案块 */
    .doctor-list-page .geo-answer-block {
        padding: 10px 12px;
        border-radius: 8px;
        margin: 12px 0;
        gap: 8px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .doctor-list-page .geo-icon {
        font-size: 14px;
    }
    
    .doctor-list-page .geo-content strong {
        font-size: 12px;
    }
    
    .doctor-list-page .geo-content p {
        font-size: 11px;
        line-height: 1.4;
    }
    
    /* 布局 */
    .doctor-list-page .row {
        flex-direction: column;
        margin: 0;
    }
    
    .doctor-list-page .col-lg-3,
    .doctor-list-page .col-lg-9 {
        width: 100%;
        max-width: 100%;
        padding: 0;
    }
    
    /* 筛选侧边栏 */
    .filter-sidebar {
        margin-bottom: 12px;
        border-radius: 10px;
        overflow: hidden;
        width: 100%;
        box-sizing: border-box;
    }
    
    .filter-sidebar .card-header {
        padding: 10px 12px;
    }
    
    .filter-sidebar .card-header h3 {
        font-size: 13px;
        margin: 0;
    }
    
    .filter-sidebar .card-body {
        padding: 10px;
    }
    
    .filter-group {
        margin-bottom: 8px;
    }
    
    .filter-group:last-of-type {
        margin-bottom: 0;
    }
    
    .filter-group .form-label {
        font-size: 11px;
        margin-bottom: 3px;
    }
    
    .filter-group .form-control {
        font-size: 13px;
        padding: 8px 10px;
        height: 38px;
        border-radius: 6px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .filter-actions {
        display: flex;
        gap: 6px;
        margin-top: 10px;
    }
    
    .filter-actions .btn {
        flex: 1;
        font-size: 12px;
        padding: 8px;
        height: 36px;
    }
    
    /* 列表标题 */
    .col-lg-9 > .d-flex {
        margin-bottom: 10px;
    }
    
    .col-lg-9 > .d-flex h2 {
        font-size: 14px;
    }
    
    .col-lg-9 > .d-flex .badge {
        font-size: 10px;
        padding: 3px 6px;
    }
    
    /* 医生卡片 - 重新设计 */
    .doctor-list-item {
        margin-bottom: 10px;
        border-radius: 10px;
        border: 1px solid #e2e8f0;
        box-shadow: none;
        background: #fff;
        width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }
    
    .doctor-list-item .card-body {
        padding: 12px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .doctor-list-item .row {
        flex-direction: column;
        gap: 0;
        margin: 0;
    }
    
    .doctor-list-item .col-md-8,
    .doctor-list-item .col-md-4 {
        width: 100%;
        padding: 0;
    }
    
    /* 医生姓名行 */
    .doctor-list-item .doctor-name {
        font-size: 14px;
        margin-bottom: 6px;
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 6px;
    }
    
    .doctor-list-item .doctor-name a {
        color: #1e293b;
        text-decoration: none;
        font-weight: 600;
    }
    
    .doctor-list-item .doctor-name small {
        font-size: 11px;
        color: #64748b;
        font-weight: normal;
    }
    
    /* 医院信息 */
    .doctor-list-item .doctor-hospital {
        font-size: 12px;
        margin-bottom: 6px;
        display: flex;
        align-items: center;
        gap: 4px;
        flex-wrap: wrap;
    }
    
    .doctor-list-item .doctor-hospital a {
        color: #3b82f6;
    }
    
    /* 擅长术式 */
    .doctor-list-item .doctor-specialty {
        font-size: 11px;
        margin-bottom: 6px;
        color: #64748b;
        line-height: 1.4;
    }
    
    /* 统计数据 */
    .doctor-list-item .doctor-stats {
        font-size: 11px;
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-bottom: 6px;
    }
    
    .doctor-list-item .doctor-stats span {
        white-space: nowrap;
        color: #475569;
    }
    
    .doctor-list-item .doctor-stats .ms-3 {
        margin-left: 0 !important;
    }
    
    /* 评分 */
    .doctor-list-item .doctor-rating {
        font-size: 12px;
        margin-top: 4px;
        display: flex;
        align-items: center;
        gap: 4px;
    }
    
    .doctor-list-item .doctor-rating small {
        font-size: 10px;
        color: #64748b;
    }
    
    /* 操作按钮 */
    .doctor-action {
        margin-top: 10px;
        padding-top: 10px;
        border-top: 1px solid #f1f5f9;
    }
    
    .doctor-action .btn {
        width: 100%;
        font-size: 13px;
        padding: 10px;
        border-radius: 8px;
        display: block;
        text-align: center;
    }
    
    .doctor-action p {
        font-size: 10px;
        margin-top: 4px;
        text-align: center;
        color: #94a3b8;
    }
    
    /* 分页 */
    .doctor-list-page .pagination {
        gap: 4px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .doctor-list-page .pagination .page-link,
    .doctor-list-page .pagination a,
    .doctor-list-page .pagination span {
        padding: 6px 10px;
        font-size: 12px;
        min-width: 32px;
        text-align: center;
    }
}

/* ==================== 城市列表页手机端样式 ==================== */
@media (max-width: 767.98px) {
    .cities-page {
        padding-bottom: 60px;
    }
    
    .cities-page .container {
        padding: 0 12px;
    }
    
    .cities-page .list-banner {
        padding: 20px 12px !important;
    }
    
    /* 搜索卡片 */
    .cities-filter-card {
        padding: 12px;
        margin: -20px 12px 16px;
        border-radius: 10px;
        position: relative;
        z-index: 10;
    }
    
    .cities-search-form {
        flex-direction: column;
        gap: 8px;
    }
    
    .search-input-wrapper {
        width: 100%;
        position: relative;
    }
    
    .search-input-wrapper .search-icon {
        left: 12px;
        font-size: 14px;
    }
    
    .search-input-wrapper input {
        width: 100%;
        padding: 12px 12px 12px 36px;
        font-size: 14px;
        border-radius: 8px;
        border: 1px solid #e2e8f0;
        height: 44px;
        box-sizing: border-box;
    }
    
    .filter-type-select {
        width: 100%;
        padding: 12px;
        font-size: 14px;
        border-radius: 8px;
        border: 1px solid #e2e8f0;
        height: 44px;
        box-sizing: border-box;
        background-color: #fff;
        appearance: none;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 12px center;
        padding-right: 36px;
    }
    
    .search-btn {
        width: 100%;
        padding: 12px 20px;
        font-size: 14px;
        border-radius: 8px;
        height: 44px;
    }
    
    /* 热门城市 - 紧凑布局 */
    .hot-cities-section {
        margin-bottom: 12px;
    }
    
    .section-header {
        margin-bottom: 8px;
        gap: 6px;
    }
    
    .section-header h2 {
        font-size: 14px;
        font-weight: 600;
    }
    
    .section-badge {
        padding: 2px 6px;
        font-size: 10px;
    }
    
    .hot-cities-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 6px;
    }
    
    .hot-city-card {
        padding: 8px 4px;
        border-radius: 6px;
        border-width: 1px;
        min-height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .hot-city-card:active {
        background: #f8fafc;
        transform: scale(0.98);
    }
    
    .hot-city-icon {
        font-size: 0.875rem;
        margin-bottom: 2px;
    }
    
    .hot-city-name {
        font-size: 10px;
        text-align: center;
        line-height: 1.2;
    }
    
    .hot-city-arrow {
        display: none;
    }
    
    /* 省份区域 */
    .province-section {
        margin-bottom: 16px;
    }
    
    .province-header {
        margin-bottom: 8px;
        padding-bottom: 8px;
    }
    
    .province-title {
        font-size: 14px;
        font-weight: 600;
    }
    
    .province-count {
        font-size: 11px;
    }
    
    .city-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .city-card {
        padding: 12px 10px;
        border-radius: 8px;
        border-width: 1px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        min-height: 56px;
    }
    
    .city-card:active {
        background: #f8fafc;
        transform: scale(0.98);
    }
    
    .city-card .city-name {
        font-size: 13px;
        font-weight: 500;
    }
    
    .city-card .city-count {
        font-size: 10px;
    }
    
    .city-card .city-arrow {
        display: none;
    }
}

/* ==================== 城市详情页手机端样式 ==================== */
@media (max-width: 767.98px) {
    .city-page-new {
        padding-bottom: 20px;
    }
    
    /* Hero区域 - 紧凑 */
    .city-hero {
        padding: 16px 12px 36px !important;
    }
    
    .city-breadcrumb {
        margin-bottom: 8px;
        font-size: 11px;
    }
    
    .city-breadcrumb a,
    .city-breadcrumb .separator,
    .city-breadcrumb .current {
        font-size: 11px;
    }
    
    .city-title {
        font-size: 1.25rem !important;
        margin-bottom: 4px !important;
        line-height: 1.3;
    }
    
    .city-subtitle {
        font-size: 11px !important;
        line-height: 1.4;
    }
    
    /* 筛选区域 - 紧凑 */
    .city-filter-section {
        margin-top: -18px !important;
        padding-bottom: 12px !important;
    }
    
    .filter-card {
        padding: 10px !important;
        border-radius: 8px !important;
    }
    
    .filter-row {
        flex-direction: column;
        gap: 8px !important;
    }
    
    .filter-item {
        gap: 4px !important;
    }
    
    .filter-item label {
        font-size: 11px !important;
        margin-bottom: 0;
    }
    
    .filter-select {
        padding: 8px 28px 8px 10px !important;
        font-size: 12px !important;
        min-width: auto !important;
        border-radius: 6px !important;
        background-position: right 8px center !important;
    }
    
    .filter-reset {
        padding: 8px 12px !important;
        font-size: 12px !important;
        border-radius: 6px !important;
        text-align: center;
    }
    
    /* 医院列表 - 重新设计卡片 */
    .city-hospitals-section {
        padding: 0 0 16px !important;
    }
    
    .hospitals-grid-city {
        grid-template-columns: 1fr;
        gap: 10px !important;
    }
    
    .hospital-card-city {
        border-radius: 10px !important;
        border: 1px solid #e2e8f0 !important;
        background: #fff;
        overflow: hidden;
        width: 100%;
        box-sizing: border-box;
    }
    
    .hospital-card-header {
        padding: 12px !important;
        border-bottom: none !important;
    }
    
    .hospital-badges {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 4px !important;
        margin-bottom: 8px !important;
        align-items: center !important;
    }
    
    .hospital-badges .badge {
        padding: 2px 6px !important;
        font-size: 10px !important;
        border-radius: 4px !important;
        white-space: nowrap !important;
    }
    
    .hospital-badges .badge-star {
        color: #f59e0b;
        background: #fef3c7;
    }
    
    .hospital-badges .badge-level {
        color: #1e40af;
        background: #dbeafe;
    }
    
    .hospital-badges .badge-type {
        color: #64748b;
        background: #f1f5f9;
    }
    
    .hospital-badges .badge-rating {
        color: #f59e0b;
        background: #fffbeb;
        font-weight: 600;
    }
    
    .hospital-badges .badge-reviews {
        color: #64748b;
        background: #f1f5f9;
    }
    
    .hospital-name {
        font-size: 15px !important;
        margin-bottom: 6px !important;
        line-height: 1.4 !important;
        font-weight: 600;
    }
    
    .hospital-name a {
        color: #1e293b !important;
        text-decoration: none;
    }
    
    .hospital-address {
        display: flex !important;
        align-items: flex-start !important;
        font-size: 12px !important;
        gap: 4px !important;
        line-height: 1.4 !important;
        color: #64748b !important;
    }
    
    .hospital-address .icon {
        font-size: 12px !important;
        flex-shrink: 0 !important;
    }
    
    .hospital-card-body {
        padding: 0 12px 12px !important;
    }
    
    .hospital-procedures {
        margin-bottom: 8px !important;
    }
    
    .procedure-tags {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 4px !important;
    }
    
    .procedure-tag {
        padding: 3px 8px !important;
        font-size: 11px !important;
        border-radius: 4px !important;
        white-space: nowrap !important;
        background: #f1f5f9;
        color: #475569;
    }
    
    .procedure-tag.more {
        background: #dbeafe;
        color: #1e40af;
    }
    
    .hospital-phone {
        display: flex !important;
        align-items: center !important;
        font-size: 12px !important;
        gap: 4px !important;
        color: #3b82f6 !important;
    }
    
    .hospital-phone .icon {
        font-size: 12px;
    }
    
    .hospital-card-footer {
        padding: 10px 12px !important;
        background: #f8fafc !important;
        border-top: 1px solid #f1f5f9;
    }
    
    .btn-view {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 10px !important;
        font-size: 13px !important;
        border-radius: 8px !important;
        gap: 4px !important;
        background: #3b82f6;
        color: #fff !important;
        text-decoration: none;
        font-weight: 500;
    }
    
    .btn-view .arrow {
        font-size: 12px !important;
    }
    
    /* 空状态 */
    .empty-state {
        padding: 30px 16px !important;
        border-radius: 8px !important;
    }
    
    .empty-icon {
        font-size: 2rem !important;
        margin-bottom: 8px !important;
    }
    
    .empty-state h3 {
        font-size: 13px !important;
        margin-bottom: 4px !important;
    }
    
    .empty-state p {
        font-size: 11px !important;
        margin-bottom: 12px !important;
    }
    
    /* 分页 - 紧凑 */
    .pagination-wrapper {
        flex-direction: column;
        gap: 8px !important;
        margin-top: 12px !important;
        padding-top: 12px !important;
    }
    
    .pagination {
        gap: 4px !important;
    }
    
    .page-btn {
        padding: 5px 10px !important;
        font-size: 11px !important;
        border-radius: 4px !important;
    }
    
    .pagination-info {
        font-size: 10px !important;
    }
    
    /* 其他城市 - 紧凑 */
    .other-cities-section {
        padding: 16px 0 !important;
        background: #fff !important;
    }
    
    .section-title {
        font-size: 13px !important;
        margin-bottom: 10px !important;
        font-weight: 600;
    }
    
    .cities-links {
        gap: 6px !important;
    }
    
    .city-link {
        padding: 6px 10px !important;
        font-size: 11px !important;
        border-radius: 6px !important;
    }
    
    /* 城市文章区块 - 紧凑 */
    .city-articles-section {
        padding: 16px 0 !important;
        background: #f8fafc !important;
    }
    
    .city-articles-section .section-title {
        font-size: 13px !important;
        margin-bottom: 10px !important;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 8px !important;
    }
    
    .article-card {
        padding: 10px !important;
        border-radius: 8px !important;
        display: block;
    }
    
    .article-card .article-title {
        font-size: 12px !important;
        margin-bottom: 4px !important;
        line-height: 1.4 !important;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .article-card .article-summary {
        font-size: 10px !important;
        margin-bottom: 6px !important;
        line-height: 1.4 !important;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .article-card .article-meta {
        font-size: 9px !important;
    }
}

/* ==================== 手术方式列表页手机端样式 ==================== */
@media (max-width: 767.98px) {
    .procedure-banner {
        padding: 16px 12px !important;
    }
    
    /* GEO答案块 - 重新设计表格为卡片 */
    .geo-answer-block {
        margin: 10px 0;
        border-radius: 10px;
        overflow: hidden;
    }
    
    .geo-answer-block .card-header {
        padding: 10px 12px;
        font-size: 12px;
        background: linear-gradient(135deg, #eff6ff, #dbeafe);
        border-bottom: 1px solid #93c5fd;
    }
    
    .geo-answer-block .card-body {
        padding: 10px;
    }
    
    .geo-answer-block h3 {
        font-size: 13px;
        margin-bottom: 8px;
        color: #1e40af;
    }
    
    /* 手机端卡片式对比列表 - 紧凑两列布局 */
    .procedure-compare-cards {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        margin-bottom: 8px;
    }
    
    .compare-card-item {
        background: #f8fafc;
        border: 1px solid #e2e8f0;
        border-radius: 8px;
        padding: 10px 8px;
    }
    
    .compare-card-item .compare-name {
        font-size: 12px;
        font-weight: 600;
        color: #1e40af;
        margin-bottom: 6px;
        line-height: 1.3;
    }
    
    .compare-card-item .compare-row {
        font-size: 10px;
        color: #475569;
        margin-bottom: 2px;
        display: flex;
        gap: 2px;
    }
    
    .compare-card-item .compare-row .label {
        color: #64748b;
        flex-shrink: 0;
    }
    
    .compare-card-item .compare-feature {
        font-size: 10px;
        color: #10b981;
        margin-top: 4px;
        padding-top: 4px;
        border-top: 1px dashed #e2e8f0;
        line-height: 1.3;
    }
    
    /* 表格改为卡片式布局 */
    .geo-answer-block .table-responsive {
        overflow: visible;
        margin: 0;
        padding: 0;
    }
    
    .geo-answer-block p {
        font-size: 11px;
        margin-top: 8px;
        line-height: 1.5;
        color: #374151;
    }
    
    /* 手术方式网格 */
    .container > .row {
        gap: 10px;
        margin: 0;
    }
    
    .container > .row > .col-lg-6 {
        width: 100%;
        max-width: 100%;
        padding: 0;
    }
    
    .procedure-card {
        border-radius: 10px;
        margin-bottom: 0;
        border: 1px solid #e2e8f0;
        box-shadow: none;
    }
    
    .procedure-card .card-body {
        padding: 12px;
    }
    
    .procedure-title {
        font-size: 14px;
        margin-bottom: 6px;
        font-weight: 600;
    }
    
    .procedure-title small {
        font-size: 11px;
        color: #64748b;
    }
    
    .procedure-price {
        font-size: 12px;
        margin-bottom: 6px;
    }
    
    .procedure-price strong {
        color: #1e293b;
    }
    
    .procedure-price .text-primary {
        color: #3b82f6 !important;
        font-weight: 600;
    }
    
    .procedure-meta {
        font-size: 11px;
        margin-bottom: 8px;
        color: #64748b;
    }
    
    .procedure-meta span {
        display: inline-block;
    }
    
    .procedure-meta .ms-3 {
        margin-left: 12px !important;
    }
    
    .procedure-description {
        font-size: 12px;
        margin-bottom: 8px;
        line-height: 1.5;
        color: #475569;
    }
    
    .procedure-features {
        font-size: 11px;
        margin-bottom: 8px;
    }
    
    .procedure-features strong {
        color: #1e293b;
    }
    
    .procedure-features .text-success {
        color: #10b981 !important;
    }
    
    .procedure-card .btn {
        font-size: 12px;
        padding: 8px 14px;
        border-radius: 6px;
    }
    
    /* 选择建议 */
    .container > .card.mt-4 {
        margin-top: 12px !important;
        border-radius: 10px;
        border: 1px solid #e2e8f0;
        box-shadow: none;
    }
    
    .container > .card.mt-4 .card-header {
        padding: 10px 12px;
        background: #f8fafc;
        border-bottom: 1px solid #e2e8f0;
    }
    
    .container > .card.mt-4 .card-header h2 {
        font-size: 14px;
        margin: 0;
    }
    
    .container > .card.mt-4 .card-body {
        padding: 12px;
    }
    
    .container > .card.mt-4 .card-body > p {
        font-size: 12px;
        margin-bottom: 8px;
        color: #475569;
    }
    
    .container > .card.mt-4 ol {
        padding-left: 18px;
        margin-bottom: 10px;
    }
    
    .container > .card.mt-4 li {
        font-size: 12px;
        margin-bottom: 4px;
        line-height: 1.5;
    }
    
    .container > .card.mt-4 .text-warning {
        font-size: 11px;
        padding: 8px 10px;
        background: #fffbeb;
        border-radius: 6px;
        display: block;
        margin-bottom: 10px;
    }
    
    .container > .card.mt-4 .btn-primary {
        width: 100%;
        padding: 10px;
        font-size: 13px;
        border-radius: 8px;
    }
}

/* ==================== 文章详情页手机端样式 ==================== */
@media (max-width: 767.98px) {
    .article-page {
        padding: 12px 0 40px;
    }
    
    .article-layout {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .article-main {
        min-width: 0;
    }
    
    /* 文章卡片 */
    .article-card {
        border-radius: 10px;
    }
    
    /* 问答样式 */
    .qa-page-content {
        padding: 16px;
    }
    
    .question-header {
        gap: 10px;
        margin-bottom: 16px;
    }
    
    .question-icon {
        font-size: 1.5rem;
    }
    
    .question-title {
        font-size: 1.25rem;
        line-height: 1.4;
    }
    
    .ai-answer-box {
        padding: 12px;
        margin-bottom: 20px;
        border-radius: 8px;
    }
    
    .ai-answer-header {
        gap: 6px;
        margin-bottom: 8px;
    }
    
    .ai-icon {
        font-size: 1rem;
    }
    
    .ai-label {
        font-size: 12px;
    }
    
    .ai-answer-content {
        font-size: 12px;
        line-height: 1.6;
    }
    
    .detailed-answer {
        margin-bottom: 16px;
    }
    
    .answer-section-header h2 {
        font-size: 14px;
        margin-bottom: 10px;
        padding-bottom: 8px;
    }
    
    .answer-body {
        font-size: 12px;
        line-height: 1.7;
    }
    
    .answer-body h2,
    .answer-body h3 {
        margin-top: 16px;
    }
    
    .answer-body p {
        margin-bottom: 10px;
    }
    
    .answer-body ul,
    .answer-body ol {
        margin-bottom: 10px;
        padding-left: 18px;
    }
    
    .answer-body li {
        margin-bottom: 4px;
    }
    
    .answer-body table {
        margin: 10px 0;
    }
    
    .answer-body th,
    .answer-body td {
        padding: 8px;
        font-size: 11px;
    }
    
    .qa-meta-info {
        gap: 16px;
        padding-top: 12px;
        font-size: 11px;
    }
    
    .meta-item {
        gap: 4px;
    }
    
    /* 文章样式 */
    .article-page-content {
        padding: 16px;
    }
    
    .article-header-new {
        margin-bottom: 16px;
        padding-bottom: 16px;
    }
    
    .article-category-tag {
        margin-bottom: 8px;
    }
    
    .category-badge {
        padding: 4px 10px;
        font-size: 11px;
    }
    
    .article-title-new {
        font-size: 1.25rem;
        line-height: 1.4;
        margin-bottom: 12px;
    }
    
    .article-meta-new {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .meta-author {
        gap: 10px;
    }
    
    .author-avatar {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    
    .author-name {
        font-size: 12px;
    }
    
    .publish-date {
        font-size: 11px;
    }
    
    .meta-stats {
        gap: 12px;
    }
    
    .stat-item {
        gap: 4px;
        font-size: 12px;
    }
    
    /* 文章摘要 */
    .article-summary-box {
        gap: 10px;
        padding: 12px;
        margin-bottom: 16px;
        border-radius: 8px;
    }
    
    .summary-icon {
        font-size: 1rem;
    }
    
    .summary-text {
        font-size: 12px;
        line-height: 1.5;
    }
    
    /* 文章正文 */
    .article-body-new {
        font-size: 12px;
        line-height: 1.7;
    }
    
    .article-body-new h2 {
        font-size: 1.125rem;
        margin: 20px 0 10px;
        padding-left: 10px;
        border-left-width: 3px;
    }
    
    .article-body-new h3 {
        font-size: 1rem;
        margin: 16px 0 8px;
    }
    
    .article-body-new p {
        margin-bottom: 10px;
    }
    
    .article-body-new ul,
    .article-body-new ol {
        margin-bottom: 10px;
        padding-left: 18px;
    }
    
    .article-body-new li {
        margin-bottom: 4px;
    }
    
    .article-body-new table {
        margin: 12px 0;
    }
    
    .article-body-new th,
    .article-body-new td {
        padding: 8px 10px;
        font-size: 11px;
    }
    
    .article-body-new blockquote {
        border-left-width: 3px;
        padding-left: 12px;
        margin: 12px 0;
        font-size: 12px;
    }
    
    .article-body-new img {
        margin: 10px 0;
        border-radius: 6px;
    }
    
    /* 文章标签 */
    .article-tags {
        margin-top: 20px;
        padding-top: 16px;
        gap: 6px;
    }
    
    .tags-label {
        font-size: 11px;
    }
    
    .article-tag {
        padding: 3px 8px;
        font-size: 11px;
    }
    
    /* 版权声明 */
    .article-copyright {
        margin-top: 16px;
        padding: 10px;
        font-size: 11px;
    }
    
    /* 相关推荐 */
    .related-section {
        margin-top: 16px;
        padding: 16px;
        border-radius: 10px;
    }
    
    .section-title {
        font-size: 13px;
        margin-bottom: 12px;
    }
    
    .related-links {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .related-link-item {
        padding: 10px 12px;
        font-size: 12px;
        border-radius: 8px;
    }
    
    /* 侧边栏 */
    .article-sidebar {
        order: -1;
        gap: 10px;
    }
    
    .sidebar-card {
        border-radius: 10px;
    }
    
    .sidebar-header {
        padding: 10px 12px;
    }
    
    .sidebar-header h3 {
        font-size: 13px;
    }
    
    .sidebar-body {
        padding: 10px;
    }
    
    .sidebar-link {
        padding: 8px 10px;
        font-size: 12px;
    }
    
    .sidebar-link .link-icon {
        font-size: 1rem;
    }
    
    /* 温馨提示 */
    .tip-card .sidebar-body {
        padding: 12px;
    }
    
    .tip-list li {
        padding: 6px 0;
        font-size: 12px;
    }
}

/* ==================== 排行榜页手机端样式 ==================== */
@media (max-width: 767.98px) {
    .ranking-banner {
        padding: 20px 12px !important;
    }
    
    /* GEO答案块 */
    .geo-answer-block {
        margin: 12px 0;
    }
    
    .geo-answer-block .card-header {
        padding: 10px 12px;
        font-size: 12px;
    }
    
    .geo-answer-block .card-body {
        padding: 12px;
    }
    
    .geo-answer-block p {
        font-size: 12px;
    }
    
    /* 排行榜卡片 */
    .col-lg-6 {
        width: 100%;
        max-width: 100%;
        padding: 0;
    }
    
    .ranking-card {
        border-radius: 10px;
        margin-bottom: 12px;
    }
    
    .ranking-card .card-header {
        padding: 10px 12px;
    }
    
    .ranking-card .card-header h2 {
        font-size: 13px;
    }
    
    .ranking-card .card-header small {
        font-size: 11px;
    }
    
    .ranking-card .card-body {
        padding: 12px;
    }
    
    .ranking-list {
        padding-left: 0;
        margin: 0;
        list-style: none;
    }
    
    .ranking-item {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 10px 0;
        border-bottom: 1px solid var(--mobile-border);
    }
    
    .ranking-item:last-child {
        border-bottom: none;
    }
    
    .rank-number {
        width: 24px;
        height: 24px;
        background: var(--mobile-primary-light);
        color: var(--mobile-primary-dark);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 12px;
        font-weight: 600;
        flex-shrink: 0;
    }
    
    .ranking-item:nth-child(1) .rank-number {
        background: #fef3c7;
        color: #92400e;
    }
    
    .ranking-item:nth-child(2) .rank-number {
        background: #e5e7eb;
        color: #374151;
    }
    
    .ranking-item:nth-child(3) .rank-number {
        background: #fed7aa;
        color: #9a3412;
    }
    
    .rank-content {
        flex: 1;
        min-width: 0;
    }
    
    .rank-content h4 {
        font-size: 13px;
        margin: 0 0 4px 0;
    }
    
    .rank-content h4 a {
        color: var(--mobile-text);
        text-decoration: none;
    }
    
    .rank-meta {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 11px;
    }
    
    .rank-meta .rating {
        color: var(--mobile-warning);
    }
    
    /* 排行榜说明 - 重新排版 */
    .card.mt-4 {
        margin-top: 16px !important;
        border-radius: 10px;
    }
    
    .card.mt-4 .card-body {
        padding: 12px;
    }
    
    .card.mt-4 h5 {
        font-size: 13px;
        margin-bottom: 10px;
    }
    
    .card.mt-4 ul {
        padding-left: 0;
        margin: 0 0 10px 0;
        list-style: none;
    }
    
    .card.mt-4 li {
        font-size: 11px;
        padding: 6px 0;
        border-bottom: 1px dashed var(--mobile-border);
        line-height: 1.5;
    }
    
    .card.mt-4 li:last-child {
        border-bottom: none;
    }
    
    .card.mt-4 li strong {
        color: var(--mobile-primary);
        font-size: 11px;
    }
    
    .card.mt-4 .text-muted {
        font-size: 11px;
        margin: 0;
        padding: 8px;
        background: #fffbeb;
        border-radius: 6px;
    }
}

/* ==================== 对比页手机端样式 ==================== */
@media (max-width: 767.98px) {
    .compare-page .list-banner {
        padding: 20px 12px !important;
    }
    
    .compare-page .banner-content {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .compare-page .banner-icon {
        font-size: 2rem;
    }
    
    .compare-page .banner-text h1 {
        font-size: 1.25rem;
    }
    
    .compare-page .banner-text p {
        font-size: 12px;
    }
    
    /* GEO答案块 */
    .compare-page .geo-answer-block {
        margin: 12px 0;
        padding: 12px;
        border-radius: 10px;
    }
    
    .geo-answer-header {
        margin-bottom: 8px;
        font-size: 12px;
    }
    
    .geo-answer-content {
        font-size: 12px;
    }
    
    /* 添加对比区域 */
    .compare-add-section {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 20px;
    }
    
    .compare-add-card {
        padding: 12px;
        border-radius: 10px;
    }
    
    .compare-add-card h3 {
        font-size: 13px;
        margin-bottom: 4px;
    }
    
    .compare-add-card p {
        font-size: 11px;
        margin-bottom: 8px;
    }
    
    .compare-select {
        padding: 8px 10px;
        font-size: 13px;
        margin-bottom: 8px;
        border-radius: 6px;
    }
    
    .compare-add-card .btn {
        width: 100%;
    }
    
    /* 空状态 */
    .compare-empty {
        padding: 32px 16px;
        border-radius: 10px;
    }
    
    .empty-icon {
        font-size: 2.5rem;
        margin-bottom: 10px;
    }
    
    .compare-empty h3 {
        font-size: 14px;
        margin-bottom: 4px;
    }
    
    .compare-empty p {
        font-size: 12px;
        margin-bottom: 16px;
    }
    
    .compare-quick-links {
        flex-direction: column;
        gap: 8px;
    }
    
    .compare-quick-links .btn {
        width: 100%;
        justify-content: center;
    }
    
    /* 对比表格区域 */
    .compare-section {
        border-radius: 10px;
        margin-bottom: 16px;
    }
    
    .compare-section-header {
        padding: 10px 12px;
    }
    
    .compare-section-header h2 {
        font-size: 13px;
    }
    
    .compare-table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .compare-table th,
    .compare-table td {
        padding: 8px 10px;
        font-size: 11px;
    }
    
    .compare-label {
        width: 70px;
        font-size: 11px;
    }
    
    .compare-value {
        min-width: 100px;
        font-size: 11px;
    }
    
    .compare-value .btn {
        font-size: 11px;
        padding: 4px 8px;
        height: auto;
    }
    
    /* 使用说明 */
    .compare-tips {
        padding: 12px;
        border-radius: 10px;
    }
    
    .compare-tips h3 {
        font-size: 13px;
        margin-bottom: 8px;
    }
    
    .compare-tips ul {
        padding-left: 16px;
        font-size: 11px;
    }
    
    .compare-tips li {
        margin-bottom: 4px;
    }
}

/* ==================== 搜索页手机端样式 ==================== */
@media (max-width: 767.98px) {
    /* 搜索页顶部留白 */
    main .container {
        padding-top: 12px;
    }
    
    .page-header {
        margin-top: 8px;
        margin-bottom: 12px;
    }
    
    .page-header h1 {
        font-size: 18px;
        margin-bottom: 4px;
    }
    
    .page-header .lead {
        font-size: 12px;
        margin-bottom: 0;
    }
    
    /* 搜索表单 */
    .card.mb-4 {
        margin-bottom: 12px !important;
        border-radius: 10px;
    }
    
    .card.mb-4 .card-body {
        padding: 12px;
    }
    
    .search-form .input-group {
        flex-direction: column;
        gap: 8px;
    }
    
    .search-form .form-control {
        height: 40px;
        padding: 0 12px;
        font-size: 14px;
        border-radius: 8px;
    }
    
    .search-form .btn {
        width: 100%;
        height: 40px;
        font-size: 14px;
        border-radius: 8px;
    }
    
    /* 搜索结果 */
    .search-results {
        margin-top: 0;
    }
    
    .search-results h2 {
        font-size: 14px;
        margin-bottom: 10px;
    }
    
    .result-section {
        margin-bottom: 12px !important;
        border-radius: 10px;
    }
    
    .result-section .card-header {
        padding: 10px 12px;
    }
    
    .result-section .card-header h3 {
        font-size: 13px;
    }
    
    .list-group-item {
        padding: 10px 12px;
        border-left: none;
        border-right: none;
        border-radius: 0 !important;
    }
    
    .list-group-item:first-child {
        border-top: none;
    }
    
    .list-group-item h6 {
        font-size: 13px;
        margin-bottom: 4px;
    }
    
    .list-group-item small {
        font-size: 11px;
    }
    
    .alert {
        padding: 12px;
        font-size: 12px;
        border-radius: 8px;
    }
}

/* ==================== 动画 ==================== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 767.98px) {
    .card,
    .hospital-card,
    .doctor-card,
    .article-item {
        animation: fadeIn 0.2s ease;
    }
}

/* ==================== 手术方式详情页手机端样式 ==================== */
@media (max-width: 767.98px) {
    /* 布局 */
    main .container > .row {
        flex-direction: column;
        gap: 12px;
    }
    
    main .container > .row > .col-lg-8,
    main .container > .row > .col-lg-4 {
        width: 100%;
        max-width: 100%;
        padding: 0;
    }
    
    /* 侧边栏移到下方 */
    main .container > .row > .col-lg-4 {
        order: 1;
    }
    
    /* 手术标题区 */
    .procedure-header.card {
        border-radius: 10px;
        margin-bottom: 12px !important;
        border: 1px solid #e2e8f0;
        box-shadow: none;
    }
    
    .procedure-header .card-body {
        padding: 12px;
    }
    
    .procedure-header .procedure-title {
        font-size: 18px;
        margin-bottom: 8px;
        line-height: 1.3;
    }
    
    .procedure-header .procedure-title small {
        font-size: 12px;
        display: block;
        margin-top: 4px;
    }
    
    .procedure-header .procedure-meta {
        gap: 6px;
        margin-bottom: 10px;
    }
    
    .procedure-header .badge {
        padding: 4px 8px;
        font-size: 11px;
        border-radius: 4px;
    }
    
    /* GEO答案块 */
    .procedure-header .geo-answer-block {
        margin-top: 10px;
        padding: 10px;
        border-radius: 8px;
    }
    
    .procedure-header .geo-answer-block .block-header {
        font-size: 12px;
        margin-bottom: 6px;
    }
    
    .procedure-header .geo-answer-block .ai-answer p {
        font-size: 12px;
        line-height: 1.5;
        margin-bottom: 6px;
    }
    
    .procedure-header .geo-answer-block .ai-answer ul {
        padding-left: 16px;
        margin-bottom: 6px;
    }
    
    .procedure-header .geo-answer-block .ai-answer li {
        font-size: 11px;
        margin-bottom: 3px;
    }
    
    /* 手术详解卡片 */
    .card.mb-4 {
        margin-bottom: 12px !important;
        border-radius: 10px;
        border: 1px solid #e2e8f0;
        box-shadow: none;
    }
    
    .card.mb-4 .card-header {
        padding: 10px 12px;
        background: #f8fafc;
        border-bottom: 1px solid #e2e8f0;
    }
    
    .card.mb-4 .card-header h2 {
        font-size: 14px;
        margin: 0;
    }
    
    .card.mb-4 .card-body {
        padding: 12px;
    }
    
    /* 手术内容 */
    .procedure-content {
        font-size: 12px;
        line-height: 1.7;
    }
    
    .procedure-content p {
        margin-bottom: 10px;
    }
    
    .procedure-content h2,
    .procedure-content h3 {
        font-size: 14px;
        margin: 16px 0 8px;
    }
    
    .procedure-content ul,
    .procedure-content ol {
        padding-left: 18px;
        margin-bottom: 10px;
    }
    
    .procedure-content li {
        margin-bottom: 4px;
    }
    
    /* 优缺点对比 */
    .card.mb-4 .row {
        flex-direction: column;
        gap: 10px;
    }
    
    .card.mb-4 .col-md-6 {
        width: 100%;
        padding: 0;
    }
    
    .pros-section,
    .cons-section {
        padding: 10px;
        border-radius: 8px;
        background: #f8fafc;
    }
    
    .pros-section h5,
    .cons-section h5 {
        font-size: 13px;
        margin-bottom: 6px;
    }
    
    .pros-section p,
    .cons-section p {
        font-size: 12px;
        margin: 0;
        line-height: 1.5;
    }
    
    /* 相关医院列表 */
    .hospital-item {
        padding: 10px 0 !important;
        flex-direction: column;
        align-items: flex-start !important;
        gap: 6px;
    }
    
    .hospital-item a {
        font-size: 13px;
        font-weight: 500;
    }
    
    .hospital-item .text-muted {
        font-size: 11px;
    }
    
    .hospital-item .rating {
        font-size: 11px;
    }
    
    .hospital-item .price {
        font-size: 13px;
        font-weight: 600;
    }
    
    .card.mb-4 .btn-primary {
        width: 100%;
        padding: 10px;
        font-size: 13px;
        border-radius: 8px;
    }
    
    /* 常见问题 */
    .qa-item {
        margin-bottom: 10px !important;
        padding-bottom: 10px !important;
    }
    
    .qa-item h5 {
        font-size: 13px;
        margin-bottom: 4px;
    }
    
    .qa-item h5 a {
        color: #1e293b;
    }
    
    .qa-item p {
        font-size: 11px;
        margin: 0;
    }
    
    /* 侧边栏卡片 */
    .col-lg-4 .card {
        border-radius: 10px;
        margin-bottom: 10px !important;
    }
    
    .col-lg-4 .card-header {
        padding: 10px 12px;
    }
    
    .col-lg-4 .card-header h3 {
        font-size: 13px;
        margin: 0;
    }
    
    .col-lg-4 .card-body {
        padding: 10px;
    }
    
    /* 基本信息表格 */
    .col-lg-4 .table {
        font-size: 12px;
    }
    
    .col-lg-4 .table td {
        padding: 8px 6px;
    }
    
    /* 快速链接 */
    .col-lg-4 .btn {
        font-size: 12px;
        padding: 8px 10px;
        margin-bottom: 6px;
        border-radius: 6px;
    }
    
    .col-lg-4 .btn:last-child {
        margin-bottom: 0;
    }
    
    /* GEO提示 */
    .geo-tip h6 {
        font-size: 12px;
        margin-bottom: 4px;
    }
    
    .geo-tip p {
        font-size: 11px;
        margin: 0;
    }
}
