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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Microsoft YaHei', sans-serif;
    background: #000000;
    min-height: 100vh;
    color: #e4e4e7;
    overflow-x: hidden;
}

.bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(139, 92, 246, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139, 92, 246, 0.05) 1px, transparent 1px);
    background-size: 60px 60px;
}

.glow-line {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.5), transparent);
    animation: flow 20s linear infinite;
}

.glow-line:nth-child(1) { top: 15%; width: 50%; left: -10%; animation-delay: 0s; }
.glow-line:nth-child(2) { top: 35%; width: 70%; left: -20%; animation-delay: -5s; animation-duration: 25s; }
.glow-line:nth-child(3) { top: 55%; width: 40%; left: 30%; animation-delay: -10s; animation-duration: 18s; }
.glow-line:nth-child(4) { top: 75%; width: 60%; left: -5%; animation-delay: -15s; animation-duration: 22s; }

@keyframes flow {
    0% { transform: translateX(0); opacity: 0.3; }
    50% { opacity: 0.7; }
    100% { transform: translateX(100vw); opacity: 0.3; }
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.12;
}

.glow-orb:nth-child(5) {
    width: 500px;
    height: 500px;
    background: #8b5cf6;
    top: -150px;
    right: -150px;
    animation: pulse 8s ease-in-out infinite;
}

.glow-orb:nth-child(6) {
    width: 400px;
    height: 400px;
    background: #6366f1;
    bottom: -100px;
    left: 10%;
    animation: pulse 10s ease-in-out infinite reverse;
}

.glow-orb:nth-child(7) {
    width: 300px;
    height: 300px;
    background: #a855f7;
    top: 50%;
    left: 50%;
    animation: pulse 12s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.1; transform: scale(1); }
    50% { opacity: 0.18; transform: scale(1.1); }
}

.container {
    display: flex;
    min-height: 100vh;
    position: relative;
    z-index: 1;
    padding-top: 160px;
}

.panel {
    padding: 30px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.header-panel {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    text-align: center;
    padding: 40px 40px 20px;
    background: transparent;
    border: none;
}

.header-panel h1 {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #e4e4e7 0%, #a855f7 50%, #6366f1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 4px;
    margin-bottom: 6px;
}

.header-panel p {
    font-size: 0.85rem;
    color: #71717a;
    letter-spacing: 2px;
}

.nav-panel {
    flex: 1;
    border-right: 1px solid rgba(139, 92, 246, 0.1);
}

.reserved-panel {
    flex: 1;
}

.panel-title {
    font-size: 0.75rem;
    color: #8b5cf6;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
}

.category {
    margin-bottom: 20px;
}

.category h2 {
    font-size: 0.9rem;
    color: #71717a;
    margin-bottom: 10px;
    font-weight: 500;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 8px;
}

.link-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    padding: 10px 12px;
    text-decoration: none;
    color: #e4e4e7;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.link-card:hover {
    border-color: rgba(139, 92, 246, 0.4);
    background: rgba(139, 92, 246, 0.08);
    box-shadow: 0 2px 12px rgba(139, 92, 246, 0.15);
    transform: translateY(-1px);
}

.link-card .icon {
    font-size: 1.1rem;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 5px;
}

.link-card h3 {
    font-size: 0.85rem;
    font-weight: 500;
}

.reserved-empty {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #3f3f46;
    font-size: 0.8rem;
    border: 1px dashed rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    margin: 15px;
}

.admin-link {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 10;
}

.admin-link a {
    background: rgba(139, 92, 246, 0.2);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: #a855f7;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.admin-link a:hover {
    background: rgba(139, 92, 246, 0.3);
    box-shadow: 0 2px 12px rgba(139, 92, 246, 0.2);
}

/* Admin Page Styles */
.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px 0;
}

.admin-header h1 {
    font-size: 1.5rem;
    color: #e4e4e7;
}

.visitor-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 20px 30px;
    text-align: center;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #8b5cf6;
}

.stat-label {
    font-size: 0.85rem;
    color: #71717a;
    margin-top: 5px;
}

.admin-table {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border-collapse: collapse;
    margin-bottom: 30px;
}

.admin-table th,
.admin-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.admin-table th {
    color: #8b5cf6;
    font-weight: 600;
    font-size: 0.85rem;
}

