* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft Yahei", system-ui, sans-serif;
}
body {
    background-color: #f4f7fc;
    color: #333;
    line-height: 1.7;
    padding-bottom: 50px;
}
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 15px;
}
header {
    background: #2563eb;
    color: #fff;
    padding: 20px 0;
    margin-bottom: 30px;
}
.header-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.site-title {
    font-size: 26px;
    font-weight: bold;
}
.head-nav a {
    color: #fff;
    text-decoration: none;
    margin-left: 24px;
    font-size: 16px;
}
.head-nav a:hover {
    text-decoration: underline;
}
.cat-block {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.cat-title {
    font-size: 20px;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}
.link-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}
.link-card {
    padding: 14px;
    border-radius: 8px;
    border: 2px solid #ddd;
    transition: all 0.2s;
}
.link-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.hot-0 { border-color: #cccccc; }
.hot-1-9 { border-color: #3b82f6; }
.hot-10-19 { border-color: #f97316; }
.hot-20plus { border-color: #ef4444; }
.link-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
}
.link-desc {
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.link-stat {
    font-size: 11px;
    color: #999;
}
.link-card a.out-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 4px 10px;
    background: #2563eb;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 13px;
}
.form-wrap {
    max-width: 720px;
    background: #fff;
    margin: 0 auto;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.form-title {
    font-size: 22px;
    margin-bottom: 24px;
    text-align: center;
}
.form-item {
    margin-bottom: 20px;
}
.form-item label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}
.form-item input,.form-item textarea,.form-item select {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
}
.form-item input:focus,.form-item textarea:focus {
    border-color: #2563eb;
    outline: none;
}
.tip-text {
    font-size: 12px;
    color: #888;
    margin-top: 4px;
}
.submit-btn {
    width: 100%;
    padding: 13px;
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
}
.submit-btn:hover {
    background: #1d4ed8;
}
.rules-box {
    background: #f0f7ff;
    padding: 16px;
    border-radius: 6px;
    margin-bottom: 25px;
    font-size: 14px;
}
.in-link-show {
    margin-top: 12px;
    padding: 10px;
    background: #f5f5f5;
    word-break: break-all;
}
.jump-box {
    max-width: 600px;
    margin: 80px auto;
    background: #fff;
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
}
.ad-area {
    margin: 20px 0;
    padding: 15px;
    background: #f8f8f8;
    border: 1px dashed #ccc;
}
.countdown {
    font-size: 18px;
    color: #ef4444;
    margin: 20px 0;
}
.jump-btn {
    display: inline-block;
    padding: 10px 24px;
    background: #2563eb;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
}