/* tpl_2 mobile - 清新少女粉（轻字重版，仅 CSS） */

:root{
    --bg1:#fff7fc;
    --bg2:#ffedf6;
    --bg3:#f7fbff;

    --card: rgba(255,255,255,.86);
    --card2: rgba(255,255,255,.94);

    --line: rgba(255, 170, 210, .22);
    --line2: rgba(255, 170, 210, .14);

    --shadow: 0 10px 26px rgba(255, 120, 175, .10);
    --shadow2: 0 6px 16px rgba(70, 20, 50, .05);

    --text:#2b1a26;
    --muted:#8d6a82;
    --muted2:#a4889a;

    --pink:#ff5aa8;
    --pink2:#ff86c7;
    --lav:#bca9ff;

    --r16:16px;
    --r20:20px;
    --r24:24px;

    /* 统一字重：整体偏轻 */
    --w-regular: 400;
    --w-medium: 500;
    /*--w-semibold: 600;*/
    --w-bold: 700;
}

*{box-sizing:border-box}
html,body{height:100%}

body{
    margin:0;
    color:var(--text);
    font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",Arial,sans-serif;
    font-weight: var(--w-regular);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;

    background:
            radial-gradient(900px 360px at 15% 0%, rgba(255, 90, 168, .14) 0%, rgba(255, 90, 168, 0) 65%),
            radial-gradient(900px 380px at 92% 8%, rgba(255, 134, 199, .12) 0%, rgba(255, 134, 199, 0) 68%),
            radial-gradient(700px 340px at 55% 0%, rgba(188, 169, 255, .10) 0%, rgba(188, 169, 255, 0) 70%),
            repeating-radial-gradient(circle at 18px 18px, rgba(255, 90, 168, .04) 0 1px, rgba(255,255,255,0) 1px 18px),
            linear-gradient(180deg, var(--bg2) 0%, var(--bg1) 45%, var(--bg3) 100%);
}

a{color:inherit; text-decoration:none}
img{display:block; max-width:100%}
ul{list-style:none; padding:0; margin:0}

/* overflow helpers */
.ellipsis{overflow:hidden; white-space:nowrap; text-overflow:ellipsis}
.ellipsis-2{
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
    overflow:hidden;
}

/* layout */
.m-wrap{
    width:min(720px, 100%);
    margin:0 auto;
    padding: 12px 12px 22px;
}

/* header */
.m-header{
    position:sticky;
    top:0;
    z-index:20;
    background: rgba(255,255,255,.68);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line2);
    box-shadow: 0 10px 20px rgba(255, 90, 168, .05);
}

.m-topbar{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding: 10px 12px 8px;
    gap:10px;
}

.m-logo{
    font-weight: var(--w-bold);
    letter-spacing:.2px;
    max-width: 55vw;
    padding: 8px 12px;
    border-radius: 999px;
    background:
            radial-gradient(18px 18px at 20% 30%, rgba(255,255,255,.9) 0%, rgba(255,255,255,0) 70%),
            linear-gradient(135deg, rgba(255, 90, 168, .14) 0%, rgba(255, 134, 199, .10) 45%, rgba(188, 169, 255, .10) 100%);
    border: 1px solid rgba(255, 90, 168, .18);
    box-shadow: var(--shadow2);
}

.m-toplinks{
    display:flex;
    gap:8px;
    align-items:center;
}
.m-toplinks__link{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:8px 10px;
    border-radius:999px;
    background: rgba(255, 90, 168, .07);
    border:1px solid rgba(255, 90, 168, .16);
    color: #5b2a47;
    font-weight: var(--w-semibold);
    font-size: 13px;
}

/* search */
.m-searchbar{padding: 0 12px 10px}
.m-searchform{
    display:flex;
    gap:10px;
    padding:10px;
    border-radius: var(--r20);
    background: rgba(255,255,255,.80);
    border:1px solid var(--line2);
    box-shadow: var(--shadow2);
}
.m-searchform__input{
    flex:1;
    min-width:0;
    border:0;
    outline:0;
    background:transparent;
    color:var(--text);
    font-weight: var(--w-regular);
}
.m-searchform__btn{
    border:0;
    padding: 9px 14px;
    border-radius:999px;
    background: linear-gradient(135deg, rgba(255,90,168,1) 0%, rgba(255,134,199,1) 60%, rgba(188,169,255,.95) 100%);
    color:#fff;
    font-weight: var(--w-bold);
    box-shadow: 0 12px 18px rgba(255, 90, 168, .16);
    cursor:pointer;
}