.admin-table td {
    color: #a1a1aa;
    font-size: 0.9rem;
}

.btn {
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    display: inline-block;
}

.btn-primary {
    background: rgba(139, 92, 246, 0.3);
    color: #a855f7;
    border: 1px solid rgba(139, 92, 246, 0.4);
}

.btn-danger {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.add-form {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 30px;
}

.add-form h2 {
    font-size: 1.1rem;
    color: #8b5cf6;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    color: #71717a;
    margin-bottom: 5px;
}

.form-group input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.03);
    color: #e4e4e7;
    font-size: 0.9rem;
}

.form-group input:focus {
    outline: none;
    border-color: rgba(139, 92, 246, 0.5);
}

/* Homepage: minimalist blue-white tech style */
.home-page {
    background:
        radial-gradient(circle at 12% 18%, rgba(96, 165, 250, 0.14), transparent 38%),
        radial-gradient(circle at 86% 14%, rgba(147, 197, 253, 0.15), transparent 42%),
        radial-gradient(circle at 50% 100%, rgba(59, 130, 246, 0.09), transparent 45%),
        linear-gradient(180deg, #f8fbff 0%, #edf4ff 55%, #e6f0ff 100%);
    color: #0f2747;
}

.home-page .bg-grid {
    background-image:
        linear-gradient(rgba(96, 165, 250, 0.13) 1px, transparent 1px),
        linear-gradient(90deg, rgba(96, 165, 250, 0.13) 1px, transparent 1px);
    background-size: 48px 48px;
    opacity: 0.55;
}

.home-page #tech-lines-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.72;
}

.home-page .glow-line {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.52), transparent);
}

.home-page .glow-orb {
    filter: blur(85px);
    opacity: 0.22;
}

.home-page .glow-orb:nth-child(5) {
    background: #93c5fd;
}

.home-page .glow-orb:nth-child(6) {
    background: #60a5fa;
}

.home-page .glow-orb:nth-child(7) {
    background: #bfdbfe;
}

.home-page .panel {
    background: rgba(255, 255, 255, 0.68);
    border: 1px solid rgba(147, 197, 253, 0.48);
    box-shadow: 0 14px 30px rgba(30, 64, 175, 0.08);
}

.home-page .nav-panel {
    background: rgba(255, 255, 255, 0.58);
    backdrop-filter: blur(22px);
}

.home-page .reserved-panel {
    background: rgba(255, 255, 255, 0.44);
    backdrop-filter: blur(16px);
}

.home-page .header-panel {
    background: transparent;
    border: none;
    box-shadow: none;
}

.home-page .header-panel h1 {
    position: relative;
    display: inline-block;
    background: linear-gradient(120deg, #1d4ed8 0%, #2563eb 45%, #0ea5e9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 16px rgba(37, 99, 235, 0.28);
    animation: title-jitter 4.2s infinite steps(1, end);
}

.home-page .header-panel h1::before,
.home-page .header-panel h1::after {
    content: "创易小站";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0;
}

.home-page .header-panel h1::before {
    color: rgba(56, 189, 248, 0.72);
    text-shadow: -1px 0 0 rgba(56, 189, 248, 0.45);
    animation: title-glitch-a 4.2s infinite steps(1, end);
}

.home-page .header-panel h1::after {
    color: rgba(96, 165, 250, 0.72);
    text-shadow: 1px 0 0 rgba(96, 165, 250, 0.45);
    animation: title-glitch-b 4.2s infinite steps(1, end);
}

.home-page .header-panel p {
    color: #4b6b8f;
}

.home-page .panel-title {
    color: #2563eb;
    border-bottom: 1px solid rgba(37, 99, 235, 0.24);
}

.home-page .category h2 {
    color: #3d5f86;
}

.home-page .link-card {
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(147, 197, 253, 0.55);
    color: #153961;
}

.home-page .link-card:hover {
    border-color: rgba(59, 130, 246, 0.72);
    background: rgba(219, 234, 254, 0.85);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.2);
}

.home-page .link-card .icon {
    background: rgba(96, 165, 250, 0.18);
}

.home-page .reserved-empty {
    color: #5b7697;
    border: 1px dashed rgba(96, 165, 250, 0.42);
    background: rgba(255, 255, 255, 0.42);
}

