/* 手机竖屏浏览横向桌面效果图；每组一张主预览、五个页面入口。 */
.ref-grid{grid-template-columns:minmax(0,1fr)}
@media(min-width:1200px){.ref-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.ref-shots{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 12px;margin:0;padding:8px 0;overflow:visible}
.ref-frame{min-width:0;margin:0;text-align:center}
.ref-frame:first-child{grid-column:1/-1}
.ref-shot{min-width:0;width:100%;font-size:12px;gap:8px}
.ref-shot img{width:100%;height:auto;aspect-ratio:16/9;object-fit:contain;background:#f5f7f6;border-radius:6px;box-shadow:0 3px 12px #0c23210d}
.ref-frame:first-child .ref-shot{font-size:14px}
.ref-shot span{line-height:1.5}
.ref-source{display:inline-block;font-size:11px;line-height:1.5;color:#416560;padding:7px 10px;text-decoration:underline;text-underline-offset:3px}
.ref-shots__label::after{content:' · 横向桌面版 · 点图放大';font-weight:400}
html[lang^="en"] .ref-shots__label::after{content:' · Desktop · Tap to enlarge'}
/* 原生折叠入口支持键盘操作，不增加脚本。 */
.ref-card--mobile-only{display:none}
.ref-more{margin-top:24px}
.ref-more>summary{display:flex;align-items:center;justify-content:center;gap:16px;min-height:56px;padding:16px 24px;border:1px solid #bdd5cc;border-radius:14px;background:#fff;color:var(--ink-700);font-weight:600;cursor:pointer;list-style:none;text-align:center}
.ref-more>summary::-webkit-details-marker{display:none}
.ref-more>summary:hover{background:var(--card-mint)}
.ref-more>summary:focus-visible{outline:2px solid var(--brand-500);outline-offset:4px}
.ref-more__open,.ref-more[open] .ref-more__closed{display:none}
.ref-more[open] .ref-more__open{display:inline}
.ref-more[open] .ref-more__icon{transform:rotate(45deg)}
.ref-more__grid{margin-top:24px}
@media(max-width:767px){
 .ref-card--desktop-only{display:none}
 .ref-card--mobile-only{display:flex}
 .ref-card--shots{padding:16px;gap:12px}
 .ref-card__head{flex-wrap:wrap;gap:8px}
 .ref-card__name{font-size:19px}
 .ref-card__tag{font-size:12px}
 .ref-shots{gap:12px 8px}
 .ref-shot{font-size:11px}
 .ref-shots__label{font-size:12px!important}
 .ref-shots__label::after{display:block}
 .ref-source{padding:10px;min-height:36px}
}
