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

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
            background: #f5f7fa;
            color: #333;
            min-height: 100vh;
            max-width: 428px;
            margin: 0 auto;
            position: relative;
            overflow-x: hidden;
        }

        .tab-container {
            display: flex;
            background: #fff;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
            position: sticky;
            top: 0;
            z-index: 100;
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
            scrollbar-width: none;
        }

        .tab-container::-webkit-scrollbar {
            display: none;
        }

        .tab-item {
            padding: 16px 20px;
            font-size: 15px;
            font-weight: 500;
            color: #666;
            cursor: pointer;
            white-space: nowrap;
            border-bottom: 3px solid transparent;
            transition: all 0.3s ease;
            position: relative;
        }

        .tab-item.active {
            color: #1890ff;
            border-bottom-color: #1890ff;
            font-weight: 600;
        }

        .tab-item.active::after {
            content: '';
            position: absolute;
            bottom: -3px;
            left: 50%;
            transform: translateX(-50%);
            width: 20px;
            height: 3px;
            background: #1890ff;
            border-radius: 2px;
        }

        .content-container {
            padding: 16px;
        }

        .search-section {
            background: #fff;
            border-radius: 12px;
            padding: 12px 16px;
            margin-bottom: 16px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
        }

        .search-row {
            display: flex;
            gap: 16px;
            align-items: center;
            margin-bottom: 12px;
        }

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

        .search-label {
            font-size: 12px;
            color: #666;
            font-weight: 500;
            white-space: nowrap;
        }

        .search-input {
            width: 150px;
            height: 32px;
            border: 1px solid #e8e8e8;
            border-radius: 6px;
            padding: 0 8px;
            font-size: 13px;
            color: #333;
            background: #fff;
            transition: all 0.3s ease;
        }

        .search-input:focus {
            outline: none;
            border-color: #1890ff;
            box-shadow: 0 0 0 3px rgba(24, 144, 255, 0.1);
        }

        .search-select {
            width: 100px;
            height: 32px;
            border: 1px solid #e8e8e8;
            border-radius: 6px;
            padding: 0 8px;
            font-size: 13px;
            color: #333;
            background: #fff;
            appearance: none;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 8px center;
            padding-right: 24px;
            transition: all 0.3s ease;
        }

        .search-select:focus {
            outline: none;
            border-color: #1890ff;
            box-shadow: 0 0 0 3px rgba(24, 144, 255, 0.1);
        }

        /* 日期输入框样式 */
        #dynamicDateInput {
            width: 140px;
        }

        .data-section {
            background: #fff;
            border-radius: 12px;
            padding: 16px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
        }

        /* 热点板块页面的数据网格样式 */
        .data-grid {
            display: flex;
            gap: 12px;
            padding-bottom: 8px;
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
        }

        /* 涨停动态页面的数据网格特殊样式 */
        #limitDataGrid {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .date-column {
            background: #fafafa;
            border-radius: 6px;
            padding: 10px;
            min-width: 120px;
            min-height: 200px;
            flex-shrink: 0;
        }

        .date-header {
            font-size: 11px;
            font-weight: 600;
            color: #666;
            text-align: center;
            margin-bottom: 6px;
            padding-bottom: 2px;
            border-bottom: 1px solid #f0f0f0;
        }

        .sector-list {
            display: flex;
            flex-direction: column;
            gap: 3px;
        }

        .sector-item {
            background: #fff;
            border: 1px solid #f0f0f0;
            border-radius: 3px;
            padding: 4px 6px;
            font-size: 11px;
            display: flex;
            align-items: center;
            gap: 3px;
            transition: all 0.2s ease;
        }

        .sector-item:hover {
            box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
            transform: translateY(-0.5px);
        }

        .sector-item.active {
            background: rgba(24, 144, 255, 0.2);
            border-color: rgba(24, 144, 255, 0.4);
        }

        .sector-name {
            flex: 1;
            font-weight: 500;
            color: #333;
            cursor: pointer;
            user-select: none;
            font-size: 10px;
        }

        .count-badge {
            display: inline-block;
            padding: 1px 4px;
            background: #e6f7ff;
            color: #1890ff;
            border-radius: 8px;
            font-size: 9px;
            font-weight: 600;
            min-width: 18px;
            text-align: center;
            flex-shrink: 0;
            cursor: pointer;
            user-select: none;
        }

        .count-badge:hover {
            opacity: 0.8;
        }

        .count-badge.high {
            background: #fff1f0;
            color: #ff4d4f;
        }

        .count-badge.medium {
            background: #fffbe6;
            color: #faad14;
        }

        .detail-container {
            padding: 16px;
        }

        .detail-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 16px 0;
            border-bottom: 1px solid #f0f0f0;
            margin-bottom: 20px;
        }

        .back-btn {
            display: flex;
            align-items: center;
            gap: 6px;
            padding: 8px 12px;
            background: #fff;
            color: #333;
            border: 1px solid #e8e8e8;
            border-radius: 6px;
            font-size: 14px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .back-btn:hover {
            background: #f5f5f5;
            border-color: #1890ff;
            color: #1890ff;
        }

        .detail-title {
            font-size: 18px;
            font-weight: 600;
            color: #333;
        }

        .detail-section {
            background: #fff;
            border-radius: 12px;
            padding: 20px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
        }

        .sector-info {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 20px;
            padding-bottom: 16px;
            border-bottom: 1px solid #f0f0f0;
        }

        .sector-title {
            font-size: 20px;
            font-weight: 600;
            color: #333;
            flex: 1;
        }

        .sector-date {
            font-size: 14px;
            color: #666;
        }

        .sector-change {
            font-size: 14px;
            font-weight: 600;
            color: #ff4d4f;
            background: #fff1f0;
            padding: 4px 8px;
            border-radius: 4px;
        }

        .driver-info {
            margin-bottom: 20px;
            padding-bottom: 16px;
            border-bottom: 1px solid #f0f0f0;
        }

        .info-title {
            font-size: 16px;
            font-weight: 600;
            color: #333;
            margin-bottom: 8px;
        }

        .info-content {
            font-size: 14px;
            line-height: 1.5;
            color: #666;
        }

        .stock-list {
            margin-bottom: 16px;
        }

        .stock-table {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .stock-item {
            background: #fafafa;
            border-radius: 8px;
            padding: 12px;
            border: 1px solid #f0f0f0;
        }

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

        .stock-name {
            font-size: 14px;
            font-weight: 600;
            color: #333;
        }

        .stock-code {
            font-size: 12px;
            color: #999;
            margin-left: 6px;
        }

        .stock-badge {
            font-size: 12px;
            padding: 2px 6px;
            background: #e6f7ff;
            color: #1890ff;
            border-radius: 4px;
            margin-left: 6px;
        }

        .stock-info {
            display: flex;
            align-items: center;
            gap: 16px;
            font-size: 13px;
        }

        .stock-price {
            color: #333;
            font-weight: 500;
        }

        .stock-change {
            color: #ff4d4f;
            font-weight: 500;
        }

        .stock-time {
            color: #999;
        }

        .stock-market {
            color: #999;
        }

        .stock-desc {
            font-size: 13px;
            line-height: 1.4;
            color: #666;
            margin-top: 8px;
            padding-top: 8px;
            border-top: 1px solid #f0f0f0;
        }

        /* 板块详情页样式 */
        .sector-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
            padding-bottom: 16px;
            border-bottom: 1px solid #f0f0f0;
        }

        .sector-title {
            font-size: 20px;
            font-weight: 600;
            color: #333;
        }

        .sector-change {
            font-size: 14px;
            font-weight: 600;
            color: #ff4d4f;
            background: #fff1f0;
            padding: 4px 8px;
            border-radius: 4px;
        }

        .driver-info {
            margin-bottom: 20px;
            padding-bottom: 16px;
            border-bottom: 1px solid #f0f0f0;
        }

        .info-title {
            font-size: 16px;
            font-weight: 600;
            color: #333;
            margin-bottom: 8px;
        }

        .info-content {
            font-size: 14px;
            line-height: 1.5;
            color: #666;
        }

        .stock-list {
            margin-bottom: 16px;
        }

        .stock-table {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .stock-item {
            background: #fafafa;
            border-radius: 8px;
            padding: 12px;
            border: 1px solid #f0f0f0;
        }

        .stock-header {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            margin-bottom: 8px;
        }

        .stock-name {
            font-size: 14px;
            font-weight: 600;
            color: #333;
        }

        .stock-code {
            font-size: 12px;
            color: #999;
            margin-left: 6px;
        }

        .stock-badge {
            font-size: 12px;
            padding: 2px 6px;
            background: #e6f7ff;
            color: #1890ff;
            border-radius: 4px;
            margin-left: 6px;
        }

        .stock-badge.large {
            font-size: 14px;
            padding: 4px 10px;
            font-weight: 600;
        }

        .stock-consecutive-limit {
            font-size: 12px;
            font-weight: 600;
            padding: 4px 6px;
            background: #fff1f0;
            color: #ff4d4f;
            border: 1px solid #ffccc7;
            border-radius: 4px;
            margin-left: 6px;
            display: inline-block;
            vertical-align: middle;
        }

        .stock-name-section {
            display: flex;
            align-items: center;
            justify-content: space-between;
            width: 100%;
        }

        .stock-left {
            display: flex;
            align-items: center;
        }

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

        .stock-right {
            display: flex;
            align-items: center;
        }

        .stock-tag-section {
            display: flex;
            align-items: flex-start;
        }

        .stock-info {
            display: flex;
            align-items: center;
            justify-content: space-around;
            font-size: 13px;
        }

        .stock-price {
            color: #333;
            font-weight: 500;
        }

        .stock-change {
            color: #ff4d4f;
            font-weight: 500;
        }

        .stock-time {
            color: #999;
        }

        .stock-market {
            color: #999;
        }

        .stock-desc {
            font-size: 13px;
            line-height: 1.4;
            color: #666;
            margin-top: 8px;
            padding-top: 8px;
            border-top: 1px solid #f0f0f0;
        }

        .empty-state {
            text-align: center;
            padding: 40px 20px;
            color: #999;
        }

        .empty-state-icon {
            font-size: 48px;
            margin-bottom: 16px;
        }

        .empty-state-text {
            font-size: 14px;
        }

        .loading-state {
            text-align: center;
            padding: 40px 20px;
            color: #999;
        }

        .loading-spinner {
            width: 32px;
            height: 32px;
            border: 3px solid #f3f3f3;
            border-top: 3px solid #1890ff;
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin: 0 auto 16px;
        }

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

        .page-content {
            display: none;
        }

        .page-content.active {
            display: block;
        }

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

        .header-title {
            font-size: 16px;
            font-weight: 600;
            color: #333;
        }

        .header-subtitle {
            font-size: 12px;
            color: #999;
            margin-top: 4px;
        }

        .refresh-btn {
            display: flex;
            align-items: center;
            gap: 4px;
            padding: 8px 16px;
            background: #1890ff;
            color: #fff;
            border: none;
            border-radius: 6px;
            font-size: 14px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .refresh-btn:hover {
            background: #40a9ff;
            transform: translateY(-1px);
        }

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

        .refresh-icon {
            width: 16px;
            height: 16px;
        }

        /* 开关控件样式 */
        .switches-container {
            display: flex;
            gap: 16px;
        }

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

        .switch {
            position: relative;
            display: inline-block;
            width: 50px;
            height: 28px;
        }

        .switch input {
            opacity: 0;
            width: 0;
            height: 0;
        }

        .switch-slider {
            position: absolute;
            cursor: pointer;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: #e8e8e8;
            transition: .4s;
            border-radius: 28px;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0 8px;
            font-size: 11px;
            font-weight: bold;
            color: #666;
        }

        .switch-slider:before {
            position: absolute;
            content: "";
            height: 20px;
            width: 20px;
            left: 4px;
            bottom: 4px;
            background-color: white;
            transition: .4s;
            border-radius: 50%;
            z-index: 1;
        }

        input:checked + .switch-slider {
            background-color: #1890ff;
            color: white;
        }

        input:checked + .switch-slider:before {
            transform: translateX(22px);
        }

        .switch-label {
            position: relative;
            z-index: 2;
        }

        /* 日期输入框样式 */
        .date-input {
            flex: 1;
            min-width: 120px;
        }

        /* 搜索项样式 */
        .search-item {
            display: flex;
            align-items: center;
            gap: 8px;
            flex: 1;
        }

        /* 开关容器样式 */
        .switches-container {
            display: flex;
            gap: 16px;
            align-items: center;
            flex: 2;
        }

        /* 涨停动态股票样式 */
        .stock-main {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 8px;
        }

        .stock-info {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .stock-info-row {
            display: flex;
            gap: 12px;
            flex-wrap: wrap;
        }

        .stock-info-row {
            display: flex;
            gap: 12px;
            margin-bottom: 8px;
        }

        .stock-info-item {
            display: flex;
            align-items: center;
            padding: 4px 10px;
            border-radius: 12px;
            font-size: 12px;
            font-weight: 500;
            min-width: 100px;
            flex: 1;
            justify-content: center;
        }

        .stock-name {
            background-color: #e6f7ff;
            color: #1890ff;
            font-weight: bold;
        }

        .stock-price {
            background-color: #fff1f0;
            color: #ff4d4f;
        }

        .stock-change {
            background-color: #fff1f0;
            color: #ff4d4f;
        }

        .stock-limit {
            background-color: #fff1f0;
            color: #ff4d4f;
        }

        .stock-sector {
            background-color: #f9f0ff;
            color: #722ed1;
        }

        .stock-concept {
            background-color: #f0f5ff;
            color: #2f54eb;
        }

        .stock-market {
            background-color: #f6ffed;
            color: #52c41a;
        }

        @media (max-width: 375px) {
            .tab-item {
                padding: 14px 16px;
                font-size: 14px;
            }

            .search-row {
                flex-wrap: nowrap;
                overflow-x: auto;
                gap: 8px;
            }

            .search-row .search-item {
                flex-shrink: 0;
            }

            .data-grid {
                gap: 12px;
            }

            .date-column {
                min-width: 80px;
                padding: 10px;
            }

            .sector-item {
                padding: 6px 8px;
                font-size: 13px;
            }
        }