.home-page .admin-link a {
    background: rgba(219, 234, 254, 0.82);
    border: 1px solid rgba(96, 165, 250, 0.5);
    color: #1d4ed8;
}

.home-page .admin-link a:hover {
    background: rgba(191, 219, 254, 0.92);
    box-shadow: 0 6px 18px rgba(59, 130, 246, 0.24);
}

@keyframes title-jitter {
    0%, 86%, 100% { transform: translate(0, 0); }
    87% { transform: translate(-0.8px, 0.4px); }
    88% { transform: translate(0.7px, -0.3px); }
    89% { transform: translate(-0.4px, -0.5px); }
    90% { transform: translate(0.6px, 0.2px); }
    91% { transform: translate(0, 0); }
}

@keyframes title-glitch-a {
    0%, 86%, 100% {
        opacity: 0;
        transform: translate(0, 0);
        clip-path: inset(0 0 0 0);
    }
    87% {
        opacity: 0.75;
        transform: translate(-2px, 0);
        clip-path: inset(12% 0 58% 0);
    }
    89% {
        opacity: 0.65;
        transform: translate(1px, -1px);
        clip-path: inset(58% 0 6% 0);
    }
    91% {
        opacity: 0;
        transform: translate(0, 0);
        clip-path: inset(0 0 0 0);
    }
}

@keyframes title-glitch-b {
    0%, 86%, 100% {
        opacity: 0;
        transform: translate(0, 0);
        clip-path: inset(0 0 0 0);
    }
    88% {
        opacity: 0.78;
        transform: translate(2px, 0);
        clip-path: inset(34% 0 40% 0);
    }
    90% {
        opacity: 0.62;
        transform: translate(-1px, 1px);
        clip-path: inset(74% 0 3% 0);
    }
    91% {
        opacity: 0;
        transform: translate(0, 0);
        clip-path: inset(0 0 0 0);
    }
}


/* ========== 洞天福地 · 博客入口 ========== */
.blog-embed {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.blog-embed--solo {
    min-height: 0;
}

.blog-entry-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.08em;
    transition: all 0.2s ease;
}

.home-page .blog-entry-link {
    border: 1px solid rgba(96, 165, 250, 0.5);
    background: rgba(255, 255, 255, 0.58);
    color: #1d4ed8;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.12);
}

.home-page .blog-entry-link:hover {
    border-color: rgba(37, 99, 235, 0.65);
    background: rgba(239, 246, 255, 0.92);
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(59, 130, 246, 0.22);
}

.blog-entry-icon {
    font-size: 1.25rem;
    line-height: 1;
}

.blog-entry-text {
    flex: 1;
    font-size: 0.95rem;
}

.blog-entry-arrow {
    opacity: 0.75;
    font-size: 1rem;
}

/* ========== 博客独立页 ========== */
.blog-page .blog-shell {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
    padding: 96px 28px 100px;
}

.blog-page .blog-header {
    margin-bottom: 8px;
}

.blog-page .blog-kicker {
    font-size: 0.72rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 10px;
}

.blog-page .blog-header h1 {
    font-size: 1.65rem;
    font-weight: 700;
    background: linear-gradient(120deg, #1d4ed8, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.blog-page .blog-lede {
    font-size: 0.88rem;
    color: #64748b;
}

.blog-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 18px 0 28px;
}

.blog-back {
    font-size: 0.82rem;
    color: #2563eb;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(96, 165, 250, 0.45);
    background: rgba(255, 255, 255, 0.5);
    transition: all 0.18s ease;
}

.blog-back:hover {
    border-color: rgba(37, 99, 235, 0.55);
    background: rgba(239, 246, 255, 0.95);
}

.blog-back-secondary {
    color: #475569;
    border-color: rgba(148, 163, 184, 0.45);
}

.blog-post-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.blog-post-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 18px 20px;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    border: 1px solid rgba(96, 165, 250, 0.35);
    background: rgba(255, 255, 255, 0.45);
    transition: all 0.2s ease;
}

.blog-post-card:hover {
    border-color: rgba(59, 130, 246, 0.55);
    background: rgba(239, 246, 255, 0.85);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(59, 130, 246, 0.15);
}