/* nav scroll */
.m-nav-scroll{
    overflow:auto;
    border-bottom:1px solid var(--line2);
    background: rgba(255,255,255,.58);
}
.m-nav-scroll__list{
    display:flex;
    gap:8px;
    padding: 10px 12px;
    white-space:nowrap;
}
.m-nav-scroll__link{
    display:inline-flex;
    padding: 8px 12px;
    border-radius:999px;
    border:1px solid rgba(255, 90, 168, .14);
    background:
            linear-gradient(180deg, rgba(255,255,255,.84) 0%, rgba(255,255,255,.56) 100%),
            rgba(255, 90, 168, .05);
    font-weight: var(--w-semibold);
    font-size: 13px;
    color:#5b2a47;
}

/* hero */
.m-hero{margin-top: 10px}
.m-hero__card{
    border-radius: var(--r24);
    padding: 16px 14px;
    background:
            radial-gradient(460px 170px at 12% 0%, rgba(255, 90, 168, .14) 0%, rgba(255, 90, 168, 0) 70%),
            radial-gradient(460px 170px at 92% 25%, rgba(255, 134, 199, .12) 0%, rgba(255, 134, 199, 0) 70%),
            radial-gradient(360px 140px at 65% 10%, rgba(188, 169, 255, .10) 0%, rgba(188, 169, 255, 0) 72%),
            rgba(255,255,255,.76);
    border: 1px solid var(--line2);
    box-shadow: var(--shadow);
}
.m-hero__title{
    font-size:18px;
    font-weight: var(--w-bold);
}
.m-hero__sub{
    margin-top: 8px;
    font-size:13px;
    color:var(--muted);
    font-weight: var(--w-medium);
    line-height:1.7;
}
.m-hero__actions{
    display:flex;
    gap:10px;
    margin-top: 12px;
}

/* boxes */
.m-box{
    margin-top: 12px;
    border-radius: var(--r24);
    background: var(--card);
    border: 1px solid var(--line2);
    box-shadow: var(--shadow2);
    padding: 12px;
}
.m-title{
    font-weight: var(--w-bold);
    font-size:16px;
    margin-bottom: 10px;
    color:#4a223b;
}
.m-subtitle{
    color:var(--muted2);
    font-size:12px;
    font-weight: var(--w-medium);
    margin-bottom:10px;
}

/* buttons */
.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding: 10px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 90, 168, .16);
    font-weight: var(--w-semibold);
    font-size: 13px;
    min-width: 100px;
}
.btn-primary{
    border:0;
    background: linear-gradient(135deg, var(--pink) 0%, var(--pink2) 60%, rgba(188,169,255,.95) 100%);
    color:#fff;
    box-shadow: 0 14px 20px rgba(255, 90, 168, .14);
}
.btn-ghost{
    background: rgba(255,255,255,.84);
    color:#5b2a47;
    box-shadow: 0 10px 16px rgba(40, 10, 30, .04);
}

/* book list */
.m-book-ul{display:flex; flex-direction:column; gap:10px}
.m-book-a{
    display:flex;
    gap:12px;
    align-items:stretch;
    padding: 10px;
    border-radius: var(--r24);
    background: rgba(255,255,255,.70);
    border: 1px solid rgba(255, 170, 210, .14);
}
.m-book-cover{
    width: 92px;
    height: 124px;
    border-radius: 16px;
    object-fit: cover;
    border: 1px solid rgba(255, 90, 168, .14);
    flex: 0 0 auto;
    background:#fff;
    box-shadow: 0 10px 16px rgba(255, 90, 168, .08);
}
.m-book-info{min-width:0; flex:1}
.m-book-info h4{
    margin:0;
    font-size:15px;
    font-weight: var(--w-bold);
}
.m-book-info .intro{
    margin: 6px 0 0;
    color:#4b2a40;
    font-size:13px;
    line-height:1.6;
    font-weight: var(--w-regular);
}
.m-book-info .meta{
    margin-top: 8px;
    display:flex;
    justify-content:space-between;
    gap:10px;
    color:var(--muted);
    font-size:12px;
    font-weight: var(--w-medium);
}
.tag-cat{
    padding: 2px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 90, 168, .14);
    background: rgba(255, 90, 168, .07);
    color:#5b2a47;
    max-width: 40%;
    font-weight: var(--w-medium);
}

