/* Compact faces: artwork has its own proportional crop; text is never stretched. */
.category-section .category-card{height:300px;aspect-ratio:auto}
.category-section .category-front{padding:17px 15px 15px;background-image:url('assets/category-glass-small.webp');background-position:var(--full-x) 81.5%;background-size:442.34% 250%;animation:none}
.category-section .category-front .category-icon{width:185px;max-width:87%;height:auto;aspect-ratio:470/325;flex:0 0 auto;margin:0 auto 8px;opacity:1;background:url('assets/category-glass-win11.webp') var(--full-x) 24% / 442.34% auto no-repeat;mask-image:radial-gradient(ellipse 70% 70% at 50% 47%,#000 48%,transparent 72%);animation:compact-art-float 8s ease-in-out infinite}
.category-section .category-front h2{font-size:22px;margin:0 0 8px}
.category-section .category-front p{font-size:13px;min-height:39px;max-width:225px}
.category-section .category-card .category-front .category-toggle{width:36px;height:36px;min-height:36px;margin-top:13px}
.category-section .category-back{padding:22px 17px}
.category-section .category-back h3{font-size:23px;margin-bottom:12px}
.category-section .category-back p{font-size:13px;margin-bottom:15px;min-height:0}
@keyframes compact-art-float{0%,100%{translate:0 0}50%{translate:0 -2px}}
@media(max-width:1000px) and (min-width:701px){.category-section .category-card{height:300px;max-height:none}.category-section .category-front h2{font-size:23px}.category-section .category-front p{font-size:14px;min-height:42px}}
@media(max-width:700px){.category-section .category-grid{gap:13px}.category-section .category-card{height:236px;aspect-ratio:auto}.category-section .category-front{padding:12px 9px}.category-section .category-front .category-icon{width:142px;max-width:92%;margin-bottom:6px}.category-section .category-front h2{font-size:17px;margin:0 0 7px}.category-section .category-front p{font-size:11px;min-height:31px;line-height:1.4}.category-section .category-card .category-front .category-toggle{width:32px;height:32px;min-height:32px;margin-top:10px}.category-section .category-back{padding:15px 11px}.category-section .category-back h3{font-size:19px}.category-section .category-back p{font-size:11px;line-height:1.4;margin-bottom:11px}.category-section .category-back .button{min-height:38px;font-size:10px;padding:8px 10px}.category-section .category-return{margin-top:12px}}
@media(prefers-reduced-motion:reduce){.category-section .category-front .category-icon{animation:none}}