.blog-post-date {
    font-size: 0.72rem;
    color: #64748b;
    letter-spacing: 0.08em;
}

.blog-post-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: #1e3a8a;
}

.blog-post-excerpt {
    font-size: 0.85rem;
    color: #475569;
    line-height: 1.5;
}

.blog-article-wrap .blog-article-header {
    margin-bottom: 24px;
}

.blog-article-wrap .blog-article-header h1 {
    font-size: 1.55rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-top: 6px;
    margin-bottom: 10px;
    background: none;
    -webkit-text-fill-color: #1e3a8a;
}

.blog-article-body {
    font-size: 0.95rem;
    line-height: 1.85;
    color: #334155;
}

.blog-article-body p {
    margin-bottom: 1em;
}

.blog-article-body code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.88em;
    padding: 0.1em 0.35em;
    border-radius: 4px;
    background: rgba(219, 234, 254, 0.65);
    color: #1e40af;
}


/* XIUXIAN_PANEL_TITLES — 四海云游 / 洞天福地 修仙标题 */
.panel-title.xiuxian-panel-title {
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: none;
    letter-spacing: normal;
    font-weight: normal;
    padding-bottom: 14px;
    margin-bottom: 22px;
    border-bottom: none;
    position: relative;
    overflow: visible;
}

.panel-title.xiuxian-panel-title::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(30, 64, 175, 0.35) 18%,
        rgba(21, 94, 117, 0.55) 48%,
        rgba(67, 56, 202, 0.45) 72%,
        rgba(30, 58, 138, 0.28) 90%,
        transparent 100%
    );
    box-shadow: 0 1px 6px rgba(30, 58, 138, 0.12);
}

.xiuxian-panel-heading {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    flex: 1;
    min-width: 0;
}

.xiuxian-main {
    font-family: "Ma Shan Zheng", "Noto Serif SC", "Songti SC", "SimSun", serif;
    font-size: clamp(1.08rem, 2.15vw, 1.32rem);
    font-weight: 700;
    letter-spacing: 0.18em;
    line-height: 1.22;
    padding-bottom: 2px;
    background: linear-gradient(
        135deg,
        #0f172a 0%,
        #164e63 22%,
        #1e40af 48%,
        #5b21b6 74%,
        #0f172a 100%
    );
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: xiuxian-title-shimmer 12s ease-in-out infinite;
}

.xiuxian-panel-title--dongtian .xiuxian-main {
    background: linear-gradient(
        135deg,
        #0f172a 0%,
        #115e59 24%,
        #3730a3 52%,
        #6b21a8 76%,
        #0f172a 100%
    );
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: xiuxian-title-shimmer 13s ease-in-out infinite reverse;
}

.xiuxian-sub {
    font-size: 0.58rem;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    font-weight: 600;
    color: rgba(30, 41, 59, 0.92);
}

@keyframes xiuxian-title-shimmer {
    0%,
    100% {
        background-position: 0% 40%;
    }
    50% {
        background-position: 100% 60%;
    }
}

@keyframes xiuxian-cloud-float {
    0%,
    100% {
        transform: translateY(0) scale(1);
        opacity: 0.58;
    }
    50% {
        transform: translateY(-3px) scale(1.03);
        opacity: 0.82;
    }
}

.xiuxian-decor {
    flex-shrink: 0;
    width: 52px;
    height: 28px;
    position: relative;
    pointer-events: none;
    animation: xiuxian-cloud-float 7s ease-in-out infinite;
}

.xiuxian-panel-title--dongtian .xiuxian-decor {
    animation-duration: 8.5s;
}

.xiuxian-decor--cloud-right {
    animation-delay: -3s;
}

.xiuxian-decor::before,
.xiuxian-decor::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    filter: blur(0.3px);
}

/* 祥云纹理：多层椭圆叠雾 */
.xiuxian-decor--cloud-left::before {
    background:
        radial-gradient(ellipse 120% 90% at 20% 55%, rgba(255, 255, 255, 0.72) 0%, transparent 52%),
        radial-gradient(ellipse 90% 70% at 55% 48%, rgba(224, 242, 254, 0.55) 0%, transparent 48%),
        radial-gradient(ellipse 70% 55% at 78% 62%, rgba(254, 249, 195, 0.35) 0%, transparent 45%);
    opacity: 0.85;
    transform: rotate(-6deg);
}

