
*{box-sizing:border-box}body{margin:0;background:#f2f4ee;color:#233a33;font:16px/1.8 system-ui,"Microsoft YaHei",sans-serif}main{width:min(1160px,100%);margin:auto;padding:32px 24px 48px}header{margin-bottom:28px}.eyebrow{font-size:13px;color:#285e49;margin:0 0 4px}h1{font-size:30px;margin:0 0 9px;line-height:1.5}.intro{color:#63756c;margin:0}.summary{display:inline-block;padding:8px 14px;background:#e4ede1;border-radius:7px;margin:14px 0 0;color:#285e49}h2{font-size:20px;margin:30px 0 12px}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:14px}.region-card{min-width:0;background:#fffefa;border:1px solid #dbe3da;border-radius:12px;padding:20px;display:flex;flex-direction:column;text-decoration:none;color:inherit;overflow-wrap:anywhere;touch-action:manipulation}@media (hover:hover) and (pointer:fine){.region-card:hover{border-color:#285e49;background:#f7faf4}}.region-card:focus-visible{outline:3px solid #5f9f83;outline-offset:3px}.region-name{font-size:23px;font-weight:650;margin-bottom:8px}.region-stats{font-size:14px}.region-meta{font-size:13px;color:#63756c}.region-open{margin-top:16px;display:flex;align-items:center;justify-content:space-between;background:#285e49;color:white;min-height:48px;padding:8px 12px;border-radius:7px;font-size:14px}.scope{margin:28px 0 0;padding:16px;border:1px solid #dbe3da;border-radius:9px;color:#63756c;font-size:13px;line-height:1.9}.scope p{margin:0 0 6px}.scope p:last-child{margin:0}footer{margin-top:22px;font-size:12px;color:#63756c}@media(max-width:600px){main{padding:22px 16px 34px}h1{font-size:25px}.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.region-card{padding:14px}.region-name{font-size:20px}.region-stats,.region-meta{font-size:12px}.region-open{margin-top:12px;min-height:48px}.summary{font-size:13px}}@media(max-width:350px){.grid{grid-template-columns:1fr}}

/* 页头纯文字标识与正文淡色水印 v1：仅作用于展示层。 */
.display-ownership{display:inline-flex;flex-direction:column;align-items:flex-end;gap:1px;flex:0 0 auto;color:var(--muted,#63756c);font:12px/1.55 "Microsoft YaHei","PingFang SC",sans-serif;text-align:right;background:none;border:0;border-radius:0;box-shadow:none;padding:0}
.display-ownership-name{font-weight:600;color:var(--green,#285e49)}
.display-ownership-detail{font-weight:400;white-space:nowrap}
.site-header>.header-actions{margin-left:auto}
.header-actions>.display-ownership{margin-left:12px}
.display-home-header{display:flex;align-items:flex-start;justify-content:space-between;gap:24px}
.display-home-intro{min-width:0}
#question-content,#material-content,.answer-body,.compare-column .column-body,.semantic-evidence-unit{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22330%22%20height%3D%22210%22%20viewBox%3D%220%200%20330%20210%22%3E%0A%20%20%3Cg%20transform%3D%22rotate%28-22%20165%20105%29%22%20fill%3D%22%23465a4c%22%20opacity%3D%220.14%22%20font-family%3D%22Microsoft%20YaHei%2CPingFang%20SC%2Csans-serif%22%20font-size%3D%2213%22%20font-weight%3D%22400%22%20text-anchor%3D%22middle%22%3E%0A%20%20%20%20%3Ctext%20x%3D%22165%22%20y%3D%22102%22%3E%E5%B0%8F%E7%BA%A2%E4%B9%A6%20Z_zz%3C%2Ftext%3E%0A%20%20%20%20%3Ctext%20x%3D%22165%22%20y%3D%22123%22%3E%E7%A6%81%E6%AD%A2%E6%90%AC%E8%BF%90%E8%BD%AC%E8%BD%BD%3C%2Ftext%3E%0A%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E");background-repeat:repeat;background-size:330px 210px;background-position:center center}
@media(max-width:799px){.site-header{flex-wrap:wrap}.site-header>.header-actions{max-width:none;column-gap:10px}.header-actions>.display-ownership{margin-left:4px}.display-ownership{font-size:11px}.display-home-header{flex-wrap:wrap;gap:12px}.display-home-header>.display-ownership{margin-left:auto}}

/* 正文文字选择限制 v1：仅控制文字选中，不拦截点击、输入或滚动。 */
#reader-root #question-content,
#reader-root #material-content,
#reader-root #answer-content,
#reader-root #note-body {
  -webkit-user-select: none;
  user-select: none;
}

/* 输入控件与页头账号保留文字选择。 */
#reader-root input,
#reader-root textarea,
#reader-root select,
#reader-root [contenteditable="true"],
#reader-root .display-ownership-detail,
#home-root .display-ownership-detail {
  -webkit-user-select: text;
  user-select: text;
}

/* 恢复原绿色资料入口；只加强触控尺寸、安全区域与窄屏排版。 */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;-webkit-tap-highlight-color:transparent}
body{padding-top:env(safe-area-inset-top,0px);padding-right:env(safe-area-inset-right,0px);padding-bottom:env(safe-area-inset-bottom,0px);padding-left:env(safe-area-inset-left,0px)}
.region-card{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;touch-action:manipulation}
.region-open{min-height:52px;font-size:15px;font-weight:600;gap:8px}.region-open>span{flex-shrink:0}
.region-card:active .region-open{background:#214d3c}
.display-home-header{flex-wrap:wrap}.display-home-intro{min-width:0;max-width:100%}
.display-ownership-detail{white-space:normal}
@media(max-width:600px){
 main{padding:24px 14px 30px}.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
 .region-card{padding:15px 13px}.region-name{font-size:21px;line-height:1.45}.region-stats,.region-meta{font-size:12px;line-height:1.85}
 .region-open{min-height:48px;margin-top:14px;padding:9px 10px;font-size:14px}
 h1{font-size:27px;line-height:1.45}.intro{font-size:14px;line-height:1.85}.summary{font-size:12px;line-height:1.8}
 .display-home-header>.display-ownership{margin-left:auto;max-width:100%}
}
@media(max-width:350px){.grid{grid-template-columns:1fr}}

/* 首页复用原样式；清除在线通用样式遗留的卡片间距，保留账户入口。 */
.online-home{margin:0;background:#f2f4ee;color:#233a33;font:16px/1.8 system-ui,"Microsoft YaHei",sans-serif}
.region-card{justify-content:normal;align-items:stretch;gap:0}
.eyebrow{font-weight:400;letter-spacing:normal}
.home-access{display:flex;flex-direction:column;align-items:flex-end;gap:8px;margin-left:auto}
#account{display:flex;align-items:center;gap:10px;font-size:13px;color:#63756c}
#account .quiet{font-size:13px;min-height:44px;padding:6px 12px}
.home-empty{color:#63756c}

/* 首页署名与站外购买提示：保留原版布局，仅提高文字辨识度。 */
.online-home .home-access{max-width:100%}
.online-home .display-ownership{max-width:100%;font-size:16px;line-height:1.65;gap:4px}
.online-home .display-ownership-name{font-size:24px;line-height:1.4;font-weight:700}
.online-home .display-ownership-detail{font-size:16px}
.online-home .display-purchase{font-size:18px;color:#285e49}
.online-home .display-purchase strong{font-weight:700}
@media(max-width:600px){
 .online-home .display-ownership-name{font-size:22px}
 .online-home .display-ownership-detail{font-size:15px}
 .online-home .display-purchase{font-size:17px}
}

/* 已确认的首页资料说明与暖色账号标识，仅作用于在线首页。 */
.online-home .display-ownership{color:#873a1b;background:#fff1e4;border:1px solid #e7c7ac;border-radius:12px;padding:14px 20px;gap:5px}
.online-home .display-ownership-name{color:#963e19;font-size:32px;font-weight:750;line-height:1.35}
.online-home .display-ownership-detail{color:#873a1b;font-size:18px;line-height:1.6}
.online-home .display-purchase{color:#963e19;font-size:22px;line-height:1.5}
.online-home .login-intro-layout{display:grid;grid-template-columns:minmax(0,1fr) 360px;grid-template-areas:"intro login";align-items:start;gap:24px;max-width:none;margin:36px 0 48px;padding:0;background:transparent;border:0;border-radius:0}
.online-home .home-login-card{grid-area:login;min-width:0;padding:28px;background:#fffef9;border:1px solid #dbe3da;border-radius:14px}
.online-home .home-login-card h1{font-size:25px;line-height:1.5;margin:0 0 10px}
.online-home .home-login-card .muted{font-size:14px;margin:0}
.online-home .home-login-card form{margin-top:22px}
.online-home .home-login-card #reading-code{font-size:16px;min-height:48px}
.online-home .home-login-card .primary{width:100%;min-height:48px}
.online-home .home-login-card .form-error:empty{display:none}
.online-home .home-login-card #local-preview{margin-top:12px;width:100%}
.online-home .home-feature-card{grid-area:intro;min-width:0;padding:28px 30px;background:#fffefa;border:1px solid #dbe3da;border-radius:14px}
.online-home .home-feature-card h2{font-size:24px;line-height:1.5;letter-spacing:-.015em;margin:0 0 24px}
.online-home .home-feature-list{display:grid;gap:20px}
.online-home .home-feature+.home-feature{border-top:1px solid #e8ece3;padding-top:18px}
.online-home .home-feature h3{font-size:17px;line-height:1.65;font-weight:650;color:#285e49;margin:0 0 7px;overflow-wrap:anywhere}
.online-home .home-feature p{font-size:15px;line-height:1.95;color:#586b60;margin:0;overflow-wrap:anywhere}
.online-home .home-feature-purchase{margin:24px 0 0;padding:13px 16px;border:1px solid #e7c7ac;border-radius:9px;background:#fff1e4;color:#963e19;font-size:20px;line-height:1.6;font-weight:700}
@media(max-width:900px){
 .online-home .login-intro-layout{grid-template-columns:minmax(0,1fr);grid-template-areas:"login" "intro";gap:18px;margin-top:26px}
 .online-home .home-login-card{width:100%;max-width:470px;justify-self:center}
}
@media(max-width:600px){
 .online-home .display-ownership{padding:12px 16px;gap:4px}
 .online-home .display-ownership-name{font-size:28px}
 .online-home .display-ownership-detail{font-size:16px}
 .online-home .display-purchase{font-size:20px}
 .online-home .home-login-card{padding:24px 20px}
 .online-home .home-feature-card{padding:24px 20px}
 .online-home .home-feature-card h2{font-size:22px;margin-bottom:22px}
 .online-home .home-feature h3{font-size:17px}
 .online-home .home-feature p{font-size:15px;line-height:1.9}
 .online-home .home-feature-purchase{font-size:19px;padding:12px 14px}
}

/* 已开通读者只显示原有低调账号与转载提示，购买信息留在阅读码页。 */
.online-home:has(#catalog-panel:not([hidden])) .display-ownership{display:inline-flex;flex-direction:column;align-items:flex-end;gap:1px;flex:0 0 auto;color:var(--muted,#63756c);font:12px/1.55 "Microsoft YaHei","PingFang SC",sans-serif;text-align:right;background:none;border:0;border-radius:0;box-shadow:none;padding:0}
.online-home:has(#catalog-panel:not([hidden])) .display-ownership-name{font-size:inherit;line-height:inherit;font-weight:600;color:var(--green,#285e49)}
.online-home:has(#catalog-panel:not([hidden])) .display-ownership-detail{font-size:inherit;line-height:inherit;font-weight:400;color:inherit}
.online-home:has(#catalog-panel:not([hidden])) .display-purchase{display:none}
@media(max-width:799px){.online-home:has(#catalog-panel:not([hidden])) .display-ownership{font-size:11px}}
