:root {
            --primary-red: #c41e3a;
            --accent-gold: #ffca28;
            --text-white: #ffffff;
            --glass-border: rgba(255, 255, 255, 0.25);
        }

        * { box-sizing: border-box; margin: 0; padding: 0; }
        html, body { height: 100%; }
        body {
            font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
            min-height: 100vh;
            background: url('/LOGO/飞单背景.jpg') no-repeat center center fixed;
            background-size: cover;
            display: flex;
            flex-direction: column;
        }

        body::before {
            content: ''; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
            background: rgba(0, 0, 0, 0.2); z-index: -1;
        }

        .notice-bar {
            background: rgba(196, 30, 58, 0.85); backdrop-filter: blur(10px);
            border-bottom: 2px solid var(--accent-gold); padding: 10px;
            font-size: 13px; color: var(--accent-gold); text-align: center; font-weight: 600;
        }

        .header {
            display: flex; justify-content: space-between; align-items: center;
            padding: 15px 25px;
        }
        .logo-area { display: flex; align-items: center; gap: 15px; }
        .logo-img { width: 60px; height: 60px; border-radius: 12px; }
        .logo-title { font-size: 26px; font-weight: 800; color: var(--text-white); text-shadow: 0 2px 4px rgba(0,0,0,0.3); }

        #refresh-info {
            background: rgba(255, 202, 40, 0.15); backdrop-filter: blur(5px);
            padding: 6px 18px; border-radius: 20px; font-size: 12px;
            border: 1px solid var(--accent-gold); color: var(--accent-gold); font-weight: 600;
        }

        .main-wrapper { display: flex; flex: 1; gap: 20px; padding: 10px 30px 15px; max-width: 1600px; margin: 0 auto; width: 100%; align-items: stretch; justify-content: center; }

        .left-panel { flex: 1; min-width: 0; display: flex; flex-direction: column; }
        .grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 14px; flex: 1; align-content: stretch; }

        .card {
            background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(15px);
            border: 1px solid var(--glass-border); border-radius: 14px;
            padding: 18px 10px; text-align: center; transition: all 0.3s; position: relative;
            display: flex; flex-direction: column; justify-content: center;
        }
        .card:hover { transform: translateY(-5px); background: rgba(255, 255, 255, 0.15); border-color: var(--accent-gold); }

        .crown-icon { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); width: 24px; height: 24px; display: none; }
        .card.is-fastest .crown-icon { display: block; }

        .domain { font-size: 14px; font-weight: 700; color: rgba(255, 255, 255, 0.9); margin-top: 3px; margin-bottom: 10px; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: color 0.3s; }
        .card.is-fastest .domain { color: var(--accent-gold); text-shadow: 0 0 10px rgba(255, 202, 40, 0.5); }

        .speed-val { font-size: 18px; font-weight: 800; margin-bottom: 6px; display: block; color: var(--text-white); }
        .status-badge { font-size: 10px; font-weight: 600; padding: 1px 6px; border-radius: 8px; background: rgba(255, 255, 255, 0.1); color: var(--text-white); }

        .btn-group { margin-top: 10px; display: flex; flex-direction: column; gap: 5px; }
        .btn { width: 100%; padding: 6px; border-radius: 6px; border: none; font-size: 11px; font-weight: 600; cursor: pointer; transition: 0.2s; }
        .btn-enter { background: linear-gradient(135deg, var(--primary-red), #8b1428); color: var(--text-white); }
        .btn-enter:hover { background: linear-gradient(135deg, #8b1428, var(--primary-red)); }
        .btn-copy { background: rgba(255, 255, 255, 0.15); color: var(--text-white); border: 1px solid rgba(255, 255, 255, 0.2); }
        .btn-copy:hover { background: rgba(255, 202, 40, 0.3); border-color: var(--accent-gold); }

        .right-panel { width: 200px; display: flex; flex-direction: column; gap: 12px; justify-content: space-between; }

        .tool-section {
            background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(15px);
            border: 1px solid var(--glass-border); border-radius: 12px;
            padding: 12px; color: var(--text-white);
        }

        .tool-title { font-size: 11px; font-weight: 700; margin-bottom: 8px; color: var(--accent-gold); }

        .top3-list { display: flex; flex-direction: column; gap: 6px; }
        .top3-item {
            background: rgba(255, 255, 255, 0.08); padding: 6px 8px; border-radius: 6px;
            font-size: 11px; color: rgba(255, 255, 255, 0.8); overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
            cursor: pointer; transition: 0.2s;
        }
        .top3-item:hover { background: rgba(255, 202, 40, 0.2); color: var(--accent-gold); }

        .quick-btn {
            background: linear-gradient(135deg, var(--primary-red), #8b1428); color: var(--text-white);
            border: none; padding: 8px; border-radius: 6px; font-size: 11px; font-weight: 600;
            cursor: pointer; transition: 0.2s; width: 100%;
        }
        .quick-btn:hover { background: linear-gradient(135deg, #8b1428, var(--primary-red)); }
        .quick-btn.outline { background: rgba(255, 255, 255, 0.08); border: 1px solid var(--accent-gold); color: var(--accent-gold); }

        .main-entry {
            background: rgba(255, 255, 255, 0.08); backdrop-filter: blur(10px);
            border: 2px solid var(--accent-gold); border-radius: 12px; padding: 12px;
            text-align: center; cursor: pointer; transition: 0.3s;
        }
        .main-entry:hover { background: rgba(255, 202, 40, 0.15); transform: scale(1.03); }
        .entry-icon { width: 45px; height: 45px; margin: 0 auto 6px; border-radius: 8px; mix-blend-mode: screen; opacity: 0.85; }
        .entry-text { font-size: 11px; font-weight: 600; color: var(--accent-gold); }

        .footer-apps {
            background: rgba(196, 30, 58, 0.5); backdrop-filter: blur(10px);
            border-top: 2px solid var(--accent-gold); padding: 15px;
            display: flex; justify-content: center; gap: 25px; flex-wrap: wrap;
            align-items: center;
        }

        .app-item { cursor: pointer; transition: 0.3s; }
        .app-item:hover { transform: scale(1.15); }
        .app-icon { width: 45px; height: 45px; border-radius: 10px; object-fit: cover; }

        .side-btns { display: flex; flex-direction: column; gap: 10px; }
        .glass-tool {
            width: 100%; padding: 15px; border-radius: 12px;
            background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
            border: 1px solid rgba(255, 255, 255, 0.3); box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
            display: flex; align-items: center; justify-content: center;
            cursor: pointer; transition: 0.3s; color: var(--text-white);
            text-decoration: none; font-size: 14px; font-weight: bold; text-align: center;
        }
        .glass-tool:hover { border-color: var(--accent-gold); color: var(--accent-gold); background: rgba(255, 202, 40, 0.15); transform: translateY(-3px); }

        @media (max-width: 1200px) {
            .main-wrapper { flex-direction: column; }
            .right-panel { width: 100%; flex-direction: row; flex-wrap: wrap; }
            .tool-section { flex: 1; min-width: 200px; }
            .grid { grid-template-columns: repeat(5, 1fr); }
        }
        @media (max-width: 768px) {
            .grid { grid-template-columns: repeat(3, 1fr); }
            .header { flex-direction: column; gap: 10px; }
        }