/* single line list */
.m-line-ul{display:flex; flex-direction:column; gap:8px}
.m-line-li{
    border-radius: var(--r20);
    border: 1px solid rgba(255, 170, 210, .14);
    background: rgba(255,255,255,.70);
    overflow:hidden;
}
.m-line-a{
    display:flex;
    justify-content:space-between;
    gap:10px;
    padding: 10px 12px;
    align-items:center;
}
.m-line-a__title{
    font-weight: var(--w-semibold);
    max-width: 70%;
}
.m-line-a__sub{
    font-size:12px;
    font-weight: var(--w-medium);
    color:var(--muted);
    max-width: 40%;
    text-align:right;
}
.m-line-a--hot .m-line-a__title{color: var(--pink)}

/* dotted list */
.m-dot-ul{margin-top:10px; display:flex; flex-direction:column; gap:8px}
.m-dot-li{
    border-radius: var(--r20);
    border: 1px solid rgba(255, 170, 210, .12);
    background:
            linear-gradient(180deg, rgba(255,255,255,.74) 0%, rgba(255,255,255,.62) 100%),
            rgba(255, 90, 168, .04);
}
.m-dot-a{
    display:flex;
    align-items:center;
    gap:8px;
    padding: 10px 12px;
}
.m-dot-a__dot{font-weight: var(--w-bold); color: var(--pink)}
.m-dot-a__title{flex:1; min-width:0; font-weight: var(--w-semibold)}
.m-dot-a__sub{max-width: 38%; text-align:right; color:var(--muted); font-weight: var(--w-medium); font-size:12px}

/* book head */
.book-head{display:flex; gap:12px}
.book-head__cover{
    width: 104px;
    height: 140px;
    border-radius: 18px;
    object-fit:cover;
    border: 1px solid rgba(255, 90, 168, .14);
    background:#fff;
    flex:0 0 auto;
    box-shadow: 0 14px 20px rgba(255, 90, 168, .10);
}
.book-head__info{min-width:0; flex:1}
.book-head__title{
    margin:0;
    font-size:18px;
    font-weight: var(--w-bold);
    line-height:1.25;
}
.book-head__meta{margin:6px 0 0; color:var(--muted); font-size:12px; font-weight: var(--w-medium)}
.book-head__time{margin:6px 0 0; color:var(--muted2); font-size:12px; font-weight: var(--w-regular)}
.book-head__actions{display:flex; gap:10px; margin: 10px 0 0}

/* paragraphs */
.m-paragraph{
    margin:0;
    color:#3b2133;
    line-height:1.88;
    font-size:14px;
    font-weight: var(--w-regular);
    word-break: break-word;
    overflow-wrap:anywhere;
}

/* chapter list */
.chapter-ul{display:flex; flex-direction:column; gap:8px}
.chapter-li{
    border-radius: var(--r20);
    border: 1px solid rgba(255, 170, 210, .14);
    background: rgba(255,255,255,.70);
    overflow:hidden;
}
.chapter-a{display:block; padding: 12px 12px; font-weight: var(--w-semibold)}

.more-ul{margin-top:10px}
.more-a{
    display:block;
    text-align:center;
    padding: 12px 10px;
    border-radius: 999px;
    border: 1px dashed rgba(255, 90, 168, .22);
    background: rgba(255, 90, 168, .05);
    color: var(--muted);
    font-weight: var(--w-semibold);
}

/* page nav */
.m-page-nav{
    margin-top: 12px;
    display:flex;
    gap:10px;
    align-items:center;
    justify-content:space-between;
}
.m-page-nav__a{
    flex: 1;
    text-align:center;
    padding: 10px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 90, 168, .14);
    background: rgba(255,255,255,.82);
    font-weight: var(--w-semibold);
    color:#5b2a47;
    box-shadow: 0 10px 14px rgba(40, 10, 30, .035);
}
.m-page-nav__span{
    flex: 1;
    text-align:center;
    color: var(--muted);
    font-weight: var(--w-medium);
    font-size: 12px;
}
.m-page-nav--chapter .m-page-nav__a{min-width: 0}

