/* 我的阅读、入口与一次性功能提示；刊头与弹窗继续使用原主题。 */
.reading-update { position:fixed; right:24px; bottom:24px; z-index:350; box-sizing:border-box; width:360px; max-width:calc(100vw - 32px); padding:22px 24px 18px; background:var(--panel-bg); color:var(--text); border:1px solid var(--border); border-top:3px solid var(--primary); box-shadow:0 10px 36px #0002; font:14px/1.65 var(--font-body); }
.reading-update[hidden] { display:none!important; }
.reading-update-label { display:block; padding-right:24px; color:var(--text-muted); font-size:11px; letter-spacing:1px; }
.reading-update h2 { margin:10px 0 6px; color:inherit; font:600 21px/1.4 var(--font-body); letter-spacing:0; }
.reading-update ul { display:grid; gap:12px; list-style:none; margin:14px 0 12px; padding:0; }
.reading-update li { margin:0; padding:0; }
.reading-update li strong { display:block; font-size:14px; font-weight:600; }
.reading-update li span { display:block; margin-top:2px; color:var(--text-secondary); font-size:13px; }
.reading-update a { display:inline-flex; gap:12px; align-items:center; min-height:36px; color:inherit; text-decoration:underline; text-underline-offset:5px; font-size:13px; }
.reading-update-close { position:absolute; top:6px; right:6px; display:grid; place-items:center; width:44px; height:44px; padding:0; border:0; background:transparent; color:inherit; font:24px/1 Arial,sans-serif; cursor:pointer; }
.reading-update :is(a,button):focus-visible { outline:2px solid currentColor; outline-offset:2px; }
body.lingse .reading-update { background:var(--paper); color:var(--navy); border-color:var(--line); border-top-color:var(--navy); font-family:var(--sans); }
body.lingse .reading-update h2 { font-family:var(--serif); font-weight:400; }
body.lingse .reading-update li span,body.lingse .reading-update-label { color:#65665d; }
@media(max-width:620px) { .reading-update { right:16px; bottom:calc(16px + env(safe-area-inset-bottom)); width:calc(100% - 32px); padding:18px 20px 14px; } }
.reading-entry { flex:none; min-height:44px; padding:8px 10px; border:0; background:none; color:var(--header-text,#fff); font:13px var(--font-body); cursor:pointer; white-space:nowrap; }
.reading-entry[aria-current=page] { text-decoration:underline; text-underline-offset:7px; }
body.avant-light .reading-entry,body.avant-dark .reading-entry { color:var(--text); }
body.lingse .header #tab-me { grid-column:3; grid-row:1; justify-self:end; align-self:start; color:var(--navy); font:14px var(--sans); padding:8px 0; }
body.lingse .public-feature-wrap { margin-right:100px; }
body.lingse .header:has(.header-more-wrap) #tab-me { margin-right:44px; }
body.lingse .header:has(.header-more-wrap) .public-feature-wrap { margin-right:144px; }
body.lingse .header-actions { overflow:visible; }
.reading-secondary { display:block; padding:18px 24px; border-top:1px solid currentColor; }
#section-me { --mr-paper:var(--bg); --mr-ink:var(--text); --mr-heading:var(--text); --mr-muted:var(--text-muted); --mr-line:var(--border); --mr-accent:var(--primary); --mr-soft:var(--panel-bg); --mr-serif:var(--font-zh-serif); --mr-sans:var(--font-body); }
body.lingse #section-me { --mr-paper:var(--paper); --mr-ink:var(--ink); --mr-heading:var(--navy); --mr-muted:#65665d; --mr-line:var(--line); --mr-accent:var(--navy); --mr-soft:var(--soft); --mr-serif:var(--serif); --mr-sans:var(--sans); }
body.dark #section-me { --mr-accent:#ec6a5e; }
#section-me [hidden] { display:none!important; }
#section-me .me-page { max-width:1100px; margin:0 auto; padding:30px 0 56px; color:var(--mr-ink); }
#section-me .me-head { display:flex; justify-content:space-between; align-items:baseline; gap:20px; padding-bottom:22px; border-bottom:1px solid var(--mr-line); }
#section-me .me-title { font:700 32px/1.35 var(--mr-serif); color:var(--mr-heading); margin:0; letter-spacing:0; }
body.lingse #section-me .me-title { font-weight:400; letter-spacing:2px; }
#section-me .me-note { margin:0; color:var(--mr-muted); font:13px/1.7 var(--mr-sans); }
#section-me .me-layout { display:grid; grid-template-columns:174px minmax(0,1fr); gap:45px; padding-top:28px; }
#section-me .me-nav { display:flex; flex-direction:column; gap:5px; position:sticky; top:calc(var(--me-sticky-top,60px) + 24px); align-self:start; }
#section-me .me-nav button { min-height:48px; padding:10px 14px; display:flex; align-items:center; justify-content:space-between; gap:12px; text-align:left; background:transparent; color:var(--mr-muted); border:0; border-left:2px solid transparent; font:16px/1.5 var(--mr-serif); cursor:pointer; }
#section-me .me-nav button[aria-selected=true] { background:var(--mr-soft); border-left-color:var(--mr-accent); color:var(--mr-accent); }
#section-me .me-nav [data-favorites-count] { font:12px var(--mr-sans); }
#section-me .me-content,#section-me .me-panel { min-width:0; }
#section-me .me-block { padding:0 0 28px; }
#section-me .me-block-head { display:flex; align-items:center; gap:12px; padding-bottom:17px; margin:0 0 18px; border-bottom:1px solid var(--mr-line); }
#section-me .me-block-head:after { display:none; }
#section-me .me-block-head h3 { font:600 22px/1.4 var(--mr-serif); color:var(--mr-heading); margin:0; letter-spacing:0; }
body.lingse #section-me .me-block-head h3 { font-weight:400; }
#section-me .me-count,#section-me .me-sort { color:var(--mr-muted); font:12px var(--mr-sans); }
#section-me .me-sort { margin-left:auto; }
#section-me .me-search-row { display:flex; align-items:center; flex-wrap:wrap; gap:12px; margin-bottom:4px; }
#section-me .me-search { display:flex; gap:8px; align-items:center; width:min(360px,100%); padding:0 12px; border:1px solid var(--mr-line); color:var(--mr-muted); }
#section-me .me-search:focus-within { outline:2px solid var(--mr-accent); outline-offset:2px; }
#section-me .me-search input { min-width:0; width:100%; min-height:44px; background:none; border:0; outline:none; color:var(--mr-ink); font:13px var(--mr-sans); }
#section-me .me-search input::placeholder { color:var(--mr-muted); }
#section-me .me-search-result { color:var(--mr-muted); font:12px var(--mr-sans); }
#section-me .me-fav-list { list-style:none; padding:0; margin:0; }
#section-me .me-fav-item { min-width:0; padding:22px 0; border-bottom:1px solid var(--mr-line); overflow-wrap:anywhere; }
#section-me .me-fav-source { color:var(--mr-muted); font:11px/1.6 var(--mr-sans); letter-spacing:.25px; margin:0 0 9px; }
#section-me .me-paper-title { margin:0 0 8px; font:600 22px/1.5 var(--mr-serif); color:var(--mr-heading); }
#section-me .me-paper-title button { border:0; padding:0; color:inherit; background:none; font:inherit; text-align:left; cursor:pointer; }
body.lingse #section-me .me-paper-title { font-weight:400; font-size:24px; }
#section-me .me-paper-authors { font:12px/1.7 var(--mr-sans); color:var(--mr-muted); margin:0; }
#section-me .me-paper-summary { font:15px/1.9 var(--mr-serif); margin:12px 0 0; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
#section-me .me-fav-meta { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:8px; margin-top:12px; }
#section-me .me-fav-time { font:11px/1.7 var(--mr-sans); color:var(--mr-muted); }
#section-me .me-paper-actions { display:flex; gap:18px; }
#section-me .me-read,#section-me .me-fav-toggle,#section-me .me-edit-tabs { border:0; background:none; padding:6px 0; min-height:44px; color:var(--mr-accent); font:12px var(--mr-sans); cursor:pointer; }
#section-me .me-fav-toggle { display:flex; align-items:center; gap:5px; }
#section-me .me-fav-toggle[aria-pressed=true] svg { fill:currentColor; }
#section-me .me-removed { display:flex; align-items:center; gap:18px; color:var(--mr-muted); font:13px/1.7 var(--mr-sans); }
#section-me .me-removed span { flex:1; }
#section-me .me-removed button,#section-me .me-no-results button { flex:none; min-height:44px; padding:8px 12px; background:none; color:var(--mr-accent); border:1px solid var(--mr-line); cursor:pointer; }
#section-me .me-empty,#section-me .me-no-results { padding:28px 0; color:var(--mr-muted); font:14px/1.8 var(--mr-sans); }
#section-me .me-edit-tabs { margin-left:auto; font-size:13px; }
#section-me .me-subject-chips { display:flex; flex-wrap:wrap; gap:8px; }
#section-me .me-subject-chips span { padding:4px 9px; background:var(--mr-soft); font:13px/1.6 var(--mr-sans); }
#section-me .me-tab-row { min-height:52px; }
#section-me .me-tab-move,#section-me .me-tab-reset { min-height:44px; }
#section-me .me-hint { color:var(--mr-muted); font:12px/1.8 var(--mr-sans); margin-top:12px; }
#section-me .me-appearance { border-top:1px solid var(--mr-line); padding-top:28px; }
#section-me .me-style-options { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; border:0; margin:0; padding:0; min-width:0; }
#section-me .me-style-choice { cursor:pointer; position:relative; display:block; min-width:0; }
#section-me .me-style-choice>input { position:absolute; opacity:0; width:1px; height:1px; }
#section-me .me-theme-sample { display:block; height:154px; overflow:hidden; background:#fafaf7; color:#172845; --sample-line:#d8d9ce; border:1px solid var(--sample-line); font-family:var(--mr-serif); }
#section-me .me-style-choice>input:checked+.me-theme-sample { outline:2px solid var(--mr-accent); outline-offset:3px; }
#section-me .me-style-choice>input:focus-visible+.me-theme-sample { outline:3px solid var(--mr-accent); outline-offset:5px; }
#section-me .me-style-name { display:block; padding-top:10px; font:14px var(--mr-sans); }
#section-me .me-style-choice>input:checked~.me-style-name { color:var(--mr-accent); }
#section-me .me-style-note { display:block; color:var(--mr-muted); font:11px/1.7 var(--mr-sans); margin-top:5px; }
#section-me .me-sample-bar { display:block; height:22px; padding:4px 8px; border-bottom:1px solid var(--sample-line); font:8px var(--mr-sans); }
#section-me .me-sample-brand { display:block; padding:9px; font:700 25px/1.3 var(--mr-serif); }
#section-me .me-sample-nav { display:block; padding:4px 8px; border-block:1px solid var(--sample-line); font:7px var(--mr-sans); }
#section-me .me-sample-body { display:block; padding:10px 12px; font-size:10px; }
#section-me .me-sample-body i { display:block; width:85%; height:6px; border-block:1px solid var(--sample-line); margin-top:8px; }
#section-me .me-sample-lingse .me-sample-bar { display:none; }
#section-me .me-sample-lingse .me-sample-brand { text-align:center; padding-block:18px; font-weight:400; }
#section-me .me-sample-lingse .me-sample-nav { text-align:center; border-top:0; }
#section-me .me-sample-avant { background:#f6f3eb; color:#181614; border-top:3px solid #b02a2a; --sample-line:#999184; }
#section-me .me-sample-avant .me-sample-brand span { color:#b02a2a; }
#section-me .me-sample-classic { background:#f4f1ea; color:#1a1a1a; --sample-line:#c7c1b5; }
#section-me .me-sample-classic .me-sample-bar { background:#111; color:#fff; border-top:2px solid #b02a2a; height:28px; }
#section-me .me-sample-classic .me-sample-brand { display:none; }
#section-me .me-sample-classic .me-sample-body i { margin-top:15px; }
#section-me .me-theme-sample.is-dark { background:#1a1713; color:#ece7dd; --sample-line:#635b4c; border-top-color:#e05e4d; }
#section-me .me-sample-avant.is-dark .me-sample-brand span { color:#e05e4d; }
#section-me .me-sample-classic.is-dark { background:#121212; color:#e0e0e0; --sample-line:#555; }
#section-me .me-color-options { border:0; display:flex; align-items:center; flex-wrap:wrap; gap:16px; margin:24px 0 0; padding:0; font:13px var(--mr-sans); }
#section-me .me-color-options legend { float:left; margin-right:16px; line-height:44px; }
#section-me .me-color-buttons { display:flex; border:1px solid var(--mr-line); }
#section-me .me-color-buttons button { min-height:44px; min-width:76px; padding:8px 20px; border:0; background:transparent; color:var(--mr-ink); font:inherit; cursor:pointer; }
#section-me .me-color-buttons button+button { border-left:1px solid var(--mr-line); }
#section-me .me-color-buttons button[aria-pressed=true] { background:var(--mr-accent); color:var(--mr-paper); }
#section-me .me-color-buttons button:disabled { color:var(--mr-muted); opacity:.5; cursor:default; }
#section-me .me-color-options .me-hint { margin:0; }
#section-me .me-link { min-height:64px; }
#section-me button:focus-visible,#section-me a:focus-visible,.reading-entry:focus-visible { outline:2px solid var(--mr-accent,var(--primary)); outline-offset:3px; }
body.avant-light #section-me .me-head,body.avant-dark #section-me .me-head { border-bottom:2px solid var(--text); }
body.avant-light #section-me .me-nav button[aria-selected=true],body.avant-dark #section-me .me-nav button[aria-selected=true] { background:var(--text); color:var(--bg); }
body:not(.lingse):not(.avant-light):not(.avant-dark) #section-me .me-paper-title { font-size:20px; }
body:not(.lingse):not(.avant-light):not(.avant-dark) #section-me .me-fav-item { padding-block:16px; }
body:not(.lingse):not(.avant-light):not(.avant-dark) #section-me .me-paper-summary { font:14px/1.8 var(--mr-sans); }
@media(max-width:800px) {
 #section-me .me-head { display:block; } #section-me .me-note { margin-top:8px; }
 #section-me .me-layout { display:block; padding-top:0; }
 #section-me .me-nav { flex-direction:row; gap:25px; top:var(--me-sticky-top,60px); padding-top:8px; margin-bottom:22px; border-bottom:1px solid var(--mr-line); background:var(--mr-paper); z-index:90; }
 #section-me .me-nav button { font-size:15px; padding:10px 0; border:0; border-bottom:2px solid transparent; white-space:nowrap; gap:8px; }
 #section-me .me-nav button[aria-selected=true],body.avant-light #section-me .me-nav button[aria-selected=true],body.avant-dark #section-me .me-nav button[aria-selected=true] { background:none; border-bottom-color:var(--mr-accent); color:var(--mr-accent); }
}
@media(max-width:620px) {
 body.lingse .header #tab-me { margin-left:0; font-size:12px; min-width:48px; }
 body.lingse .public-feature-wrap,body.lingse .header:has(.header-more-wrap) .public-feature-wrap { margin:0; }
 #section-me .me-page { padding-top:20px; } #section-me .me-title { font-size:26px; } #section-me .me-note { font-size:12px; }
 #section-me .me-favorites>.me-block-head { display:none; } #section-me .me-search { width:100%; }
 #section-me .me-paper-title,body.lingse #section-me .me-paper-title { font-size:22px; }
 #section-me .me-fav-time { font-size:12px; } #section-me .me-paper-actions { gap:16px; }
 #section-me .me-style-options { grid-template-columns:1fr; gap:20px; }
 #section-me .me-style-choice { display:grid; grid-template-columns:135px 1fr; column-gap:16px; }
 #section-me .me-theme-sample { height:118px; grid-row:1/3; }
 #section-me .me-style-name { padding:0; align-self:end; } #section-me .me-style-note { align-self:start; font-size:12px; }
 #section-me .me-sample-brand { font-size:21px; padding:6px; } #section-me .me-sample-lingse .me-sample-brand { padding-block:10px; }
 #section-me .me-sample-nav { font-size:6px; } #section-me .me-sample-body { padding:6px 10px; }
 #section-me .me-tab-row { flex-wrap:wrap; gap:4px; } #section-me .me-tab-move { padding-inline:8px; }
}
@media(max-width:359px) { #section-me .me-nav { gap:18px; } #section-me .me-style-choice { grid-template-columns:118px 1fr; } #section-me .me-style-note { font-size:11px; } }
