/* 58动漫 · secegpepuw.com.cn
   骨架：目录索引栏 + 层叠封面 + 虚线分区
   配色：晴空蓝 #3fa9ff / 樱粉 #ff7fae / 柠檬黄 #ffd23f / 薄荷 #4fe0b8 / 纸白 #fbfdff */

:root {
    --bg: #fbfdff;
    --ink: #1d2b4a;
    --soft: #63718c;
    --blue: #3fa9ff;
    --pink: #ff7fae;
    --yellow: #ffd23f;
    --mint: #4fe0b8;
    --line: #e6effc;
    --line-2: #d3e3f7;
    --card: #ffffff;
    --shadow: 0 1px 2px rgba(29, 43, 74, .04), 0 14px 30px -22px rgba(63, 169, 255, .7);
    --shadow-h: 0 2px 4px rgba(29, 43, 74, .06), 0 22px 40px -24px rgba(255, 127, 174, .6);
}

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

body {
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
    background-color: var(--bg);
    background-image:
        radial-gradient(rgba(63, 169, 255, .13) 1px, transparent 1px),
        radial-gradient(circle at 4% 6%, rgba(255, 127, 174, .12), transparent 26%),
        radial-gradient(circle at 96% 12%, rgba(79, 224, 184, .13), transparent 24%);
    background-size: 22px 22px, auto, auto;
    background-attachment: fixed;
    color: var(--ink);
    font-size: 14px;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul, ol { list-style: none; }

.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 18px; }

/* ---------- 42px 顶栏 ---------- */
.top {
    position: sticky; top: 0; z-index: 60;
    height: 42px; background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}
