@charset "utf-8";
/* ==========================================================================
   魔力宝贝 · 卡通风主题  xsmoli.css  v2
   说明：版式结构参考社区站，插画与配色为本主题原创素材。
   改色：只改下面 :root 里的变量即可。
   ========================================================================== */
:root {
    /* 卡通配色 */
    --ct-sky: #6fd3ff;
    --ct-sky-deep: #2ea8e8;
    --ct-blue: #3d9be9;
    --ct-orange: #ff9a3c;
    --ct-orange-deep: #e8741a;
    --ct-yellow: #ffd166;
    --ct-pink: #ff92b2;
    --ct-green: #5ec96f;
    --ct-ink: #4a3527;          /* 卡通描边/正文深色 */
    --ct-ink-2: #7b6656;
    --ct-muted: #a08b78;
    --ct-paper: #fffdf7;        /* 奶油白卡片 */
    --ct-paper-2: #fff7e8;
    --ct-bg: #eaf7ff;           /* 页面底色（天空） */
    --ct-bg-2: #fff6e6;
    --ct-line: #ffdcb4;         /* 卡通风浅描边 */
    --ct-radius: 18px;
    --ct-shadow: 0 6px 0 rgba(232, 186, 132, .45), 0 10px 22px rgba(120, 96, 70, .10);
}

/* ---------- 基础 ---------- */
body {
    background-color: var(--ct-bg);
    background-image:
        radial-gradient(circle at 12% 6%, #ffffff 0, rgba(255, 255, 255, 0) 26%),
        radial-gradient(circle at 88% 2%, #fff9e8 0, rgba(255, 249, 232, 0) 30%),
        linear-gradient(180deg, #e8f6ff 0%, #eef9ff 38%, #fff8ec 100%);
    background-attachment: fixed;
    color: var(--ct-ink);
    font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", Arial, sans-serif;
    font-size: 14px;
}
a { color: var(--ct-ink-2); transition: color .16s; }
a:hover { color: var(--ct-orange-deep); text-decoration: none; }
.wp { width: 1200px; }
.widthauto .wp, body.widthauto .wp, .widthauto #wp, body.widthauto #wp { width: 1200px; }
.widthauto #hd .wp, body.widthauto #hd .wp { min-width: 0; }
#wp { padding-bottom: 26px; }
.switchwidth, .switchblind, #qmenu, #mu:empty { display: none !important; }

/* ---------- 顶部工具条 ---------- */
#toptb {
    background: transparent;
    border-bottom: 2px dashed #ffe2c0;
    line-height: 34px;
    color: var(--ct-muted);
    font-size: 12px;
    backdrop-filter: blur(4px);
}
#toptb a { color: var(--ct-ink-2); margin-right: 12px; }
#toptb a:hover { color: var(--ct-orange-deep); }
#toptb .y a { margin: 0 0 0 14px; }
.xs-toptb-ico { color: var(--ct-orange); margin-right: 3px; }

/* ---------- 头部 ---------- */
#hd {
    background: transparent;
    border-bottom: 0;
    padding-bottom: 4px;
}
#hd .wp { display: flex; flex-wrap: wrap; align-items: center; padding: 16px 0 0; }
#hd .wp::after { display: none; }
#hd .hdc {
    flex: 0 0 100%;
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 76px;
    padding: 0;
}
#hd h2 { padding: 0; height: auto; line-height: 1; flex: 0 0 auto; }

/* LOGO */
.xs-logo-link { display: flex; align-items: center; gap: 12px; }
.xs-logo-img {
    width: 62px; height: 62px; border-radius: 20px; object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 4px 0 rgba(232, 186, 132, .55), 0 6px 14px rgba(120, 96, 70, .18);
    background: #fff;
}
.xs-logo {
    display: block;
    font-size: 27px; font-weight: 800; letter-spacing: 1px;
    color: #f2822a;
    text-shadow:
        2px 0 0 #fff, -2px 0 0 #fff, 0 2px 0 #fff, 0 -2px 0 #fff,
        2px 2px 0 #fff, -2px -2px 0 #fff, 2px -2px 0 #fff, -2px 2px 0 #fff,
        0 4px 0 rgba(74, 53, 39, .16);
}
.xs-logo-sub {
    display: block; margin-top: 5px; font-size: 10px; letter-spacing: 3px;
    color: var(--ct-muted); font-weight: 700;
}

