/* ============================================================
   内容排版与 SEO 增强样式
   设计基准：容器 640px 宽，1rem = 100px（随视口等比缩放）
   ============================================================ */

:root {
    --seo-gold: #c1954d;
    --seo-gold-soft: #e7d6b6;
    --seo-crimson: #b23a48;
    --seo-ink: #2f2a26;
    --seo-text: #4d4741;
    --seo-muted: #8c8378;
    --seo-line: #ece1cf;
    --seo-cream: #fbf7f0;
}

/* 首屏图：等比裁切，避免背景图被拉伸变形 */
.up1805.index .page1 .gallery img {
    object-fit: cover;
    object-position: center top;
}

/* ---------- 通用区块 ---------- */
.seo-sec {
    margin: .5rem .35rem 0;
    color: var(--seo-text);
    font-size: .22rem;
    line-height: 1.85;
    scroll-margin-top: 1.2rem;
}

.seo-kicker {
    margin-bottom: .08rem;
    font-size: .16rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--seo-gold);
}

.seo-kicker:before {
    content: "";
    display: inline-block;
    width: .3rem;
    height: 1px;
    margin-right: .1rem;
    vertical-align: middle;
    background-color: var(--seo-gold);
}

.seo-h2 {
    position: relative;
    padding-left: .24rem;
    font-size: .34rem;
    line-height: 1.4;
    font-weight: 700;
    color: var(--seo-ink);
    letter-spacing: .02em;
}

.seo-h2:before {
    content: "";
    position: absolute;
    left: 0;
    top: .18em;
    bottom: .18em;
    width: .07rem;
    border-radius: .07rem;
    background: linear-gradient(180deg, var(--seo-gold), var(--seo-crimson));
}

.seo-lead {
    margin-top: .24rem;
    font-size: .26rem;
    line-height: 1.7;
    font-weight: 700;
    color: var(--seo-ink);
}

.seo-sec p + p {
    margin-top: .12rem;
}

/* ---------- 简介：资料表 ---------- */
.seo-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 .32rem;
    margin: .3rem 0 0;
    padding: .2rem .28rem;
    border: 1px solid var(--seo-line);
    border-radius: .1rem;
    background-color: var(--seo-cream);
}

.seo-facts > div {
    display: flex;
    align-items: baseline;
    padding: .12rem 0;
    border-bottom: 1px dashed #e9dcc6;
}

.seo-facts > div:last-child {
    border-bottom: 0;
}

.seo-facts > div:nth-child(3) {
    grid-column: span 2;
}

.seo-facts dt {
    flex: 0 0 auto;
    margin-right: .16rem;
    font-size: .18rem;
    letter-spacing: .04em;
    color: var(--seo-gold);
}

.seo-facts dd {
    margin: 0;
    font-size: .21rem;
    line-height: 1.6;
    color: var(--seo-ink);
}

.seo-facts dd span {
    margin-left: .12rem;
    font-size: .17rem;
    color: var(--seo-muted);
}

/* ---------- 简介：周年庆典高亮卡 ---------- */
.seo-fest {
    margin-top: .36rem;
    padding: .34rem .32rem .38rem;
    border-radius: .12rem;
    background: linear-gradient(140deg, #2a1b25 0%, #5d2233 52%, #8f3341 100%);
    box-shadow: 0 .08rem .24rem rgba(60, 20, 30, .2);
    color: #eadfd6;
}

.seo-fest-tag {
    display: inline-block;
    padding: .06rem .2rem;
    border: 1px solid rgba(231, 214, 182, .55);
    border-radius: 1rem;
    font-size: .18rem;
    letter-spacing: .08em;
    color: #f0dcb8;
}

.seo-fest h3 {
    margin-top: .2rem;
    font-size: .3rem;
    line-height: 1.5;
    font-weight: 700;
    color: #fff;
    letter-spacing: .04em;
}

.seo-fest ul {
    margin-top: .16rem;
    padding: 0;
    list-style: none;
}

.seo-fest li {
    position: relative;
    margin-top: .14rem;
    padding-left: .28rem;
    font-size: .22rem;
    line-height: 1.8;
}

.seo-fest li:before {
    content: "";
    position: absolute;
    left: 0;
    top: .62em;
    width: .1rem;
    height: .1rem;
    border-radius: 50%;
    background-color: var(--seo-gold-soft);
}

.seo-fest b {
    color: #ffe9c0;
    font-weight: 700;
}

/* ---------- 内容导航（分类入口） ---------- */
.seo-hub {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .14rem;
    margin-top: .34rem;
}

.seo-hub-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: .2rem .06rem;
    border: 1px solid var(--seo-line);
    border-radius: .1rem;
    background-color: var(--seo-cream);
    text-decoration: none;
    transition: border-color .2s, background-color .2s, transform .2s;
}

