/* hot 页样式 - 单独维护，不再由 SSG 生成 */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
    padding-bottom: 70px;
    background-color: #ffffff;
    color: #000;
}
.page-container {
    width: 100%;
    max-width: 600px;
}
.logo-section {
    text-align: center;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.logo-icon {
    width: 250px;
    height: 100px;
    object-fit: contain;
}
.search-wrapper {
    position: relative;
    width: 100%;
    max-width: 300px;
    margin: 0 auto 20px;
    z-index: 1;
}
.search-input {
    width: 100%;
    height: 40px;
    border: 2px solid #000;
    border-radius: 50px;
    padding: 0 60px 0 25px;
    font-size: 18px;
    outline: none;
    transition: box-shadow 0.2s;
    position: relative;
    z-index: 1;
}
.search-input:focus {
    box-shadow: 0 0 0 4px rgba(0,0,0,0.1);
}
.search-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    text-decoration: none;
    z-index: 10;
    pointer-events: auto;
}
.search-btn svg {
    width: 24px;
    height: 24px;
    color: #000;
}
.back-home-btn {
    display: inline-block;
    margin-left: 8px;
    padding: 6px 12px;
    background-color: #000;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    transition: background-color 0.2s;
    vertical-align: middle;
}
.back-home-btn:hover {
    background-color: #333;
}
h1 {
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 600;
}
.sub-meta {
    margin-bottom: 8px;
    font-size: 13px;
    color: #666;
    text-align: center;
}
.subject-intro {
    margin: 10px 0 20px;
    font-size: 13px;
    color: #333;
    line-height: 1.6;
    text-align: left;
    padding: 12px;
    background: #f9f9f9;
    border-radius: 6px;
}
.intro-label {
    font-weight: 600;
    color: #000;
    margin-right: 5px;
}
.links-list {
    margin-top: 10px;
}
.link-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 10px;
    background: #fafafa;
    transition: all 0.2s ease;
}
.link-item:hover {
    border-color: #007AFF;
    background: #f0f7ff;
    box-shadow: 0 2px 4px rgba(0, 122, 255, 0.1);
}
.link-name {
    font-size: 14px;
    color: #000;
    margin-bottom: 10px;
    line-height: 1.4;
    font-weight: 500;
}
.link-action {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.link-button {
    display: inline-block;
    padding: 8px 16px;
    background-color: #007AFF;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.2s;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}
.link-button:hover {
    background-color: #0056b3;
}
.link-note {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    white-space: nowrap;
    font-weight: 500;
}
.meta-info {
    text-align: center;
    font-size: 12px;
    color: #999;
    margin-top: 10px;
}
/* Footer - 与首页保持一致 */
.footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    color: #000;
    margin-top: 30px;
}
.footer .disclaimer {
    color: #999;
    font-size: 8px;
    margin: 8px 0;
}
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-top: 10px;
}
.footer-text {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 3px;
    font-weight: 500;
    text-transform: uppercase;
    margin: 0;
}
.footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin: 5px 0;
    font-size: 11px;
}
.footer-link {
    color: #666;
    text-decoration: none;
    transition: color 0.2s;
}
.footer-link:hover {
    color: #000;
    text-decoration: underline;
}
.footer-separator {
    color: #ccc;
    user-select: none;
}
.footer-disclaimer {
    color: #999;
    font-size: 8px;
    margin: 4px 0;
    text-align: center;
    max-width: 1000px;
    padding: 0 15px;
    line-height: 1.4;
}
.footer-icp {
    margin: 0;
    padding: 4px 0;
    text-align: center;
    line-height: 1.2;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px 8px;
}
.icp-link {
    color: #b6b6b679;
    font-size: 8px;
    text-decoration: none;
    transition: color 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.icp-link:hover {
    color: #666;
    text-decoration: underline;
}
.footer-beian-icon {
    width: 14px;
    height: 14px;
    vertical-align: middle;
    object-fit: contain;
}
.github-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #000;
    text-decoration: none;
    transition: transform 0.2s, opacity 0.2s;
}
.github-link:hover {
    opacity: 0.8;
}
.github-icon {
    width: 20px;
    height: 20px;
}
@media (max-width: 600px) {
    .page-container {
        padding: 10px;
    }
    h1 {
        font-size: 20px;
    }
    .search-wrapper {
        max-width: 100%;
    }
}