/* rank index */
.rank-index-ul{display:grid; grid-template-columns: 1fr 1fr; gap:10px}
.rank-index-li{
    border-radius: var(--r24);
    border: 1px solid rgba(255, 170, 210, .14);
    background:
            radial-gradient(160px 90px at 20% 10%, rgba(255, 90, 168, .08) 0%, rgba(255, 90, 168, 0) 70%),
            radial-gradient(160px 90px at 95% 30%, rgba(188, 169, 255, .08) 0%, rgba(188, 169, 255, 0) 70%),
            rgba(255,255,255,.68);
    overflow:hidden;
    box-shadow: 0 10px 18px rgba(255, 90, 168, .07);
}
.rank-index-a{display:block; padding: 14px 12px}
.rank-index-a__name{font-weight: var(--w-bold); font-size:15px; color: #5b2a47}
.rank-index-a__desc{margin-top:6px; font-size:12px; color: var(--muted); font-weight: var(--w-regular)}

/* rank detail */
.rank-ul2{display:flex; flex-direction:column; gap:10px}
.rank-li2{
    border-radius: var(--r24);
    border: 1px solid rgba(255, 170, 210, .14);
    background: rgba(255,255,255,.78);
    overflow:hidden;
    box-shadow: 0 10px 18px rgba(40, 10, 30, .035);
}
.rank-a2{
    display:flex;
    align-items:center;
    gap:10px;
    padding: 10px 12px;
}
.rank-no{
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    font-weight: var(--w-bold);
    background: rgba(0,0,0,.045);
    color: rgba(0,0,0,.30);
    flex:0 0 auto;
}
.rank-no--top{
    background: linear-gradient(135deg, rgba(255,90,168,1) 0%, rgba(255,134,199,1) 60%, rgba(188,169,255,.95) 100%);
    color:#fff;
    box-shadow: 0 14px 18px rgba(255, 90, 168, .14);
}
.rank-cover{
    width: 58px;
    height: 78px;
    border-radius: 14px;
    object-fit:cover;
    border: 1px solid rgba(255, 90, 168, .12);
    background:#fff;
    flex:0 0 auto;
    box-shadow: 0 12px 16px rgba(255, 90, 168, .08);
}
.rank-info{min-width:0; flex:1; display:flex; flex-direction:column; gap:6px}
.rank-title{font-weight: var(--w-bold)}
.rank-meta{display:flex; gap:8px; color:var(--muted); font-size:12px; font-weight: var(--w-regular)}
.rank-meta__sep{opacity:.6}

/* reader */
.read-container{padding-bottom: 6px}
.read-title{
    margin:0;
    font-size: 20px;
    font-weight: var(--w-bold);
    line-height:1.42;
}
.read-meta{
    margin-top: 10px;
    color:var(--muted);
    font-size:12px;
    font-weight: var(--w-regular);
    display:flex;
    gap:10px;
    align-items:center;
}
.read-meta__sep{opacity:.6}

.read-controls{
    border-radius: var(--r20);
    border: 1px solid rgba(255, 170, 210, .14);
    background:
            radial-gradient(220px 120px at 20% 0%, rgba(255, 90, 168, .07) 0%, rgba(255, 90, 168, 0) 70%),
            rgba(255,255,255,.74);
    padding: 10px;
    margin-bottom: 12px;
}
.read-controls__row{
    display:flex;
    align-items:center;
    justify-content:center;
    gap: 10px;
    flex-wrap:wrap;
}
.read-controls__label{font-weight: var(--w-semibold); color:#5b2a47}
.font-btn{
    padding: 7px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 90, 168, .16);
    background: rgba(255,255,255,.86);
    font-weight: var(--w-semibold);
    cursor:pointer;
}
.font-size-display{
    min-width: 56px;
    text-align:center;
    font-weight: var(--w-semibold);
    color:#5b2a47;
}
.font-reset{
    border:0;
    background:transparent;
    color: var(--muted);
    font-weight: var(--w-medium);
    text-decoration: underline;
    cursor:pointer;
}

.read-content{
    color:#2b1623;
    line-height:1.98;
    font-weight: var(--w-regular);
    word-break: break-word;
    overflow-wrap:anywhere;
}
.read-content p{
    margin:0 0 12px;
    text-indent: 2em;
}
.read-content p:last-child{margin-bottom:0}

/* footer */
.m-footer{
    width:min(720px, 100%);
    margin: 0 auto;
    padding: 12px 12px calc(16px + env(safe-area-inset-bottom));
}
.m-footer__card{
    border-radius: var(--r24);
    background: rgba(255,255,255,.70);
    border: 1px solid var(--line2);
    box-shadow: var(--shadow2);
    padding: 12px;
}
.m-footer__navlist{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
}
.m-footer__navlist a{
    display:inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 90, 168, .14);
    background: rgba(255, 90, 168, .07);
    font-weight: var(--w-semibold);
    color:#5b2a47;
}
.m-footer__meta{
    margin-top: 10px;
    color: var(--muted);
    font-size: 12px;
    font-weight: var(--w-regular);
}
.m-footer__meta p{margin:6px 0 0}