.seo-hub-item strong {
    font-size: .22rem;
    font-weight: 700;
    color: var(--seo-ink);
}

.seo-hub-item span {
    margin-top: .04rem;
    font-size: .17rem;
    color: var(--seo-muted);
}

.seo-hub-item:hover {
    border-color: var(--seo-gold);
    background-color: #fff;
    transform: translateY(-1px);
}

/* ---------- 游戏特色文字卡 ---------- */
.seo-feats {
    margin: .1rem .34rem 0;
}

.seo-feats-title {
    margin: .2rem 0 .06rem;
    font-size: .28rem;
    font-weight: 700;
    color: var(--seo-ink);
    text-align: center;
    letter-spacing: .04em;
}

.seo-feat {
    position: relative;
    margin-top: .2rem;
    padding: .26rem .3rem .28rem 1rem;
    border: 1px solid var(--seo-line);
    border-radius: .1rem;
    background-color: #fff;
    box-shadow: 0 .04rem .16rem rgba(120, 92, 40, .05);
}

.seo-feat .seo-feat-no {
    position: absolute;
    left: .26rem;
    top: .24rem;
    font: italic 700 .36rem/1 Georgia, "Times New Roman", serif;
    color: rgba(193, 149, 77, .45);
}

.seo-feat h3 {
    margin-bottom: .08rem;
    font-size: .26rem;
    line-height: 1.5;
    font-weight: 700;
    color: var(--seo-ink);
}

.seo-feat p {
    font-size: .21rem;
    line-height: 1.85;
    color: var(--seo-text);
}

/* ---------- 更新日志时间线 ---------- */
.seo-timeline {
    margin: .3rem 0 0 .12rem;
    padding: 0 0 0 .34rem;
    border-left: 1px solid var(--seo-line);
    list-style: none;
}

.seo-timeline > li {
    position: relative;
    padding-bottom: .32rem;
}

.seo-timeline > li:before {
    content: "";
    position: absolute;
    left: -.4rem;
    top: .12rem;
    width: .12rem;
    height: .12rem;
    border-radius: 50%;
    background-color: var(--seo-gold);
    box-shadow: 0 0 0 .05rem rgba(193, 149, 77, .16);
}

.seo-timeline > li:last-child {
    padding-bottom: 0;
}

.seo-ver {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: .06rem .2rem;
}

.seo-ver b {
    font-size: .23rem;
    font-weight: 700;
    color: var(--seo-ink);
    letter-spacing: .02em;
}

.seo-ver time {
    font-size: .17rem;
    color: var(--seo-muted);
}

.seo-timeline ul {
    margin: .06rem 0 0;
    padding: 0;
    list-style: none;
}

.seo-timeline ul li {
    position: relative;
    padding-left: .24rem;
    font-size: .21rem;
    line-height: 1.8;
    color: var(--seo-text);
}

.seo-timeline ul li:before {
    content: "";
    position: absolute;
    left: 0;
    top: .68em;
    width: .1rem;
    height: 1px;
    background-color: #d9c6a4;
}

/* ---------- 热门攻略 ---------- */
.seo-guide-list {
    margin: .24rem 0 0;
    padding: 0;
    list-style: none;
}

.seo-guide-list li + li {
    margin-top: .12rem;
}

.seo-guide-list a {
    display: flex;
    align-items: center;
    gap: .16rem;
    padding: .2rem .26rem;
    border: 1px solid var(--seo-line);
    border-radius: .1rem;
    background-color: #fff;
    text-decoration: none;
    transition: border-color .2s, box-shadow .2s;
}

.seo-guide-list a:hover {
    border-color: var(--seo-gold);
    box-shadow: 0 .04rem .16rem rgba(193, 149, 77, .12);
}

