@charset "utf-8";
/* CSS Document */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'PingFang SC', 'Microsoft YaHei', Arial, sans-serif;
        }
        
        body {
            background-color: #f5f5f5;
            color: #333;
            line-height: 1.5;
            padding: 0;
            margin: 0;
            font-size: 14px;
        }
        
        .container {
            max-width: 720px;
            min-width: 320px;
            margin: 0 auto;
            background-color: #f9f9f9;
        }
        
        .header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 12px 15px;
            background: linear-gradient(135deg, #ff6b6b, #ee5a5a);
            color: white;
            position: sticky;
            top: 0;
            z-index: 100;
            box-shadow: 0 2px 8px rgba(0,0,0,0.15);
        }
        
        .logo {
            font-size: 18px;
            font-weight: bold;
            display: flex;
            align-items: center;
        }
        
        .logo-img {
            width: 28px;
            height: 28px;
            margin-right: 8px;
            background-color: rgba(255,255,255,0.2);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .header-actions {
            display: flex;
            gap: 15px;
        }
        
        .header-actions a {
            color: white;
            text-decoration: none;
            font-size: 14px;
            opacity: 0.9;
        }
        
        .header-actions a:hover {
            opacity: 1;
        }
        
        .domain-info {
            text-align: center;
            padding: 12px 0;
            background: white;
            margin: 10px;
            border-radius: 8px;
            box-shadow: 0 1px 4px rgba(0,0,0,0.08);
        }
        
        .domain-list {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 10px;
            margin: 8px 0;
        }
        
        .domain-item {
            color: #e4393c;
            text-decoration: none;
            font-weight: 500;
            font-size: 14px;
            padding: 3px 8px;
            border-radius: 4px;
            background-color: #f8f8f8;
        }
        
        .domain-item.active {
            background-color: #ff6b6b;
            color: white;
        }

        /* 百度搜索框样式 */
        .search-section {
            background: white;
            margin: 10px;
            border-radius: 8px;
            padding: 15px;
            box-shadow: 0 1px 4px rgba(0,0,0,0.08);
        }

        .search-box {
            display: flex;
            width: 100%;
        }

        .search-input {
            flex: 1;
            height: 40px;
            padding: 0 15px;
            border: 1px solid #ddd;
            border-radius: 20px 0 0 20px;
            font-size: 14px;
            outline: none;
            transition: border-color 0.3s;
        }

        .search-input:focus {
            border-color: #ff6b6b;
        }

        .search-button {
            width: 80px;
            height: 40px;
            background: linear-gradient(135deg, #ff6b6b, #ee5a5a);
            border: none;
            border-radius: 0 20px 20px 0;
            color: white;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s;
        }

        .search-button:hover {
            opacity: 0.9;
            transform: scale(1.02);
        }
        
        .section {
            background: white;
            margin: 10px;
            border-radius: 8px;
            padding: 15px;
            box-shadow: 0 1px 4px rgba(0,0,0,0.08);
        }
        
        .section-title {
            font-size: 16px;
            font-weight: 600;
            margin-bottom: 12px;
            color: #333;
            display: flex;
            align-items: center;
            position: relative;
            padding-left: 10px;
        }
        
        .section-title::before {
            content: '';
            position: absolute;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 3px;
            height: 16px;
            background: #ff6b6b;
            border-radius: 2px;
        }
        
        /* 酷站网址和热门网站共用这个网格布局 */
        .links-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 15px;
        }
        
        /* 使用li标签的样式 */
        .links-list {
            list-style: none;
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 15px;
            padding: 0;
            margin: 0;
        }
        
        .link-item {
            text-align: center;
        }
        
        .link-icon {
            width: 55px;
            height: 55px;
            background: linear-gradient(135deg, #f9f9f9, #f1f1f1);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 8px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.05);
            overflow: hidden;
            border: 1px solid #eee;
            transition: all 0.3s ease;
        }
        
        .link-item a:hover .link-icon {
            transform: scale(1.05);
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        }
        
        .link-icon img {
            width: 35px;
            height: 35px;
            object-fit: contain;
        }
        
        .link-name {
            font-size: 16px;
            color: #333;
            display: block;
            font-weight: 500;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            max-width: 70px;
            margin: 0 auto;
        }
        
        .link-item a {
            text-decoration: none;
            color: inherit;
            display: block;
        }
        
        .news-list {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }
        
        .news-item {
            padding: 8px 0;
            border-bottom: 1px solid #f5f5f5;
        }
        
        .news-item:last-child {
            border-bottom: none;
        }
        
        .news-title {
            font-size: 14px;
            color: #1a0dab;
            text-decoration: none;
            line-height: 1.4;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        
        .news-title:hover {
            text-decoration: underline;
        }
        
        .news-date {
            font-size: 11px;
            color: #999;
            margin-top: 4px;
            display: block;
        }
        
        .category-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 15px;
        }
        
        .category-box {
            background: #f9f9f9;
            border-radius: 8px;
            padding: 12px;
            box-shadow: 0 1px 3px rgba(0,0,0,0.05);
        }
        
        .category-title {
            font-weight: 600;
            font-size: 14px;
            color: #ff6b6b;
            margin-bottom: 10px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .category-more {
            color: #999;
            font-size: 12px;
            text-decoration: none;
        }
        
        .category-more:hover {
            color: #ff6b6b;
        }
        
        .category-links {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }
        
        .category-link {
            color: #333;
            text-decoration: none;
            font-size: 13px;
            padding: 5px 0;
            border-radius: 4px;
            transition: background-color 0.2s;
        }
        
        .category-link:hover {
            background-color: #f0f0f0;
            color: #ff6b6b;
        }
        
        .tools-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 15px;
        }
        
        .tool-item {
            text-align: center;
        }
        
        .tool-icon {
            width: 50px;
            height: 50px;
            border-radius: 14px;
            background: linear-gradient(135deg, #f9f9f9, #f1f1f1);
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 6px;
            box-shadow: 0 2px 6px rgba(0,0,0,0.08);
        }
        
        .footer {
            text-align: center;
            padding: 15px;
            color: #999;
            font-size: 12px;
            background: white;
            margin: 10px;
            border-radius: 8px;
            box-shadow: 0 1px 4px rgba(0,0,0,0.08);
        }
        
        .banner {
            width: 100%;
            height: 80px;
            background: #fff0f0;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: bold;
            margin: 10px 0;
            box-shadow: 0 2px 6px rgba(0,0,0,0.1);
			font-size: 16px;
        }
        
        @media (min-width: 721px) {
            .container {
                max-width: 720px;
            }
        }
        
        @media (max-width: 414px) {
            .links-grid, .links-list, .tools-grid {
                grid-template-columns: repeat(4, 1fr);
            }
            
            .category-grid {
                grid-template-columns: 1fr;
            }
        }
