/* ==========================================================
   liMine 小站 · Mine.css
   注意：这是 CSS 文件，不再包含 <style> 标签。
   ========================================================== */

* { box-sizing: border-box; }

body {
    margin: 0;
    padding: 0;
    font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    color: #333;
    -webkit-font-smoothing: antialiased;
}

/* ---------------- 背景与卡片 ---------------- */

.background-container {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 16px 0;
}

.profile-card {
    width: min(92vw, 520px);
    background-color: rgba(255, 255, 255, var(--card-opacity, .8));
    padding: 30px 24px 24px;
    border-radius: var(--card-radius, 12px);
    text-align: center;
    box-shadow: 0 16px 50px rgba(0, 0, 0, .18);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    animation: cardIn .6s ease both;
}

@keyframes cardIn {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

.profile-image {
    width: 132px;
    height: 132px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 12px;
    border: 4px solid rgba(255, 255, 255, .9);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .16);
    background: #eee;
    transition: transform .35s ease;
}

.profile-image:hover { transform: rotate(-4deg) scale(1.04); }
.profile-image.square { border-radius: 16px; }

.site-nickname {
    font-size: 28px;
    margin: 6px 0 10px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #1f2d3d;
}

.site-intro {
    margin: 0 0 6px;
    color: #666;
    font-size: 1rem;
    line-height: 1.7;
}

.site-intro span { white-space: nowrap; }

.site-intro-extra {
    margin: 6px 0 0;
    color: #888;
    font-size: .92em;
}

.contact-info {
    margin-top: 14px;
    font-size: 16px;
    color: #444;
    word-break: break-all;
}

.contact-info a {
    color: var(--theme-color, #16baaa);
    text-decoration: none;
}

.contact-info a:hover { text-decoration: underline; }

.social-links {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.social-links a {
    margin: 0;
    font-size: 14px;
}

.social-links a .layui-icon { margin-right: 4px; }

/* ---------------- 一言 ---------------- */

.hitokoto-wrap { margin-top: 22px; }

.hitokoto-card {
    text-align: left;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(255, 255, 255, .7);
    border: 1px solid rgba(0, 0, 0, .05);
}

.hitokoto-title {
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #16baaa;
    background: rgba(22, 186, 170, .08);
}

.hitokoto-body { padding: 12px 14px; }

.hitokoto-body p {
    margin: 0;
    font-size: 14px;
    line-height: 1.8;
    color: #555;
    word-break: break-all;
}

/* ---------------- 页脚 / 版权 / 备案 ---------------- */

.footer {
    width: 100%;
    text-align: center;
    margin-top: auto;
    padding: 18px 10px 20px;
    font-size: 12px;
    color: #4a4a4a;
    text-shadow: 0 1px 2px rgba(255, 255, 255, .5);
}

.footer p { margin: 4px 0; }

.footer .footer-admin {
    color: #4a4a4a;
    text-decoration: none;
}

.footer .footer-admin:hover { color: var(--theme-color, #16baaa); }

.footer-extra { color: #4a4a4a; }

/* 备案展示区 */
.beian-area {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 10px;
    align-items: center;
    justify-content: center;
    font-size: 12.5px;
}

.beian-area.beian-left { justify-content: flex-start; padding-left: 4px; }

.beian-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #333;
    text-decoration: none;
    line-height: 1.4;
    transition: all .22s ease;
    padding: 3px 2px;
    border-radius: 30px;
}

.beian-link .layui-icon { font-size: 14px; color: #16baaa; }

.beian-link .beian-num { font-weight: 600; letter-spacing: .3px; }

.beian-link:hover {
    color: #16baaa;
    text-decoration: none;
}

/* 药丸样式 */
.beian-style-pill .beian-link {
    background: rgba(255, 255, 255, .82);
    border: 1px solid rgba(0, 0, 0, .07);
    padding: 4px 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
}

.beian-style-pill .beian-link:hover {
    background: #fff;
    border-color: #16baaa;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(22, 186, 170, .22);
}

/* 纯文字样式 */
.beian-style-text .beian-link { padding: 0 4px; }

/* 图标样式（只显示图标 + 号码） */
.beian-style-icon .beian-label { display: none; }

/* 公安备案图标 */
.beian-gongan-icon {
    width: 15px;
    height: 16px;
    vertical-align: -2px;
    image-rendering: auto;
}

/* ---------------- 响应式 ---------------- */

@media (max-width: 560px) {
    .profile-card { padding: 24px 16px 20px; }
    .site-nickname { font-size: 24px; }
    .profile-image { width: 108px; height: 108px; }
    .social-links { gap: 8px; }
    .social-links a { font-size: 13px; padding: 0 12px; }
    .beian-area { font-size: 11.5px; }
}
