/* Yen v11 — Published Zhihu articles, editable QR block & considerate scroll motion. */
.articles-context{font-size:14px;color:#53685a;line-height:1.9;margin:-12px 0 28px;max-width:760px}
.published-cards .article-card{display:flex;flex-direction:column;overflow:hidden;border-radius:6px;transform:translateZ(0)}
.published-cards .article-card-content{display:flex;flex-direction:column;flex:1;padding:23px 24px 22px}
.published-cards .article-card h3{font-size:clamp(18px,1.65vw,22px);line-height:1.5;min-height:3em;font-weight:700}
.published-cards .article-card .card-desc{font-size:13px;line-height:1.8}
.published-cards .article-card .card-bottom{margin-top:auto;padding-top:17px;border-top:1px solid #dce8df;font-size:13px;font-weight:700;color:#245c40}
.published-card-image{height:auto;aspect-ratio:16/9;background:#e9f2ed;overflow:hidden;position:relative;display:grid;place-items:center}
.published-card-image img{width:100%!important;height:100%!important;object-fit:cover!important;display:block;position:relative;z-index:1;transition:transform .55s cubic-bezier(.2,.7,.2,1);background:transparent}
.published-card:hover .published-card-image img{transform:scale(1.025)}
/* The user-selected first illustration is portrait: show 100% of it with a visually integrated colored canvas. */
.published-card-image.article-cover-meme{background:#85cbd1}
.published-card-image.article-cover-meme::before{content:'';position:absolute;inset:-24%;background:url('../images/yen-cover-se-meme.webp') center/cover no-repeat;filter:blur(28px) saturate(.75);opacity:.65}
.published-card-image.article-cover-meme img{width:100%!important;height:100%!important;max-width:100%;max-height:100%;min-width:0;min-height:0;object-fit:contain!important;box-shadow:0 0 20px rgba(23,54,40,.12)}
.published-card:hover .article-cover-meme img{transform:scale(1.02)}
/* The listing page should make the link destination explicit, with all three user-provided artwork files. */
.published-article-list{display:grid;grid-template-columns:1fr;gap:22px;max-width:1090px;margin:0 auto}
.published-list-item{display:grid!important;grid-template-columns:minmax(215px,340px) 1fr!important;gap:28px;align-items:center;background:#fff;border:1px solid #dce8df;border-radius:6px;padding:18px;transition:transform .3s ease, box-shadow .3s ease}
.published-list-item:hover{transform:translateY(-3px);box-shadow:0 16px 40px rgba(24,64,41,.09)}
.published-list-item > div:nth-child(2){min-width:0;padding:12px 10px}
.published-list-item h2{font-size:clamp(21px,2.3vw,31px);font-family:var(--serif);color:#183f2c;margin:12px 0 14px;font-weight:700;line-height:1.45}
.published-list-item p{font-size:14px;color:#54665a;line-height:1.9;margin:0 0 14px}
.published-list-item .text-link{font-weight:700;font-size:13px}
.published-list-thumb{position:relative;aspect-ratio:16/9;overflow:hidden;background:#e9f2ed;display:grid;place-items:center}
.published-list-thumb img{width:100%!important;height:100%!important;object-fit:cover!important;position:relative;z-index:1}
.published-list-thumb.article-cover-meme{background:#85cbd1}
.published-list-thumb.article-cover-meme::before{content:'';position:absolute;inset:-22%;background:url('../images/yen-cover-se-meme.webp') center/cover no-repeat;filter:blur(24px) saturate(.8);opacity:.6}
.published-list-thumb.article-cover-meme img{width:100%!important;height:100%!important;max-width:100%;max-height:100%;min-width:0;min-height:0;object-fit:contain!important}
.published-source-note{background:#eff6f1;border-left:3px solid #5b8a68;max-width:1090px;margin:30px auto 0;padding:21px 25px;font-size:13px;line-height:2;color:#496551}
/* QR block: readable, responsive, with real uploaded WeChat QR as an image not a fake QR generated from the phone number. */
.wechat-scan-panel{display:grid;grid-template-columns:minmax(210px,246px) minmax(0,1fr);align-items:center;gap:22px;margin:28px 0 30px;padding:24px;border:1px solid #c9dcd0;background:#fff;border-radius:8px;box-shadow:0 9px 24px rgba(24,65,42,.04)}
.wechat-qr-visual{background:white;border:1px solid #edf2ee;padding:8px;border-radius:5px;max-width:246px;min-width:0}
.wechat-qr-visual img{width:100%;height:auto;display:block;image-rendering:auto}.wechat-qr-visual a{display:block}.wechat-qr-visual a:focus-visible{outline:3px solid #3e8260;outline-offset:3px}.qr-enlarge-link{font-size:12px;text-align:center;color:#235b40;font-weight:700;margin-top:8px;text-decoration:underline;text-underline-offset:3px}
.wechat-qr-description h3{font-family:var(--serif);color:#1c4831;font-size:clamp(19px,1.7vw,23px);text-wrap:balance;line-height:1.35;margin:8px 0 9px;font-weight:700}
.wechat-qr-description p{font-size:13px;line-height:1.9;margin:0 0 10px}
.wechat-qr-description p strong{color:#1d4a34}
.wechat-qr-description .qr-fallback{border-top:1px solid #d9e8db;padding-top:10px;font-size:12px}
/* Scroll reveal: only add pending class when the JS observer can reveal it. Content stays visible if scripts are blocked. */
.reveal-pending{opacity:0;transform:translate3d(0,26px,0);will-change:opacity,transform}
.reveal-pending.reveal-in{opacity:1;transform:translate3d(0,0,0);transition:opacity .68s cubic-bezier(.19,1,.22,1),transform .72s cubic-bezier(.19,1,.22,1);transition-delay:var(--reveal-delay,0ms)}
/* No pending classes or scroll animation when motion is unwanted. */
@media(prefers-reduced-motion:reduce){.reveal-pending,.reveal-pending.reveal-in{opacity:1!important;transform:none!important;transition:none!important}.published-card-image img{transition:none!important}}
@media(max-width:900px){.published-cards .article-card h3{min-height:0}.published-list-item{grid-template-columns:minmax(170px,40%) minmax(0,1fr)!important}}
@media(max-width:720px){.wechat-scan-panel{grid-template-columns:minmax(160px,210px) minmax(0,1fr);gap:14px;padding:16px}.published-list-item{grid-template-columns:1fr!important;gap:10px;padding:14px}.published-list-thumb{width:100%}.published-list-item > div:nth-child(2){padding:10px 7px 13px}}
@media(max-width:450px){.wechat-scan-panel{display:flex;flex-direction:column;align-items:flex-start}.wechat-qr-visual{width:240px;max-width:100%;align-self:center}.wechat-qr-description{width:100%}.published-card-image{aspect-ratio:16/9}.published-cards .article-card-content{padding:18px 20px 20px}}