.xiuxian-decor--cloud-left::after {
    background:
        radial-gradient(ellipse 100% 80% at 40% 40%, rgba(255, 255, 255, 0.45) 0%, transparent 40%),
        radial-gradient(ellipse 80% 60% at 70% 58%, rgba(196, 181, 253, 0.28) 0%, transparent 42%);
    transform: translate(4px, 2px) rotate(4deg);
    opacity: 0.65;
}

.xiuxian-decor--cloud-right::before {
    background:
        radial-gradient(ellipse 120% 90% at 82% 52%, rgba(255, 255, 255, 0.68) 0%, transparent 52%),
        radial-gradient(ellipse 95% 72% at 42% 50%, rgba(207, 250, 254, 0.5) 0%, transparent 48%),
        radial-gradient(ellipse 65% 50% at 18% 58%, rgba(253, 224, 71, 0.28) 0%, transparent 46%);
    opacity: 0.82;
    transform: rotate(8deg);
}

.xiuxian-decor--cloud-right::after {
    background:
        radial-gradient(ellipse 90% 75% at 58% 44%, rgba(255, 255, 255, 0.42) 0%, transparent 42%),
        radial-gradient(ellipse 75% 58% at 28% 62%, rgba(167, 139, 250, 0.22) 0%, transparent 40%);
    transform: translate(-3px, 1px) rotate(-5deg);
    opacity: 0.62;
}

.home-page .panel-title.xiuxian-panel-title {
    color: inherit;
}

.home-page .panel-title.xiuxian-panel-title::after {
    box-shadow: 0 1px 5px rgba(30, 58, 138, 0.14);
}

.home-page .xiuxian-sub {
    color: #334155;
}



/* BLOG_NOTE_FORM */
.blog-note-new-shell .blog-header h1 {
    font-size: 1.45rem;
}

.blog-form-error {
    margin: 0 0 18px;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid rgba(248, 113, 113, 0.55);
    background: rgba(254, 226, 226, 0.65);
    color: #991b1b;
    font-size: 0.88rem;
}

.blog-note-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.blog-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.blog-field-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: #334155;
}

.blog-req {
    color: #dc2626;
    font-style: normal;
}

.blog-field input[type="text"],
.blog-field input[type="date"],
.blog-field textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid rgba(96, 165, 250, 0.45);
    background: rgba(255, 255, 255, 0.82);
    color: #0f172a;
    font-size: 0.92rem;
    font-family: inherit;
}

.blog-field textarea {
    resize: vertical;
    min-height: 220px;
    line-height: 1.65;
}

.blog-field-inline {
    max-width: 280px;
}

.blog-form-actions {
    margin-top: 6px;
}

.blog-submit-btn {
    appearance: none;
    border: none;
    cursor: pointer;
    padding: 12px 26px;
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: #fff;
    background: linear-gradient(120deg, #2563eb, #6366f1);
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.22);
}

.blog-submit-btn:hover {
    filter: brightness(1.05);
}

.blog-new-note {
    font-size: 0.82rem;
    color: #15803d;
    text-decoration: none;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid rgba(74, 222, 128, 0.55);
    background: rgba(240, 253, 244, 0.82);
    transition: all 0.18s ease;
}

.blog-new-note:hover {
    border-color: rgba(22, 163, 74, 0.65);
    background: rgba(220, 252, 231, 0.95);
}

.home-page .blog-new-note {
    color: #166534;
}



/* BLOG_ADMIN_ROW */
.blog-post-row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 10px;
}

.blog-post-row .blog-post-card {
    flex: 1 1 260px;
}

.blog-post-admin {
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: center;
    padding: 8px 4px;
}

.blog-admin-delete-form {
    margin: 0;
}

.blog-admin-btn {
    appearance: none;
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    border: 1px solid transparent;
    text-align: center;
    transition: all 0.15s ease;
}

.blog-admin-edit {
    background: rgba(239, 246, 255, 0.95);
    border-color: rgba(59, 130, 246, 0.45);
    color: #1d4ed8;
}

.blog-admin-edit:hover {
    border-color: rgba(37, 99, 235, 0.65);
    background: rgba(219, 234, 254, 1);
}