.seo-guide-list h3 {
    flex: 1;
    font-size: .22rem;
    line-height: 1.6;
    font-weight: 400;
    color: var(--seo-ink);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.seo-guide-list span {
    flex: 0 0 auto;
    font-size: .17rem;
    color: var(--seo-muted);
}

/* ---------- 开发者的话 ---------- */
.seo-quote {
    position: relative;
    margin: .24rem 0 0;
    padding: .3rem .32rem .3rem .82rem;
    border: 1px solid var(--seo-line);
    border-radius: .1rem;
    background-color: var(--seo-cream);
}

.seo-quote:before {
    content: "\201C";
    position: absolute;
    left: .22rem;
    top: .04rem;
    font: 700 .8rem/1 Georgia, "Times New Roman", serif;
    color: var(--seo-gold-soft);
}

.seo-quote p {
    font-size: .21rem;
    line-height: 1.9;
    color: var(--seo-text);
}

.seo-quote p + p {
    margin-top: .16rem;
}

/* ---------- 更多链接 ---------- */
.seo-more {
    margin-top: .24rem;
    font-size: .2rem;
    text-align: right;
}

.seo-more a {
    color: var(--seo-gold);
    text-decoration: none;
}

.seo-more a:hover {
    text-decoration: underline;
}

/* ---------- 页脚导航 ---------- */
.seo-fnav {
    width: 100%;
    margin: .16rem 0;
    padding-top: .14rem;
    border-top: 1px solid #3a3a3a;
    font-size: .16rem;
    line-height: 1.9;
}

.seo-fnav a {
    display: inline-block;
    margin-right: .18rem;
    color: #b3b3b3;
}

.seo-fnav a:hover {
    color: var(--seo-gold);
}

/* ---------- 分类页标题区 ---------- */
.seo-cat-head {
    margin: .3rem .32rem .06rem;
    padding: .3rem .3rem .3rem;
    border: 1px solid var(--seo-line);
    border-radius: .1rem;
    background-color: var(--seo-cream);
    text-align: center;
}

.seo-cat-head h1 {
    font-size: .34rem;
    line-height: 1.4;
    font-weight: 700;
    color: var(--seo-ink);
    letter-spacing: .06em;
}

.seo-cat-head p {
    margin-top: .14rem;
    font-size: .2rem;
    line-height: 1.8;
    color: var(--seo-muted);
    text-align: left;
}

/* ---------- 文章页排版 ---------- */
.up1805.sub .news-detail h1 {
    padding: .4em 0 .3em;
    font-size: .34rem;
    line-height: 1.5;
    font-weight: 700;
    color: var(--seo-ink);
    text-align: left;
}

.sub .news-detail .article {
    padding: .6em 0 1em;
    font-size: .23rem;
    line-height: 1.95;
    color: #3b3733;
}

.sub .news-detail .article p {
    padding: .35em 0;
}

.sub .news-detail .article h2,
.sub .news-detail .article h3 {
    position: relative;
    margin: .9em 0 .3em;
    padding-left: .22rem;
    font-size: .28rem;
    line-height: 1.55;
    font-weight: 700;
    color: var(--seo-ink);
}

.sub .news-detail .article h3 {
    font-size: .24rem;
}

.sub .news-detail .article h2:before,
.sub .news-detail .article h3:before {
    content: "";
    position: absolute;
    left: 0;
    top: .28em;
    bottom: .28em;
    width: .07rem;
    border-radius: .07rem;
    background-color: var(--seo-gold);
}

.sub .news-detail .article img {
    display: block;
    width: 100% !important;
    height: auto !important;
    margin: .2rem auto;
    border-radius: .08rem;
}

.sub .news-detail .article a {
    color: var(--seo-crimson);
}

.sub .news-detail .article strong {
    color: var(--seo-crimson);
}

.sub .news-detail .article ul,
.sub .news-detail .article ol {
    margin: .3em 0;
    padding-left: 1.4em;
}

.sub .news-detail .article ul {
    list-style: disc;
}

.sub .news-detail .article li {
    padding: .12em 0;
}

/* 上一篇 / 下一篇 */
.seo-pager {
    margin-top: .3rem;
    padding: .22rem .26rem;
    border: 1px solid var(--seo-line);
    border-radius: .1rem;
    background-color: var(--seo-cream);
    font-size: .2rem;
    line-height: 1.8;
    color: var(--seo-muted);
}

.seo-pager p + p {
    margin-top: .08rem;
}

.seo-pager a {
    color: var(--seo-text);
}

.seo-pager a:hover {
    color: var(--seo-gold);
}

/* 相关阅读 */
.seo-related {
    margin: .44rem 0 .2rem;
}

.seo-related ul {
    margin: .22rem 0 0;
    padding: 0;
    list-style: none;
}

.seo-related li + li {
    margin-top: .14rem;
}

.seo-related a {
    display: block;
    padding: .22rem .26rem;
    border: 1px solid var(--seo-line);
    border-radius: .1rem;
    background-color: #fff;
    text-decoration: none;
    transition: border-color .2s, box-shadow .2s;
}

.seo-related a:hover {
    border-color: var(--seo-gold);
    box-shadow: 0 .04rem .16rem rgba(193, 149, 77, .12);
}

.seo-rel-cate {
    display: inline-block;
    margin-bottom: .08rem;
    padding: .02rem .12rem;
    border-radius: .04rem;
    background-color: rgba(193, 149, 77, .12);
    font-size: .16rem;
    color: var(--seo-gold);
}

.seo-related h3 {
    font-size: .22rem;
    line-height: 1.65;
    font-weight: 400;
    color: var(--seo-ink);
}

.seo-related time {
    display: block;
    margin-top: .08rem;
    font-size: .17rem;
    color: var(--seo-muted);
}
