        /* 全站基础样式：Minecraft 风格的方块感 + 卡片布局 */

        * {
            box-sizing: border-box;
        }

        body {
            font-family: 'Microsoft YaHei', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
            margin: 0;
            padding: 0;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            align-items: center;
            color: #eaeff4;
            /* 草地方块感背景 */
            background:
                linear-gradient(90deg, rgba(0, 0, 0, 0.08) 1px, transparent 1px),
                linear-gradient(180deg, rgba(0, 0, 0, 0.08) 1px, #1c242a 1px),
                linear-gradient(180deg, #1f2f1f 0, #1f2f1f 80px, #1b242c 80px, #1b242c 100%);
            background-size: 16px 16px, 16px 16px, 100% 100%;
        }

        main {
            width: 100%;
            max-width: 1080px;
            padding: 24px 16px 40px;
        }

        header {
            width: 100%;
            background: linear-gradient(120deg, #1c9b3b, #2ecc71);
            color: #f7fff9;
            text-align: center;
            padding: 18px 10px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
            border-bottom: 4px solid #14662a;
            position: sticky;
            top: 0;
            z-index: 10;
        }

        header h1 {
            margin: 0;
            font-size: 2rem;
            letter-spacing: 0.08em;
            text-shadow: 0 3px 0 rgba(0, 0, 0, 0.5);
        }

        header p {
            margin: 6px 0 0;
            font-size: 0.9rem;
            opacity: 0.9;
        }

        .page-subtitle {
            text-align: center;
            margin: 18px 0 8px;
            color: #c9d6df;
            font-size: 0.95rem;
        }

        .container {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 20px;
            margin-top: 16px;
        }

        /* 首页与下载页的卡片 */
        .card,
        .server-card {
            background: radial-gradient(circle at top, #3b4b3b 0, #27343c 45%, #1b242c 100%);
            border-radius: 12px;
            box-shadow:
                0 18px 32px rgba(0, 0, 0, 0.65),
                0 0 0 1px rgba(255, 255, 255, 0.03);
            padding: 18px 18px 20px;
            width: 280px;
            text-align: left;
            position: relative;
            overflow: hidden;
            transition:
                transform 0.18s ease-out,
                box-shadow 0.18s ease-out,
                translate 0.18s ease-out,
                background 0.18s ease-out;
        }

        .card::before,
        .server-card::before {
            content: "";
            position: absolute;
            inset: 0;
            background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.18), transparent 60%);
            opacity: 0.0;
            pointer-events: none;
            transition: opacity 0.18s ease-out;
        }

        .card:hover,
        .server-card:hover {
            transform: translateY(-4px) scale(1.01);
            box-shadow:
                0 20px 38px rgba(0, 0, 0, 0.75),
                0 0 0 1px rgba(255, 255, 255, 0.06);
        }

        .card:hover::before,
        .server-card:hover::before {
            opacity: 1;
        }

        .first-title,
        .server-title {
            font-size: 1.15rem;
            color: #ecf5ff;
            margin: 0 0 10px;
            padding-bottom: 6px;
            border-bottom: 2px solid rgba(189, 236, 182, 0.85);
        }

        .card-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 6px;
            font-size: 0.85rem;
            color: #d0dde6;
        }

        .tag-pill {
            display: inline-flex;
            align-items: center;
            padding: 2px 8px;
            border-radius: 999px;
            font-size: 0.78rem;
            background: rgba(0, 0, 0, 0.35);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .card-accent-java {
            border-top: 4px solid #e67e22;
        }

        .card-accent-bedrock {
            border-top: 4px solid #3498db;
        }

        .card-accent-mixed {
            border-top: 4px solid #9b59b6;
        }

        .card-accent-download {
            border-top: 4px solid #f1c40f;
        }

        /* 首页「Join Now」链接样式 */
        .server-link {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            margin-top: 12px;
            padding: 6px 10px;
            background: rgba(39, 174, 96, 0.84);
            color: #f8fff4;
            border-radius: 8px;
            font-size: 0.9rem;
            text-decoration: none;
            border: 1px solid rgba(0, 0, 0, 0.4);
            box-shadow: 0 2px 0 rgba(0, 0, 0, 0.45);
            transform: translateY(0);
            transition:
                transform 0.12s ease-out,
                box-shadow 0.12s ease-out,
                background 0.15s ease-out;
        }

        .server-link span:first-child {
            font-weight: 600;
        }

        .server-link span:last-child {
            font-size: 0.82rem;
            opacity: 0.92;
        }

        .server-link:hover {
            background: rgba(46, 204, 113, 0.96);
            transform: translateY(-1px);
            box-shadow: 0 3px 0 rgba(0, 0, 0, 0.55);
        }

        .server-link:active {
            transform: translateY(0);
            box-shadow: 0 1px 0 rgba(0, 0, 0, 0.6);
        }

        /* 服务器详情页内容 */
        .server-intro {
            font-size: 0.9rem;
            color: #d0dde6;
            margin: 6px 0 10px;
        }

        .server-address {
            font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
            background-color: rgba(10, 16, 22, 0.8);
            padding: 8px 10px;
            border-radius: 6px;
            font-size: 0.95rem;
            word-break: break-all;
            min-height: 20px;
            border: 1px solid rgba(255, 255, 255, 0.06);
            margin-top: 4px;
        }

        .java {
            border-top: 4px solid #e74c3c;
        }

        .bedrock {
            border-top: 4px solid #3498db;
        }

        .status {
            margin-top: 8px;
            font-size: 0.85rem;
            color: #9fb3c8;
        }

        .last-updated {
            font-size: 0.78rem;
            color: #8a9bad;
            margin-top: 3px;
        }

        .update-btn {
            background: #2c3e50;
            color: #ecf0f1;
            border: 1px solid rgba(0, 0, 0, 0.6);
            padding: 8px 18px;
            border-radius: 8px;
            cursor: pointer;
            margin-top: 8px;
            font-size: 0.9rem;
            letter-spacing: 0.03em;
            box-shadow: 0 2px 0 rgba(0, 0, 0, 0.6);
            transition:
                background 0.15s ease-out,
                transform 0.12s ease-out,
                box-shadow 0.12s ease-out;
        }

        .update-btn:hover {
            background: #34495e;
            transform: translateY(-1px);
            box-shadow: 0 3px 0 rgba(0, 0, 0, 0.7);
        }

        .update-btn:active {
            transform: translateY(0);
            box-shadow: 0 1px 0 rgba(0, 0, 0, 0.7);
        }

        /* 统一 footer */
        footer {
            margin-top: auto;
            background-color: #11181f;
            color: #9fb3c8;
            width: 100%;
            text-align: center;
            padding: 14px 8px;
            font-size: 0.8rem;
            border-top: 1px solid rgba(255, 255, 255, 0.04);
        }

        /* 返回首页 / 导航链接 */
        .back-link {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            margin: 12px 0 6px;
            font-size: 0.85rem;
            color: #c0e5ff;
            text-decoration: none;
            opacity: 0.92;
            transition: opacity 0.15s ease-out, transform 0.12s ease-out;
        }

        .back-link::before {
            content: "←";
            font-size: 0.9rem;
        }

        .back-link:hover {
            opacity: 1;
            transform: translateY(-1px);
        }

        /* 下载页图标布局与文字 */
        .download-list {
            display: flex;
            flex-direction: column;
            gap: 16px;
            margin-top: 10px;
        }

        .download-card {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .download-card img {
            border-radius: 8px;
            box-shadow: 0 6px 14px rgba(0, 0, 0, 0.65);
        }

        .download-title {
            font-size: 1rem;
            margin: 0 0 4px;
            color: #ecf5ff;
        }

        .download-meta {
            font-size: 0.82rem;
            color: #a8b9c8;
        }

        /* 服务器实时状态卡片（mcapi JSON） */
        .server-status-card {
            background: radial-gradient(circle at top, #3b4b3b 0, #27343c 45%, #1b242c 100%);
            border-radius: 12px;
            box-shadow: 0 18px 32px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.03);
            padding: 18px 20px;
            margin: 16px auto 24px;
            max-width: 480px;
            width: 100%;
            border-top: 4px solid #3498db;
        }

        .server-status-card .server-title {
            margin-top: 0;
        }

        .mcapi-row {
            display: flex;
            flex-wrap: wrap;
            align-items: flex-start;
            gap: 8px 12px;
            margin-top: 10px;
        }

        .mcapi-row-inline {
            display: inline-flex;
            margin-top: 6px;
            margin-right: 16px;
        }

        .mcapi-label {
            color: #9fb3c8;
            font-size: 0.85rem;
            min-width: 56px;
        }

        .mcapi-value {
            color: #ecf5ff;
            font-size: 0.95rem;
        }

        .mcapi-motd {
            flex: 1;
            min-width: 0;
            word-break: break-word;
            line-height: 1.4;
        }

        .mcapi-status-badge {
            padding: 2px 8px;
            border-radius: 6px;
            font-size: 0.9rem;
        }

        .mcapi-status-badge.mcapi-online {
            background: rgba(39, 174, 96, 0.35);
            color: #2ecc71;
        }

        .mcapi-status-badge.mcapi-offline {
            background: rgba(231, 76, 60, 0.35);
            color: #e74c3c;
        }

        /* 链接基础样式 */
        a {
            color: inherit;
            text-decoration: none;
        }

        a:hover {
            text-decoration: none;
        }

        /* 响应式微调 */
        @media (max-width: 720px) {
            header h1 {
                font-size: 1.5rem;
            }

            main {
                padding-inline: 12px;
            }

            .card,
            .server-card {
                width: 100%;
                max-width: 420px;
            }
        }