.m-empty{
    padding: 28px 0;
    text-align:center;
    color: var(--muted);
    font-weight: var(--w-medium);
}

/* small screens */
@media (max-width: 360px){
    .m-book-cover{width: 86px; height: 116px}
    .book-head__cover{width: 98px; height: 132px}
    .btn{min-width: 96px}
}

/* ========== 沉浸式阅读页专属样式 (起点标准版) ========== */

/* 1. 定义全局主题变量 (起点女生网/柔和标准) */
:root {
    /* 默认主题：淡樱粉 (女生版标志性默认底色) */
    --rd-bg: #fcf0f2;
    --rd-text: #4a333d;          /* 柔和的深褐紫，取代生硬的黑色 */
    --rd-text-sub: #a38a96;
    --rd-menu-bg: rgba(255, 248, 250, 0.92);
    --rd-menu-border: rgba(235, 210, 218, 0.5);
    --rd-btn-bg: transparent;
    --rd-btn-border: rgba(225, 195, 205, 0.6);
}
body.theme-white {
    /* 纯白主题：雪白 (依然保持干净) */
    --rd-bg: #ffffff;
    --rd-text: #333333;
    --rd-menu-bg: rgba(252, 252, 252, 0.92);
}
body.theme-green {
    /* 护眼主题：淡抹茶绿 (比男生版的绿更浅更通透) */
    --rd-bg: #edf5ee;
    --rd-text: #324f3b;
    --rd-menu-bg: rgba(240, 248, 242, 0.92);
    --rd-btn-border: rgba(50, 79, 59, 0.2);
}
body.theme-sepia {
    /* 复古/暖阳主题：奶油黄/奶杏色 */
    --rd-bg: #fdf5eb;
    --rd-text: #594532;
    --rd-menu-bg: rgba(253, 246, 239, 0.92);
    --rd-btn-border: rgba(89, 69, 50, 0.2);
}
body.theme-dark {
    /* 夜间主题：暗梅紫 (暖调黑，不伤眼且契合女性审美) */
    --rd-bg: #241e21;
    --rd-text: #8c7b84;
    --rd-text-sub: #5c4d55;
    --rd-menu-bg: rgba(30, 25, 28, 0.95);
    --rd-menu-border: rgba(255, 255, 255, 0.04);
    --rd-btn-bg: rgba(255, 255, 255, 0.04);
    --rd-btn-border: rgba(255, 255, 255, 0.08);
}

/* 2. 强制应用阅读器背景并覆盖原模板样式 */
html.is-reader body {
    background: var(--rd-bg) !important;
    transition: background-color 0.3s ease;
    margin: 0;
    min-height: 100vh;
}
.read-container { background: transparent !important; min-height: 100vh; }

/* 3. 正文排版高级感优化 (专业黄金比例) */
.chapter-title {
    font-size: 24px; font-weight: bold; margin: 35px 0 25px;
    line-height: 1.4; color: var(--rd-text) !important;
    letter-spacing: 0.5px;
}
.chapter-meta {
    font-size: 13px; color: var(--rd-text-sub) !important;
    margin-bottom: 40px; letter-spacing: 1px;
    display: flex; gap: 10px; align-items: center;
}
.read-content {
    font-family: 'PingFang SC', 'Helvetica Neue', Helvetica, 'Microsoft YaHei', sans-serif;
    font-size: 20px; line-height: 1.8;
    letter-spacing: 1px; color: var(--rd-text) !important;
    text-align: justify; text-justify: inter-ideograph;
    min-height: 60vh; white-space: pre-line;
}
.read-content p, .read-content div {
    text-indent: 2em; margin-top: 0; margin-bottom: 1.2em;
}

