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

        body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", sans-serif;
            background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
            min-height: 100vh;
            color: #e0e0e0;
            padding: 20px;
        }

        .container {
            max-width: 1400px;
            margin: 0 auto;
        }

        header {
            text-align: center;
            padding: 30px 0;
        }

        header h1 {
            font-size: 2.2rem;
            font-weight: 700;
            background: linear-gradient(90deg, #00d4ff, #7b2cbf);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 10px;
        }

        header p {
            color: #8892b0;
            font-size: 0.95rem;
        }

        .search-box {
            max-width: 500px;
            margin: 20px auto 30px;
            position: relative;
        }

        .search-box input {
            width: 100%;
            padding: 14px 24px;
            border: 1px solid rgba(255,255,255,0.1);
            border-radius: 50px;
            background: rgba(255,255,255,0.05);
            backdrop-filter: blur(10px);
            color: #e0e0e0;
            font-size: 1rem;
            outline: none;
            transition: all 0.3s ease;
        }

        .search-box input::placeholder {
            color: #6c757d;
        }

        .search-box input:focus {
            border-color: #00d4ff;
            background: rgba(255,255,255,0.08);
            box-shadow: 0 0 20px rgba(0,212,255,0.15);
        }

        .search-icon {
            position: absolute;
            right: 20px;
            top: 50%;
            transform: translateY(-50%);
            color: #6c757d;
            font-size: 1.1rem;
        }

        .grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 20px;
        }

        .card {
            background: rgba(255,255,255,0.04);
            border: 1px solid rgba(255,255,255,0.06);
            border-radius: 20px;
            padding: 24px;
            transition: all 0.3s ease;
            backdrop-filter: blur(10px);
        }

        .card:hover {
            transform: translateY(-5px);
            background: rgba(255,255,255,0.07);
            border-color: rgba(0,212,255,0.2);
            box-shadow: 0 15px 40px rgba(0,0,0,0.3);
        }

        .card-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 20px;
            padding-bottom: 15px;
        }

        .province-name {
            font-size: 1.35rem;
            font-weight: 700;
            color: #ffffff;
            text-align: center;
        }

        .card-detail-link {
            font-size: 0.78rem;
            color: #00d4ff;
            padding: 4px 12px;
            background: rgba(0,212,255,0.08);
            border-radius: 20px;
            transition: all 0.3s ease;
            pointer-events: none;
            flex-shrink: 0;
        }

        .card-title-wrap {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .province-tag {
            font-size: 0.7rem;
            padding: 4px 10px;
            border-radius: 20px;
            background: rgba(0,212,255,0.1);
            color: #00d4ff;
            font-weight: 500;
        }

        .price-list {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 14px;
        }

        .price-item {
            display: flex;
            flex-direction: column;
            gap: 4px;
            padding: 10px 12px;
            border-radius: 12px;
        }

        .price-item:nth-child(1) { background: rgba(0, 212, 255, 0.08); }
        .price-item:nth-child(2) { background: rgba(123, 44, 191, 0.08); }
        .price-item:nth-child(3) { background: rgba(255, 107, 107, 0.08); }
        .price-item:nth-child(4) { background: rgba(81, 207, 102, 0.08); }

        .price-label {
            font-size: 1.2rem;
            color: #8892b0;
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .price-label .dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            display: inline-block;
        }

        .dot-p92 { background: #00d4ff; }
        .dot-p95 { background: #7b2cbf; }
        .dot-p98 { background: #ff6b6b; }
        .dot-p0 { background: #51cf66; }

        .price-value {
            font-size: 1.15rem;
            font-weight: 700;
            color: #ffffff;
            font-family: "SF Mono", Monaco, monospace;
        }

        .price-unit {
            font-size: 0.75rem;
            color: #6c757d;
            font-weight: 400;
            margin-left: 2px;
        }

        .loading {
            text-align: center;
            padding: 60px 20px;
            color: #8892b0;
            font-size: 1.1rem;
        }

        .loading-spinner {
            display: inline-block;
            width: 40px;
            height: 40px;
            border: 3px solid rgba(0,212,255,0.2);
            border-top-color: #00d4ff;
            border-radius: 50%;
            animation: spin 0.8s linear infinite;
            margin-bottom: 15px;
        }

        @keyframes spin {
            to { transform: rotate(360deg); }
        }

        .error-msg {
            text-align: center;
            padding: 40px 20px;
            color: #ff6b6b;
        }

        .update-time {
            text-align: center;
            margin-top: 10px;
            color: #6c757d;
            font-size: 0.85rem;
        }
        .friend-links {
            text-align: center;
            margin-top: 30px;
            padding-top: 20px;
            color: #8892b0;
            font-size: 0.85rem;
        }
        .friend-links a {
            color: #00d4ff;
            text-decoration: none;
            margin: 0 8px;
            transition: color 0.25s;
        }
        .friend-links a:hover {
            color: #f30e0e;
        }

        .nav-links {
            text-align: center;
            margin-top: 15px;
        }

        .nav-btn {
            display: inline-block;
            padding: 10px 28px;
            background: rgba(0,212,255,0.08);
            border: 1px solid rgba(0,212,255,0.3);
            border-radius: 50px;
            color: #00d4ff;
            text-decoration: none;
            font-size: 0.9rem;
            transition: all 0.3s ease;
        }

        .nav-btn:hover {
            background: rgba(0,212,255,0.15);
            border-color: #00d4ff;
        }
        .nav-btn.current {
            background: #E91E63;
            border-color: #FF5722;
            color: #ffffff;
        }

        .source-tag {
            text-align: center;
            margin-top: 30px;
            font-size: 0.8rem;
        }

        .source-tag .tag {
            display: inline-block;
            padding: 4px 12px;
            border-radius: 20px;
            font-weight: 500;
        }

        .tag-live {
            background: rgba(0,212,255,0.1);
            color: #00d4ff;
        }

        .hidden {
            display: none !important;
        }

        .search-hint {
            text-align: center;
            margin: -18px auto 20px;
            font-size: 0.85rem;
            color: #00d4ff;
            max-width: 500px;
        }

        .search-dropdown {
            max-width: 500px;
            margin: -14px auto 20px;
            background: rgba(26,26,46,0.95);
            border: 1px solid rgba(0,212,255,0.2);
            border-radius: 12px;
            overflow: hidden;
            backdrop-filter: blur(10px);
            box-shadow: 0 10px 30px rgba(0,0,0,0.4);
            z-index: 100;
        }

        .search-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 12px 18px;
            cursor: pointer;
            transition: all 0.2s ease;
            border-bottom: 1px solid rgba(255,255,255,0.04);
            color: #e0e0e0;
            font-size: 0.95rem;
        }

        .search-item:last-child {
            border-bottom: none;
        }

        .search-item:hover {
            background: rgba(0,212,255,0.08);
            color: #ffffff;
        }

        .search-item-type {
            font-size: 0.78rem;
            color: #6c757d;
            background: rgba(255,255,255,0.05);
            padding: 2px 10px;
            border-radius: 20px;
        }

        .card-link {
            display: block;
            text-decoration: none;
            color: inherit;
            transition: all 0.3s ease;
        }

        .card-link:hover {
            transform: translateY(-5px);
        }

        .card.search-matched {
            border-color: rgba(0,212,255,0.4) !important;
            box-shadow: 0 0 20px rgba(0,212,255,0.15);
        }

        .match-badge {
            display: inline-block;
            margin-top: 12px;
            padding: 3px 10px;
            background: rgba(0,212,255,0.1);
            border: 1px solid rgba(0,212,255,0.25);
            border-radius: 20px;
            font-size: 0.75rem;
            color: #00d4ff;
        }

        @media (max-width: 640px) {
            body { padding: 12px; }
            header h1 { font-size: 1.6rem; }
            .grid { grid-template-columns: 1fr; gap: 14px; }
            .card { padding: 18px; }
            .province-name { font-size: 1.15rem; }
            .nav-links { gap: 6px; }
            .nav-links .nav-btn { padding: 6px 12px; font-size: 0.78rem; }
            .friend-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 10px; font-size: 0.8rem; }
            .friend-links span {text-align: center; margin-bottom: 4px; font-weight: 500; }
            .friend-links a { margin: 0; }
        }

        @media (min-width: 641px) and (max-width: 1024px) {
            .grid { grid-template-columns: repeat(2, 1fr); }
        }

        @media (min-width: 1025px) and (max-width: 1280px) {
            .grid { grid-template-columns: repeat(3, 1fr); }
        }

        @media (min-width: 1281px) {
            .grid { grid-template-columns: repeat(4, 1fr); }
        }