/* 随机美术风格：孟菲斯风格变体 —— 活泼、几何、色彩鲜明、轻微复古 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
}
body {
    background-color: #f7f3f0;  /* 暖调基底 */
    background-image: radial-gradient(circle at 10% 20%, rgba(255, 180, 190, 0.2) 0%, transparent 25%),
                      radial-gradient(circle at 90% 70%, rgba(160, 210, 255, 0.25) 0%, transparent 30%);
    min-height: 100vh;
    padding: 20px;
    line-height: 1.5;
    color: #2d2d2d;
}
/* 主容器 — 符合BEM，项目占位符 vpy */
.vpy-article {
    max-width: 1200px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(3px);
    border-radius: 40px 20px 40px 20px;
    box-shadow: 12px 12px 0 #3d5a80, -8px 8px 0 #ee6c4d;
    padding: 35px 30px;
    border: 3px solid #293241;
}
/* 头部区域 */
.vpy-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px dashed #ee6c4d;
}
.vpy-site-brand {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #293241, #3d5a80);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 4px 4px 0 #ffdab9;
}
/* 搜索框 BEM */
.vpy-search {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    border: 3px solid #293241;
    border-radius: 60px;
    padding: 5px 15px;
    box-shadow: 5px 5px 0 #98c1d9;
}
.vpy-search__input {
    border: none;
    outline: none;
    font-size: 1rem;
    padding: 10px 5px;
    width: 220px;
    background: transparent;
    color: #1e2b3a;
}
.vpy-search__input::placeholder {
    color: #6c757d;
    font-style: italic;
    font-weight: 300;
}
.vpy-search__btn {
    background: #ee6c4d;
    border: none;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 2px solid #293241;
    transition: all 0.1s ease;
    color: white;
    font-size: 1.2rem;
}
.vpy-search__btn:hover {
    background-color: #3d5a80;
    transform: scale(0.95);
    box-shadow: 2px 2px 0 #293241;
}
/* 面包屑 BEM */
.vpy-breadcrumbs {
    margin: 20px 0 25px;
    background-color: #ffdab9;
    padding: 12px 25px;
    border-radius: 40px 8px 40px 8px;
    border: 2px solid #293241;
    font-weight: 600;
    display: inline-block;
    width: auto;
}
.vpy-breadcrumbs__list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    gap: 8px 15px;
}
.vpy-breadcrumbs__item {
    position: relative;
}
.vpy-breadcrumbs__item:not(:last-child)::after {
    content: "➡";
    margin-left: 12px;
    color: #ee6c4d;
    font-size: 1.2rem;
}
.vpy-breadcrumbs__link {
    text-decoration: none;
    color: #293241;
    background-color: #f7f3f0;
    padding: 5px 18px;
    border-radius: 30px;
    border: 2px solid #3d5a80;
    transition: 0.1s;
    font-weight: 600;
    display: inline-block;
}
.vpy-breadcrumbs__link[href="/"] {
    background-color: #98c1d9;
    color: #293241;
}
.vpy-breadcrumbs__link:hover {
    background-color: #ee6c4d;
    color: white;
    border-color: #293241;
}
/* 文章主体 */
.vpy-article__main {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 35px;
    margin: 40px 0;
}
@media (max-width: 768px) {
    .vpy-article__main {
        grid-template-columns: 1fr;
    }
}
/* 内容区 */
.vpy-content {
    background-color: #ffffffd6;
    padding: 30px;
    border-radius: 30px 10px 30px 10px;
    border: 3px solid #293241;
    box-shadow: 10px 10px 0 #3d5a80;
}
.vpy-content__title {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 15px;
    color: #293241;
    border-left: 20px solid #ee6c4d;
    padding-left: 20px;
    word-break: break-word;
}
.vpy-content__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-bottom: 30px;
    color: #4a4a4a;
    background: #f0e5de;
    padding: 15px 20px;
    border-radius: 50px 8px 50px 8px;
    font-weight: 500;
    border: 2px solid #3d5a80;
}
.vpy-content__meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}
.vpy-content__body {
    font-size: 1.15rem;
    color: #1f2a3a;
    background: #fff9f5;
    padding: 25px;
    border-radius: 16px;
    border: 2px dashed #98c1d9;
    white-space: pre-wrap;
}
/* 标签云 (3-5个随机展示) */
.vpy-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 30px 0 10px;
}
.vpy-tags__item {
    background-color: #98c1d9;
    border: 3px solid #293241;
    border-radius: 50px;
    padding: 8px 22px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #293241;
    box-shadow: 4px 4px 0 #ee6c4d;
    transition: 0.15s;
}
.vpy-tags__item:nth-child(2) { background-color: #ffb4a2; }
.vpy-tags__item:nth-child(3) { background-color: #ffdab9; }
.vpy-tags__item:nth-child(4) { background-color: #b6e2d3; }
.vpy-tags__item:nth-child(5) { background-color: #eac4d5; }
.vpy-tags__item:hover {
    transform: translate(-2px, -2px);
    box-shadow: 8px 8px 0 #293241;
}
/* 侧边栏区块 (推荐/热门/猜你喜欢) */
.vpy-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.vpy-widget {
    background-color: #ffffffd6;
    padding: 25px 20px;
    border-radius: 30px 8px 30px 8px;
    border: 3px solid #293241;
    box-shadow: 10px 10px 0 #ee6c4d;
}
.vpy-widget__title {
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 20px;
    background-color: #3d5a80;
    color: white;
    padding: 10px 20px;
    border-radius: 60px 8px 60px 8px;
    letter-spacing: -0.02em;
    border: 2px solid #293241;
    display: inline-block;
}
.vpy-widget__list {
    list-style: none;
}
.vpy-widget__item {
    margin-bottom: 16px;
    border-bottom: 2px dotted #98c1d9;
    padding-bottom: 12px;
}
.vpy-widget__link {
    text-decoration: none;
    font-weight: 600;
    color: #1f2a3a;
    font-size: 1.1rem;
    background-color: #f7f3f0;
    padding: 6px 14px;
    border-radius: 30px;
    display: inline-block;
    border: 2px solid #3d5a80;
    transition: 0.1s;
    max-width: 100%;
}
.vpy-widget__link:hover {
    background-color: #ee6c4d;
    color: white;
    border-color: #293241;
    transform: translate(-2px, -2px);
    box-shadow: 3px 3px 0 #293241;
}
.vpy-widget__desc {
    margin-top: 5px;
    font-size: 0.9rem;
    color: #4b4b4b;
    padding-left: 10px;
    background: #f0ebe6;
    border-radius: 16px;
    padding: 8px 15px;
}
/* 页脚 */
.vpy-footer {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 5px double #ee6c4d;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #293241;
    color: #f0e5de;
    border-radius: 100px 20px 20px 20px;
    padding: 25px 20px;
    font-size: 1.1rem;
    font-weight: 500;
    border: 3px solid #ee6c4d;
}
.vpy-footer__copyright {
    background-color: #3d5a80;
    padding: 10px 35px;
    border-radius: 60px;
    border: 2px solid #98c1d9;
    color: #ffdab9;
}
/* 响应式微调 */
@media (max-width: 600px) {
    .vpy-header {
        flex-direction: column;
        align-items: start;
        gap: 20px;
    }
    .vpy-search__input {
        width: 140px;
    }
    .vpy-content__title {
        font-size: 2rem;
    }
    .vpy-breadcrumbs__list {
        gap: 5px;
    }
}