/* Today.Q 진입 카드. 기존 소식·광고 DOM/스타일/회전 기능은 그대로 유지한다. */
.home-first-screen:has(>.home-entry-cards){grid-template-rows:42px minmax(max-content,1fr) minmax(140px,max-content) max-content 140px minmax(max-content,.85fr) 20px}
.home-entry-cards{box-sizing:border-box;min-width:0;min-height:140px;display:grid;grid-template-columns:88px minmax(0,1fr) auto;align-items:center;gap:20px;padding:15px 22px;border:1px solid #cfd8cf;border-radius:18px;background:linear-gradient(115deg,#eff5eb,#fffdf5 68%,#f8eedf);color:#284c40;text-decoration:none;box-shadow:0 4px 18px #243d3805;touch-action:manipulation}
.home-today-art{display:block;width:88px;height:104px;transform:rotate(-5deg)}
.home-today-art svg{display:block;width:100%;height:100%}
.home-today-copy{display:flex;flex-direction:column;min-width:0;gap:3px}
.home-today-brand{font:500 13px/1.25 'Outfit',sans-serif;letter-spacing:.3px;color:#506d5c}
.home-today-brand b{font-weight:700}
.home-entry-cards h2{margin:0;font-size:24px;line-height:1.4;font-weight:700;letter-spacing:-.8px;word-break:keep-all;overflow-wrap:anywhere}
#homeTodayDescription{font-size:13px;line-height:1.5;color:#496153;word-break:keep-all;overflow-wrap:anywhere}
.home-today-options{font-size:11px;line-height:1.5;color:#59705f}
.home-today-cta{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:44px;padding:10px 16px;border-radius:10px;background:#315b4c;color:#fffdf5;font-size:13px;font-weight:600;white-space:nowrap}
@media(min-width:680px){
 .home-first-screen:has(>.home-entry-cards){grid-template-rows:48px minmax(140px,max-content) minmax(max-content,1fr) minmax(max-content,1fr) 140px 24px;grid-template-areas:'mast mast' 'today today' 'welcome signup' 'welcome founder' 'news news' 'explore explore'}
 .home-entry-cards{grid-area:today}
}
@media(min-width:1000px) and (min-aspect-ratio:3/2){
 .home-first-screen:has(>.home-entry-cards){grid-template-rows:44px minmax(140px,max-content) minmax(max-content,1fr) 140px 24px;grid-template-areas:'mast mast mast' 'today today today' 'welcome signup founder' 'news news news' 'explore explore explore'}
}
@media(max-width:679px){
 .home-entry-cards{grid-template-columns:64px minmax(0,1fr);grid-template-rows:1fr auto;gap:2px 12px;padding:12px}
 .home-today-art{width:64px;height:82px;grid-row:1 / 3}
 .home-today-copy{gap:1px}
 .home-today-brand{font-size:11px}
 .home-entry-cards h2{font-size:17px;line-height:1.4;letter-spacing:-.6px}
 #homeTodayDescription{font-size:12px;line-height:1.4}
 .home-today-options{display:none}
 .home-today-cta{grid-column:2;justify-self:start;min-height:32px;padding:4px 10px;font-size:11px;gap:10px}
}
@media(max-width:359px){
 .home-entry-cards{grid-template-columns:44px minmax(0,1fr);column-gap:8px;padding:10px}
 .home-today-art{width:44px;height:64px}
 .home-entry-cards h2{font-size:16px}
}
@media(forced-colors:active){.home-entry-cards,.home-today-cta{border:1px solid LinkText}.home-today-art{display:none}.home-entry-cards{grid-template-columns:minmax(0,1fr)}.home-today-cta{grid-column:1}}

/* Date/name greeting stays within the existing 140px card at normal text size. */
.home-today-brand{display:flex;align-items:baseline;gap:8px}
#homeTodayDate{font:400 11px/1.2 'Noto Sans KR',sans-serif;color:#59705f;white-space:nowrap}
@media(max-width:679px){
 .home-today-copy{gap:1px}
 .home-entry-cards h2{font-size:15px;line-height:1.3}
 #homeTodayDescription{font-size:11px;line-height:1.4}
 .home-today-cta{min-height:26px;padding-block:3px;line-height:1.4}
}
@media(max-width:359px){.home-entry-cards h2{font-size:14px;line-height:1.3}}

/* 모바일 첫 네 카드: 큐메일/소식 카드의 크기는 그대로 두고 소개 여백만 정돈한다.
   내용이 길거나 가용 높이가 짧으면 행이 늘어나 정상 스크롤된다. */
@media(max-width:679px){
 .home-first-screen:has(>.home-entry-cards){grid-template-rows:42px max-content minmax(112px,max-content) max-content 140px minmax(max-content,.85fr) 20px;gap:8px}
 .home-welcome{padding-block:8px;row-gap:4px;grid-template-columns:minmax(0,1fr) 64px}
 .home-welcome .welcome-portrait{width:64px;height:64px}
 .home-entry-cards{min-height:112px;padding-block:8px}
}
@media(max-width:679px) and (max-height:740px){
 .home-first-screen:has(>.home-entry-cards){gap:6px}
 .home-welcome{grid-template-columns:minmax(0,1fr) 54px}
 .home-welcome .welcome-portrait{width:54px;height:54px}
}

/* Today.Q와 큐닷몰은 간격을 둔 독립 카드이며 각 카드 전체가 링크다. */
.home-entry-cards{grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:12px;padding:0;overflow:visible;align-items:stretch;border:0;border-radius:0;background:none;box-shadow:none}
.home-today-link{display:grid;grid-template-columns:72px minmax(0,1fr) auto;gap:14px;align-items:center;padding:15px 22px;color:inherit;text-decoration:none;min-width:0;border:1px solid #cfd8cf;border-radius:18px;background:linear-gradient(115deg,#eff5eb,#fffdf5 68%,#f8eedf);box-shadow:0 4px 18px #243d3805}
.home-today-link:hover{border-color:#63836d}
.home-today-link .home-today-art{width:72px;height:94px}
.home-today-link .home-today-brand{flex-wrap:wrap;gap:3px 8px}
.home-today-link:focus-visible,.home-mall-link:focus-visible{outline:3px solid #795b19;outline-offset:-4px}
.home-mall-link{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-width:0;padding:12px 8px;border:1px solid #ccd4bd;border-radius:18px;box-shadow:0 4px 18px #243d3805;background:linear-gradient(135deg,#e1ead7,#f4efda);color:#36513d;text-decoration:none;text-align:center}
.home-mall-link:hover{background:linear-gradient(135deg,#d6e2ca,#ede7cb)}
.home-mall-symbol{font:700 28px/1 'Outfit',sans-serif;color:#6b784d}
.home-mall-link strong{font-size:19px;line-height:1.4;letter-spacing:-.5px}
.home-mall-status{font-size:10px;line-height:1.4;border:1px solid #a9b28d;border-radius:12px;padding:2px 9px;color:#4e6241;background:#f8f7e9}
.home-mall-description{font-size:10px;line-height:1.4;color:#516347}
@media(min-width:680px) and (max-width:1100px){
 .home-today-link{grid-template-columns:56px minmax(0,1fr);gap:5px 12px;padding:14px}
 .home-today-link .home-today-art{grid-row:1 / 3;width:56px;height:78px}
 .home-today-link h2{font-size:20px}
 .home-today-link .home-today-cta{grid-column:2;justify-self:start;min-height:32px;padding:5px 10px;font-size:11px}
}
@media(max-width:679px){
 .home-entry-cards{grid-template-columns:minmax(0,2fr) minmax(0,1fr);grid-template-rows:auto;gap:8px;padding:0;min-height:112px}
 .home-today-link{grid-template-columns:minmax(0,1fr);gap:5px;padding:10px 12px}
 .home-today-link .home-today-art{display:none}
 .home-today-link .home-today-cta{grid-column:1;justify-self:start}
 .home-today-link h2{font-size:14px;line-height:1.4}
 .home-today-link #homeTodayDescription{font-size:10px;line-height:1.5}
 .home-mall-link{padding:10px 4px;gap:4px}
 .home-mall-symbol{font-size:23px}
 .home-mall-link strong{font-size:17px}
 .home-mall-description{font-size:9px}
}
@media(forced-colors:active){.home-entry-cards{border:0}.home-today-link,.home-mall-link{border:1px solid LinkText}}
