/* prompt-add.md: self-hosted Pretendard; fixed two-line card descriptions. */
html[lang] body[data-sc-v9],html[lang] body[data-sc-v9] *,html[lang] body[data-sc-v9] .sc-catalog.sc-catalog{font-family:"Pretendard Variable","Noto Sans SC",sans-serif!important}
.sc-hub .sca-card>span:not(.sc-hub-meta),body[data-sc-v9] .sc-catalog-card .sc-catalog-description{display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:2;white-space:normal!important;overflow:hidden!important;font-size:14px!important;line-height:1.5!important;min-height:42px!important;max-height:42px!important;height:42px!important}
.sc-hub .sca-card>strong{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;min-height:54px;height:54px;line-height:1.5}
.sc-catalog-card>strong{min-height:48px;line-height:1.5}

body[data-sc-v9] .sc-catalog-card>strong{display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden!important;min-height:48px!important;height:48px!important;line-height:1.5!important}

/* 2026-10-31: every registry card is visible at every viewport. */
body[data-sc-v9] .sc-home-default:not(.v9-filtered) .sc-catalog-card.sc-catalog-card:not([hidden]){display:grid!important}
.sc-hub .sca-list>.sca-card:not([hidden]){display:flex!important}

/* 목록 머리글과 본문 정렬 및 카드 간격 보정. */
body[data-sc-v9]:has(.sc-hub),body[data-sc-v9]:has(.sc-hub)>.wp-site-blocks{margin-top:0!important;padding-top:0!important}
body[data-sc-v9]:has(.sc-hub)>.wp-site-blocks>.wp-block-template-part:first-child>p:has(>.mt-skip){margin:0!important;height:0!important}
body[data-sc-v9]:has(.sc-hub) #main{box-sizing:border-box;max-width:1040px!important;margin-inline:auto!important;padding-inline:32px!important}
body[data-sc-v9]:has(.sc-hub) #main>.wp-block-group,body[data-sc-v9]:has(.sc-hub) #main .entry-content{max-width:none!important;width:100%!important;margin-inline:0!important;padding-inline:0!important}
body[data-sc-v9]:has(.sc-hub) #main :is(.wp-block-post-title,.entry-content>*,.sc-hub){max-width:none!important;margin-inline:0!important}
body[data-sc-v9] :is(.sc-hub .sca-card,.sc-catalog-card)>strong{margin-bottom:8px!important}
body[data-sc-v9] :is(.sc-hub .sca-card>span:not(.sc-hub-meta),.sc-catalog-description){min-height:2lh!important}
@media(max-width:600px){body[data-sc-v9]:has(.sc-hub) #main{padding-inline:16px!important}body[data-sc-v9]:has(.sc-hub) .v9-head{padding-inline:16px!important}}