.top-in { height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.logo { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.logo-badge {
    width: 24px; height: 24px; border-radius: 8px;
    background: linear-gradient(135deg, var(--blue), var(--pink));
    color: #fff; font-size: 9.5px; font-weight: 800; letter-spacing: -.2px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 5px 12px -6px rgba(63, 169, 255, .95);
}
.logo b { font-size: 15px; letter-spacing: .8px; }
.logo b em { font-style: normal; color: var(--blue); }
.logo small {
    font-size: 9px; letter-spacing: 1.4px; color: #9fb0ca;
    border-left: 1px solid var(--line-2); padding-left: 7px;
}
.menu { display: flex; align-items: center; gap: 2px; overflow-x: auto; }
.menu a {
    position: relative; font-size: 12.4px; color: var(--soft);
    padding: 4px 9px; border-radius: 8px; white-space: nowrap;
    transition: color .18s, background .18s;
}
.menu a:hover { color: #1d6fe0; background: #eef7ff; }
.menu a.on { color: #1d6fe0; font-weight: 700; }
.menu a.on::after {
    content: ""; position: absolute; left: 9px; right: 9px; bottom: 0;
    height: 2.5px; border-radius: 2px;
    background: linear-gradient(90deg, var(--blue), var(--pink));
}

/* ---------- 首屏 ---------- */
.hero { padding: 22px 0 6px; }
.hero-inner { display: grid; grid-template-columns: 1.06fr .94fr; gap: 22px; align-items: center; }
.hero-tag {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 10.5px; letter-spacing: 1.2px; color: #1d6fe0;
    background: #eaf5ff; border: 1px dashed #b9dcff; border-radius: 999px;
    padding: 3px 11px; margin-bottom: 10px;
}
.hero-tag i { width: 6px; height: 6px; border-radius: 50%; background: var(--pink); font-style: normal; }
.hero h1 {
    font-size: clamp(24px, 3.4vw, 34px); line-height: 1.34;
    letter-spacing: .3px; font-weight: 800;
}
.hero h1 b {
    background: linear-gradient(transparent 62%, rgba(255, 210, 63, .75) 62%);
    font-weight: 800;
}
.hero h1 em { font-style: normal; color: var(--pink); }
.hero-sub { font-size: 12.9px; color: var(--soft); max-width: 470px; margin-top: 9px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 13px; font-size: 11.2px; color: #8497b3; }
.hero-facts b { color: var(--ink); font-size: 12.4px; }

.stack { position: relative; height: 300px; }
.stack-card {
    position: absolute; width: 232px; padding: 7px 7px 26px;
    background: #fff; border-radius: 16px; border: 1px solid var(--line);
    box-shadow: 0 18px 36px -22px rgba(29, 43, 74, .55);
    transition: transform .3s, box-shadow .3s;
}
.stack-card svg { width: 100%; height: 148px; border-radius: 11px; }
.stack-card:nth-child(1) { left: 0; top: 34px; transform: rotate(-6deg); z-index: 1; }
.stack-card:nth-child(2) { left: 96px; top: 6px; transform: rotate(-1deg); z-index: 2; }
.stack-card:nth-child(3) { left: 188px; top: 52px; transform: rotate(6deg); z-index: 3; }
.stack-card:hover { transform: translateY(-6px) rotate(0deg); box-shadow: var(--shadow-h); z-index: 5; }
.stack-card b { display: block; font-size: 12px; margin-top: 7px; text-align: center; letter-spacing: .5px; }
.stack-card span { display: block; font-size: 10px; color: #9baccc; text-align: center; }

/* ---------- 双栏：目录 + 内容 ---------- */
.layout {
    display: grid; grid-template-columns: 196px 1fr; gap: 26px;
    padding: 18px 0 4px; align-items: start;
}
.rail { position: sticky; top: 56px; }
.rail-h {
    font-size: 10.5px; letter-spacing: 2px; color: #9baccc;
    padding-bottom: 7px; border-bottom: 1px solid var(--line); margin-bottom: 9px;
}
.rail-list { border-left: 2px dashed var(--line-2); padding-left: 12px; }
.rail-list a {
    display: flex; align-items: baseline; gap: 7px;
    font-size: 12.4px; color: #4b5c7b; padding: 4px 0;
    transition: color .18s, transform .18s;
}
.rail-list a:hover { color: #1d6fe0; transform: translateX(3px); }
.rail-list a i { font-style: normal; font-size: 9.5px; color: #b3c3da; letter-spacing: .5px; }
.rail-note {
    margin-top: 12px; font-size: 10.6px; line-height: 1.7; color: #96a7c1;
    background: #f3f9ff; border-radius: 11px; padding: 9px 11px;
}
.rail-note b { color: #1d6fe0; }

/* ---------- 分区标题 ---------- */
.block { padding: 22px 0 4px; }
.sec-t { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.sec-t h2 { font-size: 18px; letter-spacing: .6px; font-weight: 800; white-space: nowrap; }
.sec-t h2 i { font-style: normal; color: var(--blue); }
.sec-t .en { font-size: 9.8px; letter-spacing: 2px; color: #a7b8d1; }
.sec-t .line { flex: 1; border-top: 2px dashed var(--line-2); }
.sec-t .tip { font-size: 10.6px; color: #9baccc; white-space: nowrap; }

/* ---------- 简介 ---------- */
.intro-box {
    background: var(--card); border: 1px solid var(--line); border-radius: 18px;
    padding: 18px 20px; box-shadow: var(--shadow);
    font-size: 13px; color: #3c4c6b; text-align: justify;
}
.intro-box p { margin-bottom: 9px; }
.intro-box p:first-child::first-letter {
    float: left; font-size: 40px; line-height: .88; font-weight: 800;
    color: var(--blue); padding: 3px 8px 0 0;
}
.intro-box strong { color: #10325c; background: linear-gradient(transparent 60%, rgba(79, 224, 184, .5) 60%); }
.pull {
    float: right; width: 214px; margin: 4px 0 8px 16px;
    background: linear-gradient(160deg, #eef7ff, #fff2f7);
    border: 1px solid #dbeaff; border-radius: 14px; padding: 12px 13px;
    font-size: 12px; color: #46587a; line-height: 1.8;
}
.pull b { display: block; font-size: 10.5px; letter-spacing: 1.4px; color: var(--blue); margin-bottom: 4px; }
.intro-box::after { content: ""; display: block; clear: both; }

/* ---------- 优势 ---------- */
.adv-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.adv-box {
    background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--blue);
    border-radius: 12px; padding: 12px 14px;
    transition: transform .22s, box-shadow .22s, border-color .22s;
}
.adv-box:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-left-color: var(--pink); }
.adv-box:nth-child(2) { border-left-color: var(--pink); }
.adv-box:nth-child(3) { border-left-color: var(--mint); }
.adv-box:nth-child(4) { border-left-color: var(--yellow); }
.adv-box h3 { font-size: 13px; margin-bottom: 3px; }
.adv-box p { font-size: 11.9px; color: var(--soft); line-height: 1.72; }

/* ---------- 精选列表 ---------- */
.list { display: grid; gap: 9px; }
.li {
    display: grid; grid-template-columns: 104px 1fr auto; gap: 12px; align-items: center;
    background: #fff; border: 1px solid var(--line); border-radius: 14px;
    padding: 8px 12px 8px 8px;
    transition: transform .22s, box-shadow .22s, border-color .22s;
}
.li:hover { transform: translateY(-3px); box-shadow: var(--shadow-h); border-color: #bcdcff; }
.li-img svg { width: 104px; height: 66px; border-radius: 10px; }
.li-body b { display: block; font-size: 13.2px; line-height: 1.45; }
.li-body p { font-size: 11.7px; color: var(--soft); margin-top: 2px; }
.li-tag {
    font-size: 10px; color: #1d6fe0; background: #eaf5ff;
    border-radius: 6px; padding: 3px 8px; white-space: nowrap; font-weight: 700;
}
.li:nth-child(2n) .li-tag { color: #c9407c; background: #fff0f6; }
.li:nth-child(3n) .li-tag { color: #0d8a6a; background: #e9fbf5; }

/* ---------- 短评 ---------- */
.mosaic { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.mosaic-card {
    position: relative; background: linear-gradient(180deg, #fff, #f8fbff);
    border: 1px solid #eaf2ff; border-radius: 14px; padding: 12px 14px 11px;
    transition: transform .22s, border-color .22s;
}
.mosaic-card:hover { transform: translateY(-3px); border-color: #bcdcff; }
.mosaic-card::before {
    content: "\201C"; position: absolute; right: 11px; top: 0;
    font-size: 28px; line-height: 1; color: rgba(63, 169, 255, .22);
}
.mosaic-card p { font-size: 12.1px; color: #3c4c6b; line-height: 1.72; }
.mosaic-card span { display: block; margin-top: 6px; font-size: 10.5px; color: #9baccc; }
.mosaic-card span b { color: var(--pink); }

/* ---------- 资讯时间线 ---------- */
.feed { display: grid; gap: 2px; }
.feed-row {
    position: relative; display: grid; grid-template-columns: 62px 1fr;
    gap: 12px; padding: 9px 0 9px 18px;
    border-bottom: 1px dashed var(--line);
    transition: transform .18s;
}
.feed-row:last-child { border-bottom: 0; }
.feed-row::before {
    content: ""; position: absolute; left: 2px; top: 17px;
    width: 7px; height: 7px; border-radius: 50%;
    background: #fff; border: 2px solid var(--blue);
}
.feed-row:nth-child(2n)::before { border-color: var(--pink); }
.feed-row:nth-child(3n)::before { border-color: var(--mint); }
.feed-row:hover { transform: translateX(3px); }
.feed-row time { font-size: 10.8px; color: #9baccc; letter-spacing: .3px; }
.feed-row b { display: block; font-size: 12.8px; }
.feed-row p { font-size: 11.6px; color: var(--soft); margin-top: 1px; }

/* ---------- 评论 ---------- */
.cmt-area { display: grid; grid-template-columns: .82fr 1.18fr; gap: 16px; align-items: start; }
.cmt-form {
    background: #fff; border: 1px solid var(--line); border-radius: 16px;
    padding: 0 0 14px; overflow: hidden; box-shadow: var(--shadow);
    position: sticky; top: 56px;
}
.cmt-form-h {
    background: linear-gradient(120deg, #eaf5ff, #fff1f7);
    padding: 10px 14px; border-bottom: 1px dashed var(--line-2);
}
.cmt-form-h h3 { font-size: 13.2px; }
.cmt-form-h p { font-size: 11px; color: var(--soft); margin-top: 1px; }
.cmt-form .f { padding: 0 14px; margin-top: 9px; }
.cmt-form label { display: block; font-size: 10.6px; color: #8b9cb8; margin-bottom: 3px; }
.cmt-form input, .cmt-form textarea {
    width: 100%; font-family: inherit; font-size: 12.4px; color: var(--ink);
    border: 1px solid var(--line-2); border-radius: 9px; padding: 7px 10px;
    outline: none; background: #fcfdff; transition: border-color .18s, box-shadow .18s;
}
.cmt-form input:focus, .cmt-form textarea:focus {
    border-color: var(--blue); background: #fff; box-shadow: 0 0 0 3px rgba(63, 169, 255, .14);
}
.cmt-form textarea { min-height: 74px; resize: vertical; }
.cmt-btn {
    margin: 10px 14px 0; width: calc(100% - 28px);
    font-family: inherit; font-size: 13px; font-weight: 700; color: #fff;
    background: linear-gradient(135deg, var(--blue), var(--pink));
    border: 0; border-radius: 9px; padding: 8px 0; cursor: pointer;
    transition: transform .18s, box-shadow .18s;
}
.cmt-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 18px -12px rgba(63, 169, 255, .95); }
.cmt-msg { margin: 6px 14px 0; font-size: 11px; color: #d0397d; min-height: 15px; }

.cmt-list { display: grid; gap: 8px; }
.cmt {
    display: grid; grid-template-columns: 28px 1fr; gap: 9px;
    background: #fff; border: 1px solid #edf4ff; border-radius: 13px;
    padding: 10px 12px; transition: border-color .18s, transform .18s;
}
.cmt:hover { border-color: #bfdcff; transform: translateY(-2px); }
.cmt-av {
    width: 28px; height: 28px; border-radius: 9px;
    background: linear-gradient(140deg, #dcefff, #ffe4ef);
    color: #1d6fe0; font-size: 11.5px; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
}
.cmt-head { display: flex; align-items: baseline; gap: 7px; }
.cmt-head b { font-size: 12.1px; }
.cmt-head time { font-size: 10.2px; color: #aab9ce; }
.cmt p { font-size: 12px; color: #43536f; margin-top: 2px; }

/* ---------- 页脚 ---------- */
.foot { margin-top: 26px; background: #16233d; color: rgba(255, 255, 255, .7); }
.foot-grid { display: grid; grid-template-columns: 1.65fr 1fr 1fr; gap: 18px; padding: 22px 0 15px; }
.foot h3 { font-size: 15px; color: #fff; letter-spacing: .8px; margin-bottom: 6px; }
.foot h3 i { font-style: normal; color: var(--yellow); }
.foot p { font-size: 11.6px; line-height: 1.75; max-width: 440px; }
.foot h4 { font-size: 10.5px; letter-spacing: 1.6px; color: #7f93b4; margin-bottom: 7px; }
.foot a { display: block; font-size: 12px; padding: 2px 0; transition: color .18s; }
.foot a:hover { color: var(--yellow); }
.foot-base {
    border-top: 1px solid rgba(255, 255, 255, .1); padding: 10px 0 16px;
    display: flex; flex-wrap: wrap; gap: 6px 14px; justify-content: space-between;
    font-size: 10.5px; color: #7f93b4;
}

.to-top {
    position: fixed; right: 16px; bottom: 18px; width: 36px; height: 36px;
    border-radius: 50%; background: linear-gradient(140deg, var(--blue), var(--pink));
    color: #fff; display: flex; align-items: center; justify-content: center;
    font-size: 15px; box-shadow: 0 12px 22px -12px rgba(63, 169, 255, .95);
    opacity: .88; z-index: 40; transition: transform .18s, opacity .18s;
}
.to-top:hover { opacity: 1; transform: translateY(-2px); }

/* ---------- 内页 ---------- */
.page-h { padding: 24px 0 8px; }
.bc { font-size: 11px; color: #9baccc; margin-bottom: 8px; }
.bc a:hover { color: #1d6fe0; }
.bc span { margin: 0 5px; color: #c9d8ea; }
.page-h h1 { font-size: clamp(23px, 3.3vw, 31px); line-height: 1.36; font-weight: 800; letter-spacing: .3px; }
.page-h h1 .hl {
    background: linear-gradient(transparent 60%, rgba(255, 210, 63, .7) 60%);
}
.page-h .lede { font-size: 12.9px; color: var(--soft); max-width: 760px; margin-top: 8px; }
.tags-line { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 11px; }
.tags-line span {
    font-size: 10.5px; padding: 3px 10px; border-radius: 7px;
    background: #eef7ff; color: #1d6fe0; border: 1px solid #d8ebff;
}
.tags-line span:nth-child(2n) { background: #fff0f6; color: #c9407c; border-color: #ffdcea; }
.tags-line span:nth-child(3n) { background: #eafbf5; color: #0d8a6a; border-color: #cdf3e7; }

.article {
    background: #fff; border: 1px solid var(--line); border-radius: 18px;
    padding: 18px 20px; margin-top: 12px; box-shadow: var(--shadow);
}
.article h2 {
    font-size: 17px; margin-bottom: 7px; display: flex; align-items: center; gap: 8px;
    font-weight: 800; letter-spacing: .4px;
}
.article h2::before {
    content: ""; width: 9px; height: 9px; border-radius: 3px;
    background: var(--blue); box-shadow: 3px 0 0 var(--pink);
    margin-right: 2px;
}
.article h3 { font-size: 13.4px; margin: 13px 0 4px; color: #22375c; }
.article p { font-size: 12.9px; color: #43536f; margin-bottom: 9px; text-align: justify; }
.article p:last-child { margin-bottom: 0; }
.article ul, .article ol { margin: 0 0 9px 19px; }
.article ul { list-style: disc; }
.article ol { list-style: decimal; }
.article li { font-size: 12.7px; color: #43536f; margin-bottom: 4px; }
.article strong { color: #10325c; background: linear-gradient(transparent 60%, rgba(79, 224, 184, .45) 60%); }
.article a { color: #1d6fe0; border-bottom: 1px dashed #9fcfff; }

.callout {
    border-left: 3px solid var(--blue); background: #f4faff;
    border-radius: 0 12px 12px 0; padding: 11px 14px; margin: 10px 0;
    font-size: 12.7px; color: #3f5578; line-height: 1.8;
}
.note {
    margin-top: 10px; padding: 10px 13px; border-radius: 11px;
    background: #fffdf3; border: 1px dashed #f0dfa0;
    font-size: 11.6px; color: #7d7040;
}

.steps { display: grid; gap: 8px; margin-top: 8px; }
.step {
    display: grid; grid-template-columns: 24px 1fr; gap: 10px;
    background: #fbfdff; border: 1px solid #edf4ff; border-radius: 12px;
    padding: 10px 12px; transition: border-color .18s, background .18s;
}
.step:hover { border-color: #bfdcff; background: #fff; }
.step i {
    width: 24px; height: 24px; border-radius: 8px;
    background: #eaf5ff; color: #1d6fe0; font-style: normal;
    font-size: 11.5px; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
}
.step:nth-child(2n) i { background: #fff0f6; color: #c9407c; }
.step:nth-child(3n) i { background: #eafbf5; color: #0d8a6a; }
.step b { display: block; font-size: 12.7px; }
.step p { font-size: 11.9px; color: var(--soft); margin: 1px 0 0; }

.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 9px; }
.mini {
    background: #fbfdff; border: 1px solid var(--line); border-radius: 12px;
    padding: 11px 13px; transition: transform .2s, border-color .2s;
}
.mini:hover { transform: translateY(-2px); border-color: #bfdcff; }
.mini h3 { font-size: 12.5px; margin-bottom: 3px; }
.mini p { font-size: 11.7px; color: var(--soft); margin: 0; }

.tbl { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 12.1px; }
.tbl th, .tbl td { padding: 8px 9px; border-bottom: 1px solid var(--line); text-align: left; }
.tbl th { background: #f5faff; font-size: 11.2px; color: #63718c; letter-spacing: .4px; }
.tbl tr:hover td { background: #fafdff; }
.tbl .hot { color: #c9407c; font-weight: 700; }

.rel2 { padding: 22px 0 4px; }
.rel2 h2 { font-size: 16px; text-align: center; margin-bottom: 11px; font-weight: 800; }
.rel2 h2 b { color: var(--blue); }
.rel2-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.rel2-card {
    display: block; background: #fff; border: 1px solid var(--line);
    border-radius: 13px; padding: 11px 13px;
    transition: transform .2s, border-color .2s, box-shadow .2s;
}
.rel2-card:hover { transform: translateY(-3px); border-color: #bcdcff; box-shadow: var(--shadow); }
.rel2-card b { display: block; font-size: 12.7px; margin-bottom: 2px; }
.rel2-card p { font-size: 11.5px; color: var(--soft); }

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
    .hero-inner { grid-template-columns: 1fr; }
    .stack { height: 276px; max-width: 420px; }
    .stack-card { width: 200px; }
    .stack-card svg { height: 128px; }
    .stack-card:nth-child(2) { left: 82px; }
    .stack-card:nth-child(3) { left: 164px; }
    .layout { grid-template-columns: 1fr; }
    .rail { position: static; }
    .rail-list { display: flex; flex-wrap: wrap; gap: 4px 14px; border-left: 0; padding-left: 0; }
    .rail-note { display: none; }
    .cmt-area { grid-template-columns: 1fr; }
    .cmt-form { position: static; }
}

@media (max-width: 640px) {
    .wrap { padding: 0 13px; }
    .logo small { display: none; }
    .menu a { padding: 4px 7px; font-size: 11.7px; }
    .stack { height: 244px; }
    .stack-card { width: 172px; padding: 6px 6px 22px; }
    .stack-card svg { height: 108px; }
    .stack-card:nth-child(2) { left: 66px; }
    .stack-card:nth-child(3) { left: 132px; }
    .adv-grid, .mosaic, .grid2, .rel2-grid { grid-template-columns: 1fr; }
    .pull { float: none; width: auto; margin: 0 0 10px; }
    .li { grid-template-columns: 84px 1fr; }
    .li-img svg { width: 84px; height: 56px; }
    .li-tag { display: none; }
    .feed-row { grid-template-columns: 54px 1fr; }
    .foot-grid { grid-template-columns: 1fr; }
    .article { padding: 15px; border-radius: 15px; }
}
