/* WordPress integration. Original Opus design remains in site.css. */
a{color:var(--link);text-underline-offset:4px}.bar-right a.hbtn{color:var(--ink-3);text-decoration:none}.custom-site-logo{max-width:160px;max-height:40px;width:auto;object-fit:contain}.admin-bar .site-header{top:44px}.eyebrow{font:700 13px/1.6 var(--font-num);letter-spacing:.14em;color:var(--ink-3);margin-bottom:14px}.hero h1 span{display:block}.hero-copy .eyebrow{font-size:13px}.quick a{color:var(--ink-2);font-weight:600;text-decoration:none;padding:5px 7px}.quick a:hover{color:var(--link);text-decoration:underline}.welcome-card h2{font-size:28px;line-height:1.3;letter-spacing:-.02em}.welcome-card .go{display:inline-flex;margin-top:16px;font-weight:700}.cv>span img{width:100%;height:100%;object-fit:cover}.cv-l,.cv-d{height:100%}.resource-thumbnail{width:100%;height:100%;object-fit:cover}.t-open{text-decoration:none}.pills a{display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:0 14px;border-radius:999px;color:var(--ink-2);font-weight:700;font-size:15px;text-decoration:none;white-space:nowrap}.pills a:hover{background:var(--bg-2)}.pills a[aria-current=true]{background:var(--ink);color:var(--bg)}.fav-only{text-decoration:none;white-space:nowrap}.fav-only[aria-current=true]{background:var(--bg-2);color:var(--link)}a.fav{display:grid;place-items:center;text-decoration:none}.sort-form{display:flex;min-width:0}.button-row{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}.empty .button-row{justify-content:center}.empty-symbol{display:grid;place-items:center;width:72px;height:72px;border-radius:24px;background:var(--bg-2);margin:0 auto 20px;color:var(--link)}.empty-symbol .ic{width:32px;height:32px}.pagination{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin:36px 0}.pagination .page-numbers{display:grid;place-items:center;min-width:44px;min-height:44px;padding:6px 14px;background:var(--surface);border:1px solid var(--line);border-radius:14px;text-decoration:none}.pagination .current{background:var(--ink);color:var(--bg)}.single-resource-note{color:var(--ink-3);padding:22px 0}.inner-page{padding-block:56px 96px}.page-hero{max-width:880px;margin-bottom:40px}.page-hero h1{font-size:clamp(32px,4.4vw,58px);line-height:1.16;letter-spacing:-.035em;font-weight:900;overflow-wrap:anywhere}.page-lead{color:var(--ink-2);font-size:18px;max-width:42em;line-height:1.8;margin-top:18px}.panel{border:1px solid var(--line);border-radius:var(--r-lg);padding:clamp(22px,3vw,40px);background:var(--surface);min-width:0}.panel h2{font-size:25px;line-height:1.4;letter-spacing:-.02em}.panel h3{font-size:20px}.panel p{color:var(--ink-2)}.panel p+p{margin-top:14px}.panel h2+p,.panel h3+p{margin-top:12px}.muted,.page-note{color:var(--ink-3);font-size:15px}.page-note{margin-top:22px;line-height:1.8}.page-columns{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:28px;align-items:start}.side-card{position:sticky;top:100px}.side-card .btn{margin-top:24px;width:100%}.side-card .text-link{display:block;margin-top:18px}.price-note{font-size:25px!important;font-weight:800;color:var(--ink)!important}.muted-pill{display:inline-flex;padding:7px 14px;border-radius:999px;background:var(--bg-2);color:var(--ink-3);font-size:14px;font-weight:700;margin-top:20px}.prose{overflow-wrap:anywhere;line-height:1.9}.prose h2{margin:30px 0 14px}.prose h3{margin:26px 0 12px}.prose>*:first-child{margin-top:0}.prose p{margin:0 0 20px}.prose ul,.prose ol{padding-left:1.5em;margin:16px 0 24px}.prose ul{list-style:disc}.prose ol{list-style:decimal}.prose li{margin:8px 0}.prose img{border-radius:16px;height:auto}.prose pre{overflow:auto;padding:20px;background:var(--bg-2);border-radius:14px;font-size:14px}.prose blockquote{margin:24px 0;padding:12px 24px;border-left:4px solid var(--blue);background:var(--surface-2)}.prose table{display:block;overflow:auto;border-collapse:collapse;max-width:100%}.prose td,.prose th{padding:12px;border:1px solid var(--line)}.contact-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.contact-card{display:flex;align-items:start;flex-direction:column}.contact-card .btn{margin-top:24px}.contact-card p{overflow-wrap:anywhere}.contact-number{font:700 32px/1.5 var(--font-num);letter-spacing:.03em}.page-intro{margin-bottom:30px}.account-login,.account-overview{display:grid;grid-template-columns:1fr 1fr;gap:24px}.account-login{max-width:1000px}.account-login .panel{padding:clamp(24px,4vw,48px)}.account-login label{display:block;font-weight:700;margin:20px 0 8px}.account-login input[type=text],.account-login input[type=password],.comments-area textarea,.comments-area input:not([type=checkbox]):not([type=submit]){width:100%;min-height:48px;padding:12px 14px;background:var(--surface-2);border:1px solid var(--line-2);border-radius:12px;color:var(--ink);font-size:16px}.account-login input[type=checkbox]{width:18px;height:18px;vertical-align:middle}.account-login input[type=submit],.comments-area input[type=submit]{padding:12px 30px;border:0;background:var(--blue);color:#fff;font-size:16px;font-weight:800;border-radius:999px;cursor:pointer}.account-login .login-submit{margin:22px 0}.account-login .login-remember label{font-size:15px;font-weight:400}.account-section{margin-top:48px}.grant-list li{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:16px 0;border-bottom:1px solid var(--line)}.grant-list li:last-child{border:0}.grant-list a{overflow-wrap:anywhere;font-weight:700}.article-list{display:grid;gap:24px}.article-list h2{margin-bottom:14px}.article-list h2 a{text-decoration:none}.breadcrumbs{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:30px;color:var(--ink-3);font-size:14px}.resource-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:28px;align-items:start}.resource-main h1{font-size:clamp(28px,3.2vw,44px);line-height:1.3;overflow-wrap:anywhere}.resource-main .meta{margin-top:20px}.resource-cover{position:relative;overflow:hidden;border-radius:20px;aspect-ratio:16/10;margin:32px 0}.resource-layout aside{position:sticky;top:100px}.download-panel .facts{padding:20px 0;margin-bottom:26px}.download-form .btn{width:100%;font-size:15px;padding-inline:14px}.download-note{margin:18px 0}.download-favorite{margin-top:16px}.download-favorite .btn{width:100%}.download-file{font-size:14px;overflow-wrap:anywhere;margin-top:12px}.notice-box{border:1px solid var(--line);border-radius:14px;background:var(--bg-2);padding:16px;font-size:15px;color:var(--ink-2)}.side-help{margin-top:20px}.side-help .text-link{display:block;margin-top:18px}.changelog{margin-top:36px;border-top:1px solid var(--line);padding-top:26px}.changelog h2{margin-bottom:20px}.changelog li{border-left:2px solid var(--line-2);padding:0 0 18px 18px;white-space:pre-wrap;color:var(--ink-2)}.comments-area{margin-top:30px}.comment-list{display:grid;gap:24px;margin-top:24px}.comment-body{padding:20px;border:1px solid var(--line);border-radius:16px}.comment-content{margin-top:14px}.comment-metadata{font-size:14px;color:var(--ink-3)}.comment-form label{display:block;margin:16px 0 6px}.comment-form-cookies-consent label{display:inline}.comment-reply-title{margin-top:26px}.comment-form .form-submit{margin-top:18px}.forum-panel{overflow:hidden}.community-bottom{display:flex;justify-content:space-between;flex-wrap:wrap;gap:18px;margin-top:22px}.forum-panel #bbpress-forums{color:var(--ink);font-size:16px;line-height:1.7;margin:0}.forum-panel #bbpress-forums a{color:var(--link)}#bbpress-forums ul.bbp-forums,#bbpress-forums ul.bbp-topics,#bbpress-forums ul.bbp-replies,#bbpress-forums ul.bbp-search-results{font-size:15px;border:1px solid var(--line);border-radius:16px;overflow:hidden}#bbpress-forums li.bbp-header,#bbpress-forums li.bbp-footer{background:var(--bg-2);border-color:var(--line);padding:16px;font-weight:700}#bbpress-forums div.even,#bbpress-forums ul.even,#bbpress-forums div.odd,#bbpress-forums ul.odd{background:var(--surface)}#bbpress-forums li.bbp-body ul.forum,#bbpress-forums li.bbp-body ul.topic{border-color:var(--line);padding:22px 16px}#bbpress-forums .bbp-forum-title{font-size:20px;font-weight:800;text-decoration:none}#bbpress-forums .bbp-forum-content{color:var(--ink-3);font-size:14px;margin-top:8px}#bbpress-forums .bbp-forum-info{width:48%}#bbpress-forums .bbp-forum-topic-count,#bbpress-forums .bbp-forum-reply-count{width:10%}#bbpress-forums .bbp-forum-freshness{width:32%;font-size:14px}#bbpress-forums div.bbp-template-notice,#bbpress-forums div.bbp-template-notice.info{background:var(--bg-2);border:1px solid var(--line-2);color:var(--ink-2);border-radius:12px;padding:12px 16px}#bbpress-forums div.bbp-template-notice p{font-size:15px!important}#bbpress-forums fieldset.bbp-form{border:1px solid var(--line);border-radius:16px;padding:22px}#bbpress-forums fieldset.bbp-form legend{font-size:18px;font-weight:800;color:var(--ink)}#bbpress-forums input:not([type=checkbox]):not([type=radio]),#bbpress-forums select,#bbpress-forums textarea{background:var(--surface-2);color:var(--ink);border:1px solid var(--line-2);border-radius:8px;max-width:100%;padding:10px;font:inherit}#bbpress-forums button,#bbpress-forums input[type=submit]{background:var(--blue);color:#fff;border:0;border-radius:999px;padding:10px 22px;font-weight:700;cursor:pointer}#bbpress-forums div.bbp-reply-header,#bbpress-forums div.bbp-topic-header{background:var(--bg-2);color:var(--ink-2);border-color:var(--line)}#bbpress-forums .bbp-pagination,#bbpress-forums .bbp-breadcrumb{font-size:14px}#bbpress-forums .bbp-author-avatar{display:none}#bbpress-forums div.bbp-reply-author,#bbpress-forums div.bbp-topic-author{font-size:14px}#bbpress-forums .bbp-reply-content,#bbpress-forums .bbp-topic-content{overflow-wrap:anywhere}#bbpress-forums div.bbp-reply-content ul,#bbpress-forums div.bbp-topic-content ul{list-style:disc;padding-left:20px}#bbpress-forums div.bbp-reply-content ol,#bbpress-forums div.bbp-topic-content ol{list-style:decimal;padding-left:20px}.wp-block-image img{height:auto}.screen-reader-text{position:absolute!important;clip:rect(1px,1px,1px,1px);width:1px;height:1px;overflow:hidden}.wp-caption{max-width:100%}.aligncenter{margin-left:auto;margin-right:auto}.bypostauthor{border-color:var(--blue)}
@media(max-width:1000px){.page-columns,.resource-layout{grid-template-columns:minmax(0,1fr) 300px;gap:20px}.panel{padding:24px}.bar-right .btn{padding-inline:16px}}
@media(max-width:899px){.page-columns,.resource-layout{grid-template-columns:1fr}.side-card,.resource-layout aside{position:static}.resource-layout aside{display:grid;grid-template-columns:1fr 1fr;gap:20px}.side-help{margin-top:0}.inner-page{padding-top:36px}.account-login,.account-overview{grid-template-columns:1fr}.dock-in{gap:10px}.admin-bar .site-header{top:58px}}
@media(max-width:600px){.inner-page{padding-bottom:60px}.page-hero{margin-bottom:28px}.page-hero h1{font-size:34px}.page-lead{font-size:16px}.contact-grid,.resource-layout aside{grid-template-columns:1fr}.contact-grid{gap:16px}.panel{border-radius:22px;padding:22px}.pills a{padding:0 10px;font-size:14px;gap:4px}.sg-tools{width:100%;justify-content:flex-start}.contact-number{font-size:28px}.count{align-items:flex-start}.count>span:last-child{font-size:13px}.resource-main h1{font-size:28px}.forum-panel{padding:14px}#bbpress-forums .bbp-forum-info{width:66%}#bbpress-forums .bbp-forum-topic-count,#bbpress-forums .bbp-forum-reply-count{width:17%}#bbpress-forums .bbp-forum-freshness{display:none}#bbpress-forums .bbp-forum-title{font-size:18px}#bbpress-forums .bbp-search-form{float:none;margin-bottom:20px}#bbpress-forums fieldset.bbp-form{padding:16px}.resource-cover{aspect-ratio:4/3}.download-panel .btn{width:100%}.page-note{font-size:14px}.grant-list li{align-items:flex-start;flex-wrap:wrap}.panel.empty{padding-block:40px}}
@media(max-width:399px){.hero h1{font-size:40px}.pills a{padding:0 8px}.inner-page{padding-top:28px}.page-hero h1{font-size:30px}.panel{padding:18px}.hero-copy .eyebrow{font-size:12px}.welcome-card h2{font-size:24px}}

/* Static cover images keep icons outside the artwork transform. */
.cv .fav svg{position:static;inset:auto;width:22px;height:22px;transform:none}.cv>span img{transform:perspective(800px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg));transition:transform .3s cubic-bezier(.2,.7,.2,1)}

/* bbPress's own <=480px floats conflict with the card layout: use explicit mobile rows. */
@media(max-width:600px){
 #bbpress-forums .bbp-forums .bbp-header .forum-titles,#bbpress-forums .bbp-topics .bbp-header .forum-titles{display:block}
 #bbpress-forums .bbp-header li.bbp-forum-info,#bbpress-forums .bbp-header li.bbp-topic-title{width:100%;float:none;text-align:left}
 #bbpress-forums .bbp-header li:not(.bbp-forum-info):not(.bbp-topic-title){display:none}
 #bbpress-forums li.bbp-body ul.forum,#bbpress-forums li.bbp-body ul.topic{display:grid;grid-template-columns:1fr 1fr;gap:14px 8px;padding:18px 14px}
 #bbpress-forums li.bbp-body li.bbp-forum-info,#bbpress-forums li.bbp-body li.bbp-topic-title{grid-column:1/-1;float:none;width:auto;margin:0;padding:0;overflow-wrap:anywhere}
 #bbpress-forums li.bbp-body li.bbp-forum-topic-count,#bbpress-forums li.bbp-body li.bbp-forum-reply-count,#bbpress-forums li.bbp-body li.bbp-topic-voice-count,#bbpress-forums li.bbp-body li.bbp-topic-reply-count{float:none;width:auto;text-align:left;font-size:14px;color:var(--ink-3);margin:0;padding:0}
 #bbpress-forums li.bbp-body .bbp-forum-topic-count:before{content:'话题 '}
 #bbpress-forums li.bbp-body .bbp-forum-reply-count:before,#bbpress-forums li.bbp-body .bbp-topic-reply-count:before{content:'帖子 '}
 #bbpress-forums li.bbp-body .bbp-topic-voice-count:before{content:'参与人 '}
 #bbpress-forums .bbp-topic-freshness{display:none}
 #bbpress-forums .bbp-topic-permalink{font-size:18px;font-weight:800;text-decoration:none}
 #bbpress-forums #bbp-search-form>div{display:flex;flex-wrap:wrap;gap:8px}
 #bbpress-forums #bbp-search-form #bbp_search{width:100%;min-width:0}
 #bbpress-forums div.bbp-search-form{float:none;width:100%}
 #bbpress-forums p.bbp-topic-meta{font-size:12px;line-height:1.8}
}