.blog-admin-delete {
    background: rgba(254, 242, 242, 0.95);
    border-color: rgba(248, 113, 113, 0.55);
    color: #b91c1c;
}

.blog-admin-delete:hover {
    border-color: rgba(220, 38, 38, 0.65);
    background: rgba(254, 226, 226, 1);
}

.blog-article-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin: 10px 0 18px;
}


/* SIHAI_COMPACT — 四海云游区域纵向收紧（仅首页左侧导航面板） */
.home-page .nav-panel {
    padding: 18px 20px 18px;
}

.home-page .nav-panel > .panel-title.xiuxian-panel-title {
    margin-bottom: 11px;
    padding-bottom: 7px;
    gap: 8px;
}

.home-page .nav-panel .category {
    margin-bottom: 10px;
}

.home-page .nav-panel .category:last-child {
    margin-bottom: 0;
}

.home-page .nav-panel .category h2 {
    margin-bottom: 5px;
    line-height: 1.25;
}

.home-page .nav-panel .links-grid {
    gap: 6px;
}

.home-page .nav-panel .link-card {
    padding: 7px 10px;
    gap: 6px;
}

.home-page .nav-panel .link-card .icon {
    width: 24px;
    height: 24px;
    font-size: 1rem;
}

.home-page .nav-panel .link-card h3 {
    font-size: 0.8rem;
    line-height: 1.25;
}


/* BLOG_COMMENTS */
.blog-comments {
    margin-top: 2.25rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(148, 163, 184, 0.45);
}

.blog-comments-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.35rem;
}

.blog-comments-hint {
    font-size: 0.82rem;
    color: #64748b;
    margin-bottom: 1rem;
}

.blog-comment-error {
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid rgba(248, 113, 113, 0.55);
    background: rgba(254, 226, 226, 0.55);
    color: #991b1b;
    font-size: 0.88rem;
    margin-bottom: 12px;
}

.blog-comment-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.blog-comment-item {
    border: 1px solid rgba(147, 197, 253, 0.45);
    background: rgba(255, 255, 255, 0.58);
    border-radius: 12px;
    padding: 12px 14px;
}

.blog-comment-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: baseline;
    margin-bottom: 6px;
    font-size: 0.78rem;
    color: #64748b;
}

.blog-comment-author {
    font-weight: 700;
    color: #1e3a8a;
}

.blog-comment-body {
    font-size: 0.92rem;
    line-height: 1.65;
    color: #0f172a;
    white-space: pre-wrap;
    word-break: break-word;
}

.blog-comments-empty {
    font-size: 0.88rem;
    color: #64748b;
    margin: 0 0 1rem;
}

.blog-comment-form {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 14px;
    border-radius: 14px;
    border: 1px solid rgba(147, 197, 253, 0.45);
    background: rgba(255, 255, 255, 0.52);
}

.blog-honeypot {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.blog-field-line,
.blog-field-block {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.84rem;
    color: #334155;
}

.blog-field-line input,
.blog-field-block textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid rgba(96, 165, 250, 0.45);
    background: rgba(255, 255, 255, 0.9);
    font-family: inherit;
    font-size: 0.92rem;
}

.blog-field-block textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.55;
}

.blog-comment-submit {
    align-self: flex-start;
    border: none;
    border-radius: 999px;
    padding: 10px 22px;
    font-weight: 700;
    cursor: pointer;
    color: #fff;
    background: linear-gradient(120deg, #2563eb, #6366f1);
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.18);
}

.blog-comment-submit:hover {
    filter: brightness(1.04);
}

.home-page .blog-comment-item {
    backdrop-filter: blur(6px);
}


/* BLOG_COMMENT_DELETE_BTN */
.blog-comment-delete-form {
    margin: 0;
    margin-left: auto;
}

.blog-comment-delete-btn {
    appearance: none;
    border: 1px solid rgba(248, 113, 113, 0.55);
    background: rgba(254, 242, 242, 0.85);
    color: #b91c1c;
    border-radius: 999px;
    padding: 4px 12px;
    font-size: 0.72rem;
    font-weight: 700;
    cursor: pointer;
}

.blog-comment-delete-btn:hover {
    border-color: rgba(220, 38, 38, 0.65);
    background: rgba(254, 226, 226, 1);
}
