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

body {
    font-family: "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
    background: url('/bg.jpg') no-repeat center center fixed;
    background-size: cover;
    min-height: 100vh;
    color: #fff;
    font-size: 14px;
}

.head {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding: 14px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.head .title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 2px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.head .right { display: flex; align-items: center; gap: 4px; }
.head .right a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    margin-left: 14px;
    padding: 6px 14px;
    border-radius: 8px;
    transition: all 0.2s;
}
.head .right a:hover {
    background: rgba(255,255,255,0.15);
    color: #fff;
}

.wrap { max-width: 1000px; margin: 24px auto; padding: 0 20px; }

.box {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    margin-bottom: 18px;
    overflow: hidden;
}
.box .bar {
    background: rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding: 12px 18px;
    font-weight: 600;
    color: #fff;
    font-size: 15px;
}
.box .body { padding: 18px; color: rgba(255,255,255,0.9); }

.key-box {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 12px 16px;
    font-family: Consolas, monospace;
    font-size: 13px;
    color: #ffe066;
    border-radius: 10px;
    word-break: break-all;
}

.link-list { list-style: none; padding: 0; margin: 0; }
.link-list li {
    padding: 12px 14px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    transition: background 0.2s;
}
.link-list li:last-child { border-bottom: none; }
.link-list li:hover { background: rgba(255,255,255,0.08); }
.link-list .name {
    font-weight: 700;
    color: #ffe066;
    min-width: 140px;
}
.link-list .desc { flex: 1; color: rgba(255,255,255,0.75); font-size: 13px; }
.link-list .go {
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    padding: 4px 12px;
    background: rgba(255,255,255,0.15);
    border-radius: 6px;
    transition: background 0.2s;
}
.link-list .go:hover { background: rgba(255,255,255,0.28); }

input[type=text], input[type=password], input[type=file], select, textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 10px;
    font-size: 14px;
    color: #fff;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.2s;
}
input::placeholder, textarea::placeholder { color: rgba(255,255,255,0.5); }
input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.14);
}
textarea {
    min-height: 80px;
    resize: vertical;
    font-family: Consolas, monospace;
    font-size: 13px;
}

.btn {
    padding: 10px 24px;
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
}
.btn:hover { background: rgba(255,255,255,0.3); }
.btn-primary { background: rgba(52,152,219,0.5); border-color: rgba(52,152,219,0.6); }
.btn-primary:hover { background: rgba(52,152,219,0.7); }

.tabs { display: flex; border-bottom: 1px solid rgba(255,255,255,0.15); margin-bottom: 14px; }
.tab {
    padding: 10px 20px;
    cursor: pointer;
    color: rgba(255,255,255,0.65);
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    font-size: 14px;
    transition: all 0.2s;
}
.tab.active { color: #fff; border-bottom-color: #ffe066; font-weight: 600; }
.tab:hover { color: rgba(255,255,255,0.9); }
.tab-content { display: none; }
.tab-content.active { display: block; }

pre {
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    color: #f8f8f2;
    padding: 14px;
    border-radius: 10px;
    overflow: auto;
    font-size: 13px;
    line-height: 1.5;
    max-height: 320px;
    border: 1px solid rgba(255,255,255,0.1);
}

table { width: 100%; border-collapse: collapse; }
table th, table td {
    padding: 8px 14px;
    border: 1px solid rgba(255,255,255,0.15);
    text-align: left;
    font-size: 13px;
    color: rgba(255,255,255,0.9);
}
table th {
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.95);
    font-weight: 600;
    width: 80px;
}

.note { color: rgba(255,255,255,0.6); font-size: 12px; line-height: 1.6; }
.note a { color: #ffe066; text-decoration: none; }

.form-row { margin-bottom: 14px; }
.form-row label { display: block; margin-bottom: 5px; color: rgba(255,255,255,0.85); font-size: 13px; }

.auth-wrap {
    max-width: 400px;
    margin: 80px auto;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    padding: 36px;
}
.auth-wrap h1 { text-align: center; color: #fff; margin-bottom: 24px; font-size: 22px; letter-spacing: 2px; text-shadow: 0 2px 8px rgba(0,0,0,0.3); }
.auth-wrap .btn { width: 100%; padding: 12px; font-size: 15px; }
.auth-wrap .link { text-align: center; margin-top: 14px; font-size: 13px; color: rgba(255,255,255,0.7); }
.auth-wrap .link a { color: #ffe066; text-decoration: none; }

.error { color: #ff6b6b; font-size: 13px; margin-top: 8px; }
.success { color: #51cf66; font-size: 13px; margin-top: 8px; }

.captcha-row { display: flex; gap: 10px; }
.captcha-row input { flex: 1; }
.captcha-row img { height: 38px; cursor: pointer; border-radius: 8px; border: 1px solid rgba(255,255,255,0.2); }

.fp-panel { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 14px; margin-top: 14px; }