/* 4. 菜单栏通用高级质感 (毛玻璃) */
.reader-top-bar, .reader-bottom-bar {
    position: fixed !important; left: 0; right: 0; z-index: 1000;
    background: var(--rd-menu-bg) !important;
    backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--rd-menu-border);
    transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.reader-top-bar {
    top: 0; height: 52px; display: flex; justify-content: space-between; align-items: center; padding: 0 15px;
    transform: translateY(-100%); box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}
.reader-top-bar a {
    display: flex; align-items: center; gap: 6px; /* 控制图标和文字的间距 */
    font-size: 15px; color: var(--rd-text); font-weight: 500;
    text-decoration: none;
}
.reader-top-bar a svg {
    width: 18px; height: 18px;
    opacity: 0.9; /* 让图标颜色稍微透出一点点柔和感 */
}
.reader-bottom-bar {
    bottom: 0; padding: 25px 20px calc(25px + env(safe-area-inset-bottom));
    transform: translateY(100%); box-shadow: 0 -4px 20px rgba(0,0,0,0.03);
    border-radius: 20px 20px 0 0;
}
body.menu-active .reader-top-bar, body.menu-active .reader-bottom-bar { transform: translateY(0); }

/* 5. 底部页面导航 (覆盖模板中原有的粉色线框按钮) */
html.is-reader .m-page-nav__a {
    flex: 1; text-align: center; margin: 0 6px; padding: 12px 0;
    border-radius: 8px; font-size: 15px; font-weight: 500;
    background: var(--rd-menu-bg) !important;
    border: 1px solid var(--rd-menu-border) !important;
    color: var(--rd-text) !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02) !important;
}

/* 6. 设置选项排版 */
.setting-row { display: flex; align-items: center; margin-bottom: 25px; gap: 15px; }
.setting-row:last-child { margin-bottom: 0; }
.setting-row .label { font-weight: bold; color: var(--rd-text-sub); font-size: 13px; width: 35px; letter-spacing: 1px;}
.setting-row button {
    padding: 8px 18px; background: var(--rd-btn-bg); border: 1px solid var(--rd-btn-border);
    border-radius: 20px; font-size: 14px; color: var(--rd-text); outline: none; transition: 0.2s;
}
.setting-row .val { min-width: 50px; text-align: center; font-weight: 500; font-size: 17px; color: var(--rd-text);}
.setting-row .btn-reset { border: none; text-decoration: none; color: var(--rd-text-sub); font-size: 13px; padding: 0; background: transparent;}

/* 7. 主题颜色球 (女生网色调匹配) */
.theme-colors { display: flex; gap: 15px; flex: 1; justify-content: space-between; align-items: center;}
.theme-btn {
    width: 32px; height: 32px; border-radius: 50%; cursor: pointer;
    border: 2px solid transparent; box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}
.theme-btn.active { box-shadow: 0 0 0 2px var(--rd-menu-bg), 0 0 0 4px var(--rd-text); transform: scale(0.95); }
/* 这里的背景色仅用于菜单里的圆球显示，和实际背景色保持一致 */
.theme-default { background: #fcf0f2; border: 1px solid #ebd2da; } /* 淡樱粉球 */
.theme-white { background: #ffffff; border: 1px solid #eeeeee; } /* 白球 */
.theme-green { background: #edf5ee; border: 1px solid #d4e6d6; } /* 抹茶球 */
.theme-sepia { background: #fdf5eb; border: 1px solid #eedecb; } /* 奶油杏球 */
.theme-dark { background: #241e21; border: 1px solid #3d3539; }  /* 暗梅紫球 */

/* 8. 新手引导遮罩 */
.reader-guide-mask {
    position: fixed !important; top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important;
    background: rgba(0, 0, 0, 0.7) !important;
    z-index: 99999 !important; display: none; justify-content: center; align-items: center;
}
.guide-box {
    background: transparent; padding: 40px 20px; border-radius: 12px;
    text-align: center; width: 75%; max-width: 300px;
    border: 1px dashed rgba(255, 255, 255, 0.4);
}
.guide-box p {
    margin-bottom: 30px; padding-bottom: 30px;
    font-size: 17px; color: #ffffff; line-height: 1.8; letter-spacing: 2px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.guide-box button {
    background: transparent; color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.7); padding: 10px 0;
    width: 85%; border-radius: 25px; font-size: 16px; letter-spacing: 2px; outline: none;
}

/* moshangshu.net */