* {
            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: 900px;
            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; }
        }

        @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); }
        }
/* ===== breadcrumb ===== */
        .breadcrumb {
            font-size: 0.85rem;
            color: #8892b0;
            margin-bottom: 20px;
        }
        .breadcrumb a { color: #00d4ff; text-decoration: none; }
        .breadcrumb a:hover { text-decoration: underline; }

        /* ===== page title ===== */
        .page-title {
            font-size: 1.8rem;
            font-weight: 700;
            background: linear-gradient(90deg, #00d4ff, #7b2cbf);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 8px;
        }
        .page-subtitle { color: #8892b0; font-size: 0.95rem; margin-bottom: 28px; }

        /* ===== next adjust notice ===== */
        .next-notice {
            background: rgba(0,212,255,0.06);
            border: 1px solid rgba(0,212,255,0.2);
            border-radius: 14px;
            padding: 18px 22px;
            margin-bottom: 28px;
            font-size: 0.92rem;
            line-height: 1.8;
            color: #c8d6e5;
        }
        .next-notice strong { color: #00d4ff; }

        /* ===== tabs ===== */
        .tabs {
            display: flex;
            gap: 8px;
            margin-bottom: 20px;
        }
        .tab-btn {
            padding: 10px 28px;
            border-radius: 50px;
            border: 1px solid rgba(255,255,255,0.1);
            background: rgba(255,255,255,0.04);
            color: #8892b0;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.25s ease;
        }
        .tab-btn:hover { border-color: rgba(0,212,255,0.3); color: #e0e0e0; }
        .tab-btn:focus { outline: none; }
        .tab-btn.active {
            background: rgba(0,212,255,0.12);
            border-color: rgba(0,212,255,0.5);
            color: #00d4ff;
        }

        /* ===== tab panels ===== */
        .tab-panel { display: none; }
        .tab-panel.active { display: block; }

        /* ===== year summary ===== */
        .year-summary {
            background: rgba(123,44,191,0.1);
            border: 1px solid rgba(123,44,191,0.25);
            border-radius: 12px;
            padding: 14px 20px;
            margin-bottom: 20px;
            font-size: 0.9rem;
            color: #c8d6e5;
        }
        .year-summary strong { color: #b388ff; }

        /* ===== window table ===== */
        .window-section { margin-bottom: 28px; }
        .window-section h3 {
            font-size: 1rem;
            color: #ffffff;
            margin-bottom: 12px;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .window-section h3::before {
            content: '';
            display: inline-block;
            width: 3px;
            height: 16px;
            background: linear-gradient(180deg, #00d4ff, #7b2cbf);
            border-radius: 2px;
        }
        .window-grid {
            display: grid;
            grid-template-columns: repeat(5, 1fr);
            gap: 8px;
        }
        .window-item {
            background: rgba(0,212,255,0.06);
            border: 1px solid rgba(0,212,255,0.15);
            border-radius: 8px;
            padding: 10px 8px;
            text-align: center;
            font-size: 0.85rem;
            color: #a0aec0;
            transition: all 0.2s;
        }
        .window-item:hover { background: rgba(0,212,255,0.1); color: #e0e0e0; }

        /* ===== adjust records ===== */
        .records-section h3 {
            font-size: 1rem;
            color: #ffffff;
            margin-bottom: 14px;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .records-section h3::before {
            content: '';
            display: inline-block;
            width: 3px;
            height: 16px;
            background: linear-gradient(180deg, #00d4ff, #7b2cbf);
            border-radius: 2px;
        }
        .record-list { display: flex; flex-direction: column; gap: 10px; }
        .record-item {
            display: flex;
            align-items: center;
            gap: 14px;
            padding: 14px 18px;
            background: rgba(255,255,255,0.03);
            border: 1px solid rgba(255,255,255,0.06);
            border-radius: 12px;
            transition: all 0.2s;
        }
        .record-item:hover { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.1); }
        .record-date {
            min-width: 120px;
            font-size: 0.88rem;
            color: #8892b0;
            flex-shrink: 0;
        }
        .record-result {
            flex: 1;
            font-size: 0.9rem;
            color: #e0e0e0;
            line-height: 1.5;
        }
        .record-badge {
            flex-shrink: 0;
            padding: 3px 12px;
            border-radius: 20px;
            font-size: 0.78rem;
            font-weight: 600;
        }
        .badge-up { background: rgba(255,100,100,0.12); color: #ff6b6b; border: 1px solid rgba(255,100,100,0.25); }
        .badge-down { background: rgba(81,207,102,0.12); color: #51cf66; border: 1px solid rgba(81,207,102,0.25); }
        .badge-none { background: rgba(255,255,255,0.05); color: #8892b0; border: 1px solid rgba(255,255,255,0.1); }
        .record-item.pending {
            opacity: 0.45;
        }
        .record-item.pending .record-result { color: #6c757d; font-style: italic; }

        /* ===== mechanism ===== */
        .mechanism {
            margin-top: 36px;
            padding: 20px 22px;
            background: rgba(255,255,255,0.03);
            border-radius: 14px;
        }
        .mechanism h3 {
            font-size: 1rem;
            color: #ffffff;
            margin-bottom: 10px;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .mechanism h3::before {
            content: '';
            display: inline-block;
            width: 3px;
            height: 16px;
            background: linear-gradient(180deg, #00d4ff, #7b2cbf);
            border-radius: 2px;
        }
        .mechanism p { font-size: 0.88rem; color: #8892b0; line-height: 1.8; }

        /* ===== footer ===== */
        footer {
            margin-top: 50px;
            padding-top: 20px;
            text-align: center;
        }
        .tag-live {
            display: inline-block;
            padding: 4px 14px;
            border-radius: 20px;
            background: rgba(0,212,255,0.1);
            color: #00d4ff;
            font-size: 0.82rem;
            font-weight: 500;
            margin-bottom: 8px;
        }
        .update-time { color: #6c757d; font-size: 0.82rem; }

        /* ===== site search ===== */
        .site-search { max-width: 500px; margin: 0 auto 24px; position: relative; }
        .site-search input { width: 100%; padding: 12px 20px; 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: 0.95rem; outline: none; transition: all 0.3s ease; }
        .site-search input:focus { border-color: #00d4ff; background: rgba(255,255,255,0.08); box-shadow: 0 0 20px rgba(0,212,255,0.15); }
        .site-search .search-icon { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: #6c757d; font-size: 1rem; }
        .search-dropdown { max-width: 500px; margin: -18px 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; }
        .hidden { display: none; }

        @media (max-width: 640px) {
            .page-title { font-size: 1.4rem; }
            .window-grid { grid-template-columns: repeat(3, 1fr); }
            .record-item { flex-wrap: wrap; gap: 8px; }
            .record-date { min-width: unset; }
            .tabs { gap: 6px; }
            .tab-btn { padding: 8px 18px; font-size: 0.9rem; }
            .nav-links { gap: 6px; }
            .nav-links .nav-btn { padding: 6px 12px; font-size: 0.78rem; }
        }