/* 标语 */
.xs-slogan {
    margin-left: 6px; padding-left: 16px;
    border-left: 2px dashed #ffddb8;
    color: var(--ct-ink-2); font-size: 12px; line-height: 1.7;
}
.xs-slogan b { display: block; color: var(--ct-sky-deep); font-size: 15px; font-weight: 800; letter-spacing: 1px; }

/* 登录/注册 */
.xs-loginbox { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.xs-login-btn, .xs-reg-btn {
    display: inline-block; height: 38px; line-height: 34px; padding: 0 24px;
    border-radius: 20px; font-size: 14px; font-weight: 700;
    border: 2px solid #fff;
    transition: transform .15s, box-shadow .15s;
}
.xs-login-btn { color: #fff !important; background: linear-gradient(180deg, #8fd9ff, var(--ct-sky-deep)); box-shadow: 0 4px 0 #1c8ec9; }
.xs-reg-btn { color: #fff !important; background: linear-gradient(180deg, #ffc25e, var(--ct-orange)); box-shadow: 0 4px 0 var(--ct-orange-deep); }
.xs-login-btn:hover, .xs-reg-btn:hover { transform: translateY(-1px); }
.xs-login-btn:active, .xs-reg-btn:active { transform: translateY(2px); box-shadow: 0 1px 0 rgba(0, 0, 0, .2); }

/* 搜索框 */
#scbar {
    flex: 0 0 322px;
    height: 42px;
    border: 2px solid #fff;
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    margin: 0 0 12px auto;
    box-shadow: 0 4px 0 rgba(232, 186, 132, .5);
}
#scbar table { height: 38px; width: 100%; table-layout: fixed; }
#scbar td { padding: 0; vertical-align: middle; }
.scbar_hot, .scbar_hot_td { display: none !important; }
#scbar_icon_td, .scbar_icon_td { width: 34px; }
#scbar_txt_td, .scbar_txt_td { width: auto; }
#scbar_type_td, .scbar_type_td { width: 56px; }
#scbar_btn_td, .scbar_btn_td { width: 66px; }
#scbar_txt { width: 100%; box-sizing: border-box; }
#scbar_txt {
    width: 190px; height: 38px; line-height: 38px; border: 0; background: none;
    padding: 0 12px; font-size: 13px; color: var(--ct-ink);
}
#scbar_btn {
    height: 38px; border: 0; width: 62px; font-size: 13px; cursor: pointer;
    color: #fff; font-weight: 700;
    background: linear-gradient(180deg, #8fd9ff, var(--ct-sky-deep));
}
#scbar_btn:hover { filter: brightness(1.05); }
.scbar_btn_a { display: none; }
#scbar_type {
    border: 0; background: none; color: var(--ct-muted);
    height: 38px; font-size: 13px; padding-right: 6px;
}
#scbar_icon_td { width: 30px; padding-left: 10px; }

/* ---------- 主导航 ---------- */
#nv, .widthauto #nv, body.widthauto #nv {
    flex: 1 1 auto;
    height: 50px;
    line-height: 50px;
    margin: 0 12px 12px 0;
    border-radius: 26px;
    background: linear-gradient(180deg, #ffb457 0%, var(--ct-orange) 52%, #f08326 100%) !important;
    background-position: 0 0 !important;
    background-repeat: repeat !important;
    background-size: 100% 100% !important;
    border: 3px solid #fff;
    box-shadow: 0 5px 0 rgba(206, 122, 30, .55), 0 10px 20px rgba(255, 154, 60, .22);
    overflow: visible;
}
#nv ul { padding: 0 8px; height: 50px; }
#nv li { background: none; height: 50px; line-height: 50px; font-size: 15px; padding-right: 0; }
#nv li a {
    color: #fff; padding: 0 17px; height: 50px; line-height: 50px;
    font-weight: 800; letter-spacing: .5px; text-shadow: 1px 1px 0 rgba(190, 104, 24, .55);
    border-radius: 20px;
}
#nv li a:hover { background: rgba(255, 255, 255, .22); color: #fff; }
#nv li.a { background: none; }
#nv li.a a {
    background: linear-gradient(180deg, #fff0c9, var(--ct-yellow));
    color: var(--ct-orange-deep) !important;
    text-shadow: none;
    border-radius: 20px;
    box-shadow: inset 0 -2px 0 rgba(206, 150, 40, .35);
}
#mu { display: none; }

/* ---------- 通用卡通卡片 ---------- */
#wp .bm, .xs-panel, .xs-article, .xs-form-card {
    background: var(--ct-paper);
    border: 3px solid #fff;
    border-radius: var(--ct-radius);
    box-shadow: var(--ct-shadow);
    margin-bottom: 18px;
}
#wp .bm { padding: 0 14px; }
.bm_h { background: none; border-bottom: 2px dashed #ffe2c0; padding: 14px 0 12px; }
.bm_h h2, .bm_h .xs-title { color: var(--ct-ink); font-size: 17px; font-weight: 800; }
.xs-panel { overflow: hidden; }
.xs-panel-hd {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 18px 12px;
    border-bottom: 2px dashed #ffe2c0;
    background: linear-gradient(180deg, #fff, #fffaf0);
}
.xs-panel-hd h3 {
    font-size: 17px; font-weight: 800; color: var(--ct-ink);
    position: relative; padding-left: 34px;
}
.xs-panel-hd h3::before {
    content: "★";
    position: absolute; left: 0; top: 50%; transform: translateY(-50%);
    width: 24px; height: 24px; line-height: 24px; text-align: center;
    font-size: 13px; color: #fff; border-radius: 50%;
    background: linear-gradient(180deg, #ffc25e, var(--ct-orange));
    box-shadow: 0 2px 0 var(--ct-orange-deep);
}
.xs-panel-hd .more {
    font-size: 12px; font-weight: 700; color: var(--ct-sky-deep);
    background: #eaf7ff; border-radius: 12px; padding: 3px 12px;
}
.xs-panel-hd .more:hover { background: var(--ct-sky-deep); color: #fff; }
.xs-panel-bd { padding: 12px 18px 16px; }

/* ---------- 门户首页 ---------- */
.xs-wrap { padding-bottom: 6px; }

/* 未登录提示 */
.xs-guestbar {
    display: flex; align-items: center; gap: 12px;
    background: linear-gradient(180deg, #fff, var(--ct-paper-2));
    border: 3px solid #fff; border-radius: var(--ct-radius);
    padding: 12px 18px; margin: 16px 0 18px;
    box-shadow: var(--ct-shadow);
    color: var(--ct-ink-2); font-size: 13px; font-weight: 600;
}
.xs-guestbar .xs-avatar {
    width: 36px; height: 36px; border-radius: 50%; flex: 0 0 36px;
    background: radial-gradient(circle at 50% 35%, #fff 0 20%, #ffd9a8 21% 60%, #ffb457 61%);
    border: 2px solid #fff; box-shadow: 0 2px 0 rgba(232, 186, 132, .6);
}
.xs-guestbar a {
    color: #fff !important; font-weight: 700; margin-left: 4px;
    background: linear-gradient(180deg, #ffc25e, var(--ct-orange));
    padding: 4px 16px; border-radius: 14px;
    box-shadow: 0 3px 0 var(--ct-orange-deep);
}

/* 轮播 */
.xs-banner {
    position: relative; height: 380px; border-radius: 22px; overflow: hidden;
    margin-bottom: 18px;
    border: 4px solid #fff;
    box-shadow: 0 8px 0 rgba(232, 186, 132, .45), 0 14px 26px rgba(120, 96, 70, .14);
    background: #bfe9ff;
}
.xs-banner .xs-slide {
    position: absolute; inset: 0; opacity: 0; transition: opacity .7s;
    display: flex; align-items: center; padding: 0 56px;
    background-size: cover; background-position: center;
    text-decoration: none;
}
.xs-banner .xs-slide.on { opacity: 1; }
.xs-slide::before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(100deg, rgba(38, 30, 24, .66) 0%, rgba(38, 30, 24, .40) 42%, rgba(38, 30, 24, 0) 74%);
}
.xs-slide.s1 { background-image: url("../image/xsmoli/banner1.jpg"); }
.xs-slide.s2 { background-image: url("../image/xsmoli/banner2.jpg"); }
.xs-slide.s3 { background-image: url("../image/xsmoli/banner3.jpg"); }
.xs-slide.s4 { background-image: url("../image/xsmoli/banner4.jpg"); }
.xs-slide.s5 { background-image: url("../image/xsmoli/banner1.jpg"); }
.xs-slide-in { position: relative; z-index: 2; max-width: 560px; color: #fff; }
.xs-slide-in h3 {
    font-size: 36px; font-weight: 800; letter-spacing: 2px; margin-bottom: 10px;
    text-shadow: 3px 3px 0 rgba(74, 53, 39, .55);
}
.xs-slide-in p { font-size: 15px; line-height: 1.9; opacity: .96; text-shadow: 1px 1px 4px rgba(0, 0, 0, .45); }
.xs-slide-in .xs-btn-line { margin-top: 20px; display: flex; gap: 10px; flex-wrap: wrap; }
.xs-btn {
    display: inline-block; padding: 10px 26px; border-radius: 20px;
    font-size: 14px; font-weight: 800; border: 2px solid #fff;
    background: linear-gradient(180deg, #ffc25e, var(--ct-orange));
    color: #fff !important; box-shadow: 0 4px 0 var(--ct-orange-deep);
    transition: transform .15s;
}
.xs-btn:hover { transform: translateY(-2px); color: #fff !important; }
.xs-btn.ghost { background: rgba(255, 255, 255, .22); box-shadow: 0 4px 0 rgba(255, 255, 255, .25); }
.xs-dots { position: absolute; right: 24px; bottom: 16px; display: flex; gap: 8px; z-index: 3; }
.xs-dots span {
    width: 12px; height: 12px; border-radius: 50%; cursor: pointer;
    background: #fff; opacity: .55; border: 2px solid rgba(255, 255, 255, .8);
    transition: .25s;
}
.xs-dots span.on { opacity: 1; background: var(--ct-yellow); transform: scale(1.25); }

/* 公告条 */
.xs-notice {
    display: flex; gap: 12px; align-items: center; flex-wrap: wrap;
    background: linear-gradient(180deg, #fff, var(--ct-paper-2));
    border: 3px solid #fff; border-radius: 16px;
    padding: 12px 18px; margin-bottom: 18px;
    box-shadow: 0 5px 0 rgba(232, 186, 132, .4);
    font-size: 13px; color: var(--ct-ink-2); font-weight: 600;
}
.xs-notice b { color: var(--ct-orange-deep); }
.xs-notice .xs-tag {
    background: linear-gradient(180deg, #ff9fbb, var(--ct-pink));
    color: #fff; font-size: 12px; font-weight: 800;
    padding: 3px 14px; border-radius: 12px;
    box-shadow: 0 3px 0 #e0708f;
}
.xs-notice a { color: var(--ct-sky-deep); font-weight: 700; }

/* 快捷入口 */
.xs-quick { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-bottom: 18px; }
.xs-quick a {
    background: var(--ct-paper); border: 3px solid #fff; border-radius: 16px;
    padding: 14px 10px; text-align: center;
    color: var(--ct-ink); font-size: 14px; font-weight: 800;
    box-shadow: 0 5px 0 rgba(232, 186, 132, .42);
    transition: transform .18s, box-shadow .18s;
}
.xs-quick a:hover { transform: translateY(-4px); box-shadow: 0 9px 0 rgba(232, 186, 132, .42); color: var(--ct-orange-deep); }
.xs-quick a i {
    display: block; width: 44px; height: 44px; margin: 0 auto 8px; border-radius: 16px;
    font-style: normal; font-size: 19px; line-height: 40px; font-weight: 800; color: #fff;
    background: linear-gradient(180deg, #8fd9ff, var(--ct-sky-deep));
    border: 2px solid #fff;
    box-shadow: 0 3px 0 #1c8ec9;
}
.xs-quick a:nth-child(2n) i { background: linear-gradient(180deg, #ffc25e, var(--ct-orange)); box-shadow: 0 3px 0 var(--ct-orange-deep); }
.xs-quick a:nth-child(3n) i { background: linear-gradient(180deg, #ffb3c8, var(--ct-pink)); box-shadow: 0 3px 0 #e0708f; }
.xs-quick a:nth-child(4n) i { background: linear-gradient(180deg, #a8e8a0, var(--ct-green)); box-shadow: 0 3px 0 #3f9c4c; }

/* 两列 */
.xs-cols { display: grid; grid-template-columns: 1fr 380px; gap: 18px; align-items: start; }

/* 最新更新列表 */
.xs-news li {
    display: flex; align-items: center; gap: 10px;
    padding: 11px 0; border-bottom: 2px dashed #ffe7c9; font-size: 14px;
}
.xs-news li:last-child { border-bottom: 0; }
.xs-news li .d { flex: 0 0 46px; color: var(--ct-muted); font-size: 12px; font-weight: 700; }
.xs-news li .t { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.xs-news li .t a { color: var(--ct-ink); font-weight: 600; }
.xs-news li .t a:hover { color: var(--ct-orange-deep); }
.xs-news li .new {
    flex: 0 0 auto; font-size: 11px; font-weight: 800; color: #fff;
    padding: 2px 9px; border-radius: 10px;
    background: linear-gradient(180deg, #ff9fbb, var(--ct-pink));
    box-shadow: 0 2px 0 #e0708f;
}

/* 攻略链接网格 */
.xs-links-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.xs-links-grid a {
    background: #fff8ea; border: 2px solid #ffe3c0; border-radius: 12px;
    padding: 10px 12px; font-size: 13px; font-weight: 600; color: var(--ct-ink-2);
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.xs-links-grid a:hover { background: #eaf7ff; border-color: #a9e3ff; color: var(--ct-sky-deep); }

/* 四宫格 */
.xs-block-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.xs-block-grid .xs-panel { margin-bottom: 0; }
.xs-block-grid .xs-links-grid { grid-template-columns: 1fr 1fr; }
.xs-block-grid .xs-links-grid a { background: #fff; border-color: transparent; padding: 9px 10px; }
.xs-block-grid .xs-links-grid a::before { content: "◆"; color: var(--ct-orange); font-size: 10px; margin-right: 6px; }
.xs-block-grid .xs-links-grid a:hover { background: #fff6e6; padding-left: 14px; }

/* 友情链接 */
.xs-friend { display: flex; flex-wrap: wrap; gap: 10px; }
.xs-friend a {
    padding: 8px 18px; border-radius: 16px;
    background: #fff8ea; border: 2px solid #ffe3c0;
    font-size: 12px; font-weight: 700; color: var(--ct-ink-2);
}
.xs-friend a:hover { background: var(--ct-orange); border-color: #fff; color: #fff; }

/* ---------- 论坛首页顶部：最新更新 + 最新图片 ---------- */
.xs-forumtop {
    display: grid;
    grid-template-columns: 1fr 430px;
    gap: 18px;
    margin: 18px 0;
    align-items: stretch;
}
.xs-forumtop .xs-panel { margin-bottom: 0; display: flex; flex-direction: column; }
.xs-forumtop .xs-panel-bd { flex: 1; }
.xs-news-sm li { padding: 8px 0; font-size: 13px; }
.xs-news-sm li .d { flex: 0 0 44px; font-size: 12px; }
.xs-news-sm li .new { padding: 1px 7px; font-size: 10px; }
.xs-empty { color: var(--ct-muted); font-size: 13px; padding: 18px 0; text-align: center; }

.xs-picslider {
    position: relative; height: 214px; border-radius: 14px; overflow: hidden;
    background: #ffe9c9; border: 2px solid #fff;
    box-shadow: inset 0 0 0 1px #ffe3c0;
}
.xs-picslide {
    position: absolute; inset: 0; opacity: 0; transition: opacity .5s;
    background-size: cover; background-position: center; border-radius: 12px;
}
.xs-picslide.on { opacity: 1; }
.xs-picdots { position: absolute; right: 12px; bottom: 10px; display: flex; gap: 6px; z-index: 3; }
.xs-picdots span {
    width: 9px; height: 9px; border-radius: 50%; cursor: pointer;
    background: #fff; opacity: .6; border: 1px solid rgba(255, 255, 255, .9);
}
.xs-picdots span.on { opacity: 1; background: var(--ct-yellow); transform: scale(1.2); }

@media screen and (max-width: 1240px) {
    .xs-forumtop { grid-template-columns: 1fr; }
}

/* ---------- 表单 ---------- */
.xs-form-row { display: flex; align-items: center; margin-bottom: 16px; }
.xs-form-row label { flex: 0 0 110px; text-align: right; padding-right: 16px; color: var(--ct-ink-2); font-size: 14px; font-weight: 700; }
.xs-form-row .inp {
    flex: 1; height: 44px; line-height: 44px; padding: 0 14px; font-size: 14px;
    border: 2px solid #ffe2c0; border-radius: 12px; background: #fffdf7; color: var(--ct-ink);
}
.xs-form-row .inp:focus { border-color: #8fd9ff; background: #fff; outline: none; box-shadow: 0 0 0 3px rgba(111, 211, 255, .18); }
.xs-submit {
    display: inline-block; padding: 0 34px; height: 46px; line-height: 42px; border: 2px solid #fff; cursor: pointer;
    border-radius: 22px; color: #fff; font-size: 15px; font-weight: 800; letter-spacing: 1px;
    background: linear-gradient(180deg, #ffc25e, var(--ct-orange));
    box-shadow: 0 5px 0 var(--ct-orange-deep);
}
.xs-submit:hover { filter: brightness(1.04); }
.xs-submit:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ct-orange-deep); }
.xs-msg { padding: 12px 16px; border-radius: 12px; font-size: 14px; font-weight: 600; margin-bottom: 16px; border: 2px solid; }
.xs-msg.err { background: #fff1f4; color: #d94a6a; border-color: #ffc9d6; }
.xs-msg.ok { background: #f1fff5; color: #1f9d5c; border-color: #b6ecc9; }

/* ---------- 游戏账号中心（左侧竖导航） ---------- */
.xs-acct-wrap { display: flex; gap: 24px; align-items: flex-start; }
.xs-acct-nav { flex: 0 0 210px; }
.xs-acct-nav a {
    display: block; padding: 12px 16px; margin-bottom: 10px;
    border-radius: 14px; background: #fff8ea; border: 2px solid #ffe3c0;
    color: #7b6656; font-size: 14px; font-weight: 700; text-align: center;
    transition: all .15s;
}
.xs-acct-nav a:hover { background: #fff2dd; color: var(--ct-orange-deep); }
.xs-acct-nav a.on {
    background: linear-gradient(180deg, #ffc25e, var(--ct-orange));
    border-color: #fff; color: #fff;
    box-shadow: 0 3px 0 var(--ct-orange-deep);
}
.xs-acct-tip {
    margin-top: 14px; padding: 12px 14px; font-size: 12px; line-height: 1.9;
    color: #a08b78; background: #fffdf7;
    border: 2px dashed #ffe3c0; border-radius: 14px;
}
.xs-acct-tip b { color: #e8741a; }
.xs-acct-main { flex: 1; min-width: 0; }
.xs-code-row { display: flex; gap: 12px; align-items: center; }
.xs-code-row .inp { flex: 0 0 150px; width: 150px; }
.xs-code-img {
    width: 110px; height: 44px; border-radius: 10px;
    border: 2px solid #ffe2c0; background: #fff; cursor: pointer;
}
@media screen and (max-width: 960px) {
    .xs-acct-wrap { flex-direction: column; }
    .xs-acct-nav { flex: none; width: 100%; display: flex; gap: 10px; flex-wrap: wrap; }
    .xs-acct-nav a { flex: 1 1 150px; margin-bottom: 0; }
    .xs-acct-tip { flex: 1 1 100%; margin-top: 4px; }
    .xs-acct-main { width: 100%; }
}

/* ---------- 内容页 ---------- */
.xs-article { padding: 24px 28px; }
.xs-article h1 { font-size: 24px; font-weight: 800; margin-bottom: 6px; color: var(--ct-ink); }
.xs-article .xs-meta { color: var(--ct-muted); font-size: 12px; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 2px dashed #ffe2c0; }
.xs-article .xs-body { font-size: 15px; line-height: 2; color: var(--ct-ink-2); }
.xs-article .xs-body p { margin-bottom: 12px; }

/* ---------- 论坛 ---------- */
#ct .bm { padding: 0 14px; }
.bm_h h2 a, .bm_h h2 { color: var(--ct-ink); font-weight: 800; }
.fl_g dt a, .fl_g dd a { color: var(--ct-ink); font-weight: 700; }
.fl_g .fl_icn_g img, .fl_icn_g img { border-radius: 12px; border: 2px solid #ffe3c0; }
#ct .fl_g dl { }
.fl_row td { border-top: 2px dashed #ffe7c9; }
#ct .bm_h { border-radius: 18px 18px 0 0; }

/* 论坛版块分区（卡通化） */
#ct .fl.bm { background: transparent; border: 0; box-shadow: none; padding: 0; margin-bottom: 0; }
#ct .bm.bmw {
    background: var(--ct-paper);
    border: 3px solid #fff;
    border-radius: var(--ct-radius);
    box-shadow: var(--ct-shadow);
    overflow: hidden;
    margin-bottom: 18px;
}
#ct .bmw .bm_h, #wp .bmw .bm_h {
    background: linear-gradient(180deg, #ffe9c9, #ffd9a8) !important;
    border: 0 !important;
    height: auto; line-height: 24px;
    padding: 12px 16px;
}
#ct .bmw .bm_h h2, #ct .bmw .bm_h h2 a {
    color: #e8741a !important;
    font-size: 16px; font-weight: 800; letter-spacing: 1px;
}
#ct .bmw .bm_h .o em { opacity: .45; }
#ct .bmw .bm_c { padding: 6px 14px 12px; background: transparent; }
#ct .fl_tb td { padding: 9px 0; }
#ct .fl_icn { width: 46px; }
#ct .fl_icn a {
    display: flex; width: 36px; height: 36px; border-radius: 12px;
    align-items: center; justify-content: center;
    background: linear-gradient(180deg, #ffd9a8, #ffb457);
    border: 2px solid #fff;
    box-shadow: 0 3px 0 rgba(206, 122, 30, .38);
}
#ct .fl_icn svg { width: 18px; height: 16px; }
#ct .fl_icn svg path { fill: #fff !important; }
#ct .bmw:nth-of-type(3n) .fl_icn a { background: linear-gradient(180deg, #a8e8ff, #5ec8ef); box-shadow: 0 3px 0 rgba(46, 152, 200, .38); }
#ct .bmw:nth-of-type(3n+2) .fl_icn a { background: linear-gradient(180deg, #ffc0d2, #ff92b2); box-shadow: 0 3px 0 rgba(214, 106, 140, .38); }
#ct .fl_g dt a, #ct .fl_tb h2 a { color: var(--ct-ink) !important; font-weight: 700; }
#ct .fl_tb h2 a:hover { color: var(--ct-orange-deep) !important; }
#ct .fl_i .xi2 { color: var(--ct-sky-deep); font-weight: 700; }
#ct .fl_by div { color: var(--ct-muted); }
#ct .fl_row td { border-top: 2px dashed #ffe7c9; }
#ct .bmw:last-child { margin-bottom: 0; }

/* 帖子列表 */
.th th, .th td { background: #fff8ea !important; color: var(--ct-ink-2); font-weight: 700; }
.th { background: #fff8ea !important; border-color: #ffe2c0 !important; }
.th a { color: var(--ct-ink-2); font-weight: 700; }
.th a:hover { color: var(--ct-orange-deep); }
#ct .th { border-top: 2px solid #fff; }
.tl .th { border-top: 2px solid #fff; }
.t_f a, .s xst { color: var(--ct-ink); }
.xst a { color: var(--ct-ink) !important; font-weight: 700; }
.xst a:hover { color: var(--ct-orange-deep) !important; }
.tl td, .tl th { border-bottom: 2px dashed #ffe7c9; }

/* 按钮/分页 */
#newspecial, #newspecialtmp, .pn, .pgbtn a {
    border-radius: 16px; border: 2px solid #fff;
    background: linear-gradient(180deg, #ffc25e, var(--ct-orange));
    box-shadow: 0 4px 0 var(--ct-orange-deep);
}
.pn span, .pn strong, #newspecial span, #newspecialtmp span { color: #fff; font-weight: 800; }
.pg a, .pg strong {
    border-radius: 10px; border: 2px solid #ffe3c0; background: #fff; color: var(--ct-ink-2);
    font-weight: 700;
}
.pg a:hover, .pg strong { background: var(--ct-orange); border-color: #fff; color: #fff; }
#autopbn { border-radius: 16px; }

/* 在线会员/统计 */
#onlinelist dt, #onlinelist dd { color: var(--ct-ink-2); }
.bm_h .xs2, .bm_h .xg1 { color: var(--ct-muted); }

/* 面包屑 */
#pt .z a, #pt .z { color: var(--ct-ink-2); }
#pt .nvhm { color: var(--ct-orange-deep); }

/* ---------- 页脚 ---------- */
#ft {
    background: transparent;
    border-top: 2px dashed #ffddb8;
    padding: 20px 0 26px;
    margin-top: 12px;
    color: var(--ct-muted);
    font-size: 12px;
    line-height: 2;
}
#flk, #flk.y { float: none !important; text-align: center; color: var(--ct-muted); }
#flk a { color: var(--ct-muted); font-weight: 600; }
#flk a:hover { color: var(--ct-orange-deep); }
#frt { display: none; }

/* ---------- 响应式 ---------- */
@media screen and (max-width: 1240px) {
    .wp, body.widthauto .wp, body.widthauto #wp { width: 96%; }
    #hd .wp { flex-wrap: wrap; }
    #scbar { flex: 0 0 100%; margin: 0 0 12px; }
    #nv { flex: 0 0 100%; }
    .xs-cols { grid-template-columns: 1fr; }
    .xs-quick { grid-template-columns: repeat(3, 1fr); }
    .xs-links-grid { grid-template-columns: repeat(2, 1fr); }
    .xs-banner { height: 260px; }
    .xs-slide-in h3 { font-size: 24px; }
    .xs-block-grid { grid-template-columns: 1fr; }
}
