/* 기존 메인 카드 기능·스타일을 보존하는 소식·광고 데모 전용 규칙. */
.home-first-screen:has(>.qnews-zone){grid-template-rows:42px minmax(max-content,1fr) max-content 140px minmax(max-content,.85fr) 20px}
.qnews-zone{min-width:0;align-self:stretch}
.qnews-slot{height:140px;box-sizing:border-box;border:1px solid #cfd8cf;border-radius:18px;background:#fffefa;overflow:hidden;touch-action:pan-y;box-shadow:0 4px 18px #243d3805}
.qnews-content{height:90px;box-sizing:border-box;display:flex;align-items:center;gap:18px;padding:12px 22px}
.qnews-art{display:grid;place-items:center;flex:none;width:62px;height:62px;border-radius:14px;background:#e6eee4;color:#315b4c;font-size:27px;font-weight:700}
.qnews-art img{width:52px;max-height:46px;object-fit:contain}
.qnews-copy{flex:1;min-width:0}
.qnews-label{font-size:11px;font-weight:700;color:#315b4c;margin:0 0 5px;white-space:nowrap}
.qnews-label span{font-size:10px;font-weight:400;margin-left:6px;color:#6c7269}
.qnews-copy h2{font-size:19px;font-weight:650;letter-spacing:-.6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.4;margin:0}
.qnews-desc{font-size:12px;color:#596c63;line-height:1.5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:2px 0 0}
.qnews-cta{flex:none;min-height:44px;border:1px solid #b9cbbb;border-radius:10px;background:#f5f8f0;padding:8px 15px;color:#315b4c;font-size:12px;font-weight:700;cursor:pointer}
.qnews-bottom{height:48px;box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;padding:0 13px 0 22px;border-top:1px solid #edf0e7}
.qnews-bottom>span{font-size:10px;color:#5c6a62}
.qnews-controls{display:flex;align-items:center;gap:2px}
.qnews-controls button{height:44px;min-width:44px;border:0;background:transparent;color:#36554a;font-size:24px;border-radius:8px;cursor:pointer}
.qnews-controls button:hover{background:#edf2e8}
#qNewsPageCount{font-size:11px;color:#536459;font-variant-numeric:tabular-nums;min-width:49px;text-align:center}
#qNewsTogglePlay{font-size:11px;min-width:70px;border-left:1px solid #e2e8de;border-radius:0;margin-left:5px}
.qnews-slot[data-kind=ad]{background:#fffaf1;border-color:#ded3bc}
.qnews-slot[data-kind=ad] .qnews-art{background:#f1e5cb}
.qnews-slot[data-kind=ad] .qnews-label{color:#7a5e2c}
.qnews-slot[data-kind=planned] .qnews-art{background:#e5edf6;color:#3c6088}
.qnews-slot:focus-visible,.qnews-zone button:focus-visible,.qnews-dialog button:focus-visible{outline:3px solid #795b19;outline-offset:3px}
.qnews-zone button,.qnews-dialog button{font-family:inherit;touch-action:manipulation}
dialog:not([open]){display:none!important}
.qnews-dialog{position:fixed;top:0;left:0;right:0;bottom:0;inset:0;margin:auto;width:min(440px,calc(100% - 32px));box-sizing:border-box;padding:24px;border:1px solid #c8d6c9;border-radius:20px;background:#fffefa;color:#294c49;box-shadow:0 20px 80px #183b3e44;z-index:9999}
.qnews-dialog::backdrop{background:#203d4670}
.qnews-dialog-top{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:#617568}
.qnews-dialog-top button{width:44px;height:44px;border:0;background:transparent;font-size:28px;color:#36554a;cursor:pointer}
.qnews-dialog h2{font-size:23px;line-height:1.5;margin:14px 0}
.qnews-dialog p{font-size:14px;line-height:1.9;word-break:keep-all}
.qnews-dialog-confirm{width:100%;min-height:44px;background:#315b4c;color:white;border:0;border-radius:10px;margin-top:24px;font-size:14px;cursor:pointer}
@media(min-width:680px){
 .home-first-screen:has(>.qnews-zone){grid-template-rows:48px minmax(max-content,1fr) minmax(max-content,1fr) 140px 24px;grid-template-areas:'mast mast' 'welcome signup' 'welcome founder' 'news news' 'explore explore'}
 .qnews-zone{grid-area:news}
}
@media(min-width:1000px) and (min-aspect-ratio:3/2){
 .home-first-screen:has(>.qnews-zone){grid-template-rows:44px minmax(max-content,1fr) 140px 24px;grid-template-areas:'mast mast mast' 'welcome signup founder' 'news news news' 'explore explore explore'}
}
@media(max-width:679px){
 .qnews-content{gap:10px;padding:10px 12px}
 .qnews-art{width:40px;height:46px;border-radius:10px;font-size:18px}
 .qnews-art img{width:36px;max-height:40px}
 .qnews-copy h2{font-size:15px}
 .qnews-label{font-size:10px}
 .qnews-desc{font-size:11px}
 .qnews-cta{padding:6px 8px;font-size:10px;max-width:62px}
 .qnews-bottom{padding:0 6px 0 12px}
 .qnews-bottom>span{font-size:9px}
 .qnews-controls{gap:0}
 #qNewsTogglePlay{min-width:62px;margin-left:1px}
 #qNewsPageCount{min-width:43px;font-size:10px}
}
@media(max-width:359px){.qnews-art{display:none}.qnews-content{gap:7px}.qnews-bottom{padding-left:8px}.qnews-bottom>span{max-width:76px;line-height:1.4}}
@media(prefers-reduced-motion:reduce){.qnews-zone *,.qnews-dialog *{animation:none!important;transition:none!important}}
