/* Image-first notes with paper edges and restrained movement. */
#page-community{max-width:1380px}.community-heading{margin-bottom:24px}.community-tools{display:flex;justify-content:space-between;align-items:center;gap:22px;padding-bottom:18px;border-bottom:1px solid #d9ceba;flex-wrap:wrap}
#community-topics{display:flex;gap:18px;flex-wrap:wrap}#community-topics button{background:none;border:0;border-bottom:2px solid transparent;padding:8px 2px;color:#7b6a5b;font-size:14px;min-height:44px}#community-topics button[aria-pressed=true]{color:#982e23;border-bottom-color:#982e23}
.note-search input{border:1px solid #ddd2c0;background:#fbf7ed;border-radius:24px;padding:11px 18px;max-width:100%;font-size:13px;min-width:220px}
.note-composer{margin:18px 0 10px!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
.note-composer>summary{color:#913c2e;font-size:15px;padding:10px 0;cursor:pointer;min-height:44px}.note-composer>summary span{font-size:12px;color:#94806c;margin-left:18px}.note-composer form{background:#fffaf0;border:1px solid #dfd3c0;padding:24px;margin-top:12px;max-width:760px}.composer-options{display:flex;gap:25px;flex-wrap:wrap}
.community-footnote{display:flex;gap:28px;align-items:baseline;color:#8c7c6c;font-size:12px;margin-bottom:10px}.community-footnote details{max-width:640px}.community-footnote summary{cursor:pointer;min-height:32px}.community-footnote p{line-height:1.8}
#community-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;contain:layout}.note-column{min-width:0}.paper-note-card{break-inside:avoid;margin:0 0 24px;display:inline-block;width:100%;background:transparent;border:0}
.note-open{display:block;width:100%;text-align:left;padding:0;border:0;color:#3d3029;background:none;cursor:pointer}.note-cover{position:relative;overflow:hidden;border-radius:8px;background:#ece1cf;aspect-ratio:1}.paper-note-card:nth-child(3n+2) .note-cover{aspect-ratio:4/5}.paper-note-card:nth-child(5n) .note-cover{aspect-ratio:5/4}
.note-cover img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .4s ease}.note-open:hover img{transform:scale(1.025)}.note-open:focus-visible{outline:2px solid #96392a;outline-offset:5px;border-radius:8px}
.note-sample{position:absolute;bottom:10px;left:10px;background:#fff9eeeF;border:1px solid #e3d4bd;border-radius:3px;font-size:10px;color:#846850;padding:3px 6px}.note-card-copy{padding:13px 3px 0}.note-category{font-size:11px;color:#aa7560}.note-card-copy h2{font:500 16px/1.65 "Microsoft YaHei",sans-serif;margin:4px 0 12px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.note-card-meta{display:flex;align-items:center;gap:7px;font-size:11px;color:#857361}.note-card-meta>span:nth-child(2){overflow:hidden;white-space:nowrap;text-overflow:ellipsis;flex:1}.paper-avatar{border-radius:50%;background:#e4d7c0;color:#875c42;width:23px;height:23px;display:grid;place-items:center;font:12px serif;flex-shrink:0}.note-likes{margin-left:auto;white-space:nowrap}
.note-without-photo{height:100%;display:grid;place-items:center;font:36px "Yijian Brush",serif;padding:30px;color:#9b4a35;background:repeating-linear-gradient(0deg,transparent 0 38px,#d5c0a230 39px 40px)}
.note-dialog{position:fixed;inset:0;border:1px solid #d7c8b1;border-radius:10px;background:#fffcf5;color:#493627;padding:0;width:min(1050px,94vw);max-width:none;max-height:90dvh;box-shadow:0 25px 90px #2c201838;overflow:auto}.note-dialog::backdrop{background:#30231899;backdrop-filter:blur(4px)}.note-dialog[open]{animation:note-arrive .25s ease-out}
.note-close{position:sticky;top:12px;float:right;z-index:2;background:#fff9edee;border:1px solid #cdb99b;border-radius:30px;font-size:12px;padding:10px 18px;margin:12px 14px -54px 0;cursor:pointer;min-height:44px}
.note-detail-layout{display:grid;grid-template-columns:1fr 1fr;align-items:start}.note-photo{margin:0;background:#ebe2d3;position:sticky;top:0}.note-photo img{display:block;width:100%;max-height:76dvh;object-fit:contain}.note-photo img[hidden]{display:none}.note-photo figcaption{padding:13px 20px;color:#81684f;font-size:11px;line-height:1.6}
.note-copy{padding:55px 32px 28px;min-width:0}.note-copy h2{font:500 23px/1.7 "Noto Serif SC","SimSun",serif;margin:16px 0 22px;overflow-wrap:anywhere}#note-author{font-size:12px;color:#94765c}#note-body{white-space:pre-wrap;font-size:15px;line-height:2;overflow-wrap:anywhere;margin-bottom:22px}.note-copy h3{font-size:14px;font-weight:500;border-top:1px solid #e8dece;padding-top:20px}.note-reply{padding:12px 0;border-bottom:1px solid #e9e1d3;font-size:13px}.note-reply strong{font-weight:400;color:#976745}.note-reply p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8}.note-empty-reply{font-size:12px;color:#9a8975}
#note-comment-form textarea{width:100%;background:#f6efe1;border:1px solid #e3d5bf;padding:12px;resize:vertical;border-radius:5px;font:inherit;font-size:16px;line-height:1.7;max-width:100%}.note-copy [role=status]{font-size:12px;color:#985d3e}#note-comment-form .button{padding:9px 18px;border-radius:4px;font-size:13px}.note-copy .voice-toolbar span{font-size:11px}
@keyframes note-arrive{from{opacity:0;transform:translateY(14px) scale(.99)}to{opacity:1;transform:none}}
@media(min-width:1600px){#community-list{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1000px){#community-list{column-gap:16px}.note-card-copy h2{font-size:15px}.community-tools{gap:12px}}
@media(max-width:760px){#community-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.paper-note-card{margin-bottom:20px}.note-card-copy{padding-top:9px}.note-card-copy h2{font-size:14px;margin:4px 0 9px}.note-sample{font-size:9px;left:6px;bottom:6px;padding:2px 4px}#community-topics{gap:14px}#community-topics button{font-size:13px}.community-tools{display:block}.note-search{display:block;margin-top:10px}.note-search input{width:100%}.community-heading h1{font-size:34px}.community-heading p{font-size:12px}.community-footnote{gap:18px}.note-composer>summary span{display:none}.note-dialog{width:94vw;max-height:93dvh}.note-detail-layout{display:block}.note-photo{position:static}.note-photo img{max-height:48dvh}.note-copy{padding:20px}.note-copy h2{font-size:21px;margin-top:10px}.note-close{top:10px}.note-card-meta{font-size:10px;gap:5px}.paper-avatar{width:20px;height:20px}.note-cover{border-radius:6px}}
@media(prefers-reduced-motion:reduce){.note-dialog[open]{animation:none}.note-cover img{transition:none}}
