/* 공통 슬라이드: 너비·이동·버튼 */
.site-slider { min-width: 0; max-width: 100%; width: 100%; overflow: hidden; }
html body .site-slider > .swiper-wrapper, html body.page-news.news-landing .site-slider > .swiper-wrapper { display: flex; flex-wrap: nowrap; gap: 0; overflow: visible; padding: 0; margin: 0; width: 100%; max-width: none; scroll-snap-type: none; }
html body .site-slider > .swiper-wrapper > .swiper-slide { flex-shrink: 0; flex-basis: auto; min-width: 0; max-width: none; scroll-snap-align: none; height: auto; }
.site-slider .swiper-button-disabled { opacity: .4; }
.mf-guide-page { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-content: start; }
.mf-guide-page > a { min-width: 0; }
.site-slider:has(.mf-top-track) { padding-bottom: 0; }
html body .site-slider .mf-top-card { opacity: 1; }
html body .site-slider .mf-top-card:not(.is-active) { opacity: .55; }
html body .site-slider .interior-slide { flex: 0 0 auto; }
/* 공통 글자 규격: 정책·쿠키 개별 규격 유지 */
:root { --type-hero: calc(20px - var(--font-size-step, 0px)); --type-section: calc(20px - var(--font-size-step, 0px)); --type-card-large: calc(18px - var(--font-size-step, 0px)); --type-card: calc(16px - var(--font-size-step, 0px)); --type-body: calc(16px - var(--font-size-step, 0px)); --type-meta: 14px; --type-caption: 12px; }
body:not(.page-main) { font-family: var(--font-family); -webkit-font-smoothing: antialiased; }
/* 비회원 기사: 대표 이미지는 세 줄 제한에서 제외 */
html body.page-news-post .article-copy.is-preview { max-height: 3lh; overflow: hidden; mask-image: linear-gradient(to bottom, #000 1lh, transparent 3lh); -webkit-mask-image: linear-gradient(to bottom, #000 1lh, transparent 3lh); }
html body.page-news-post .article-copy.is-preview > :not(p) { display: none; }
@media (max-width: 1024px) {
  html body.mobile-article-design .article-mobile-login { margin: 24px 0 36px; padding: 40px 20px; border: 0; border-radius: 20px 20px 0 0; background: #fff; }
  html body.mobile-article-design .article-mobile-login .article-paper-logo { display: block; width: 140px; height: 32px; margin: 0 auto 32px; }
  html body.mobile-article-design .article-mobile-login h2 { margin: 0 0 8px; font-size: 18px; line-height: 26px; }
  html body.mobile-article-design .article-mobile-login > p { font-size: 14px; line-height: 21px; color: #666; }
  html body.mobile-article-design .article-login-bubble { margin: 32px auto 12px; padding: 5px 16px; font-size: 12px; font-weight: 500; line-height: 22px; }
  html body.mobile-article-design .article-mobile-login .social-login { height: 48px; min-height: 48px; border-radius: 8px; font-size: 16px; line-height: 24px; }
}
body:not(.page-main) :is(h1, h2, h3, h4, p, small, strong, summary, button, input, select, textarea) { font-family: var(--font-family); }
html body .news-edition-rank { font-family: var(--font-family-point); }
@media (max-width: 1024px) {
  html body .main-feed .mf-series-more.mf-outline, html body:is(.page-news, .page-stories) .news-edition-series-more { font-size: 12px; display: flex; align-items: center; justify-content: center; line-height: 16px; background-color: var(--responsive-color-f41a21); border-color: var(--responsive-color-f41a21); color: #fff; }
  /* 페이지 제목 글자 규격 */
  html body[class]:not(.page-main):not(.policy-page) :is( .news-main > h1, .stories-main h1, .complex-main h1, .prep-main h1, .publication-intro h1, .community-main h1, .member-main h1, .search-main h1, .reservation-main h1, .write-intro h1 ), html body[class]:not(.page-main) :is( .news-edition-panel > h2, .news-edition-heading h2, .stories-heading h2, .stories-section > h2, .stories-serial > h2, .stories-overview > h2, .publication-heading h2, .publication-benefits h2, .prep-finance-heading h2, .prep-questions > h2, .article-mobile-recommendations h2, .board-heading h2, .post-comments-section > h2, .member-content h2, .member-dashboard-intro > h2 ) { font-size: var(--type-section); line-height: 28px; font-weight: 700; }
  html body:is(.page-news, .page-stories) .news-edition-series-item summary strong { font-size: var(--type-card-large); line-height: 24px; font-weight: 700; }
  html body[class]:not(.page-main) :is( .news-edition-row h3, .news-edition-short h3, .news-final-video-grid h3, .news-row h3, .stories-mini h3, .stories-card-copy h3, .stories-overview-card h3, .series-row-link h3, .publication-benefit-grid h3, .prep-feature h3, .prep-question-list h3, .article-mobile-popular-grid h3, .search-result h3, .news-edition-timeline h3, .news-edition-ranking h3, .community-discussion-list h3, .card-content h3, .member-section-title, .member-region-settings h3, .member-news-settings h3 ) { font-size: var(--type-card); line-height: 24px; font-weight: 700; }
  html body[class]:not(.page-main) :is( .news-edition-row small, .news-edition-short small, .news-row small, .stories-mini small, .series-row-link small, .article-mobile-popular-grid small, .search-result small ) { font-size: var(--type-meta); line-height: 20px; font-weight: 400; }
  html body[class]:not(.page-main) :is(.article-copy, .article-copy p, .series-mobile-copy p) { font-size: 18px; line-height: 29px; font-weight: 400; }
  html body[class]:not(.page-main) .article-copy-heading { font-size: var(--type-section); line-height: 28px; font-weight: 700; }
  html body.page-news .news-edition-hero h2 { font-size: var(--type-hero); line-height: 24px; font-weight: 700; letter-spacing: 0; }
  html body.page-news-post .article-heading h1 { font-size: 22px; }
  html body[class]:not(.page-main) :is(.news-edition-nav, .stories-final-nav) a { font-size: 14px; line-height: 20px; font-weight: 700; }
  html body[class]:not(.page-main) :is(.news-edition-nav, .stories-final-nav) a[aria-current] { font-weight: 700; }
}
/* 모바일 공통 기획시리즈: 홈·뉴스·단지소식 */
@media (max-width: 1024px) {
  html body .site-series-component.site-series-component.site-series-component.site-series-component { position: relative; box-sizing: border-box; padding: 0; margin: 0; border: 1px solid transparent; border-bottom-color: #e6e6e6; border-radius: 0; overflow: hidden; overflow-anchor: none; }
  html body .site-series-component.site-series-component.site-series-component.site-series-component[open]:not(.is-closing) { border-color: #252525; border-radius: 16px; }
  html body .site-series-component.site-series-component.site-series-component.site-series-component:last-child:not([open]), html body .site-series-component.site-series-component.site-series-component.site-series-component:has(+ .site-series-component[open]:not(.is-closing)) { border-bottom-color: transparent; }
  html body .site-series-component.site-series-component.site-series-component.site-series-component summary { display: flex; align-items: center; gap: 12px; box-sizing: border-box; min-height: 60px; padding: 14px 16px; list-style: none; cursor: pointer; }
  html body .site-series-component.site-series-component.site-series-component.site-series-component summary::-webkit-details-marker { display: none; }
  html body .site-series-component.site-series-component.site-series-component.site-series-component summary::before, html body .site-series-component.site-series-component.site-series-component.site-series-component summary::after { display: none; }
  html body .site-series-component.site-series-component.site-series-component.site-series-component summary > img { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; object-fit: contain; }
  html body .site-series-component.site-series-component.site-series-component.site-series-component summary > :is(strong,div) { flex: 1; min-width: 0; }
  html body .site-series-component.site-series-component.site-series-component.site-series-component summary strong { font-size: 16px; line-height: 24px; font-weight: 700; letter-spacing: -.3px; }
  html body .site-series-component.site-series-component.site-series-component.site-series-component summary small { display: block; margin: 0; color: #777; font-size: 14px; line-height: 20px; font-weight: 400; }
  html body .site-series-component.site-series-component.site-series-component.site-series-component:is(:not([open]),.is-closing) summary small { display: none; }
  html body .site-series-component.site-series-component.site-series-component.site-series-component[open]:not(.is-closing) summary { padding: 12px 96px 12px 16px; }
  html body .site-series-component.site-series-component.site-series-component.site-series-component[open]:not(.is-closing) summary > img { width: 45px; height: 45px; }
  html body .site-series-component.site-series-component.site-series-component.site-series-component summary > .mf-chevron { display: grid; place-items: center; flex: 0 0 24px; width: 24px; height: 24px; border: 1px solid #ff1725; border-radius: 50%; color: #ff1725; }
  html body .site-series-component.site-series-component.site-series-component.site-series-component summary > .mf-chevron svg { width: 16px; height: 16px; }
  html body .site-series-component.site-series-component.site-series-component.site-series-component[open]:not(.is-closing) summary > .mf-chevron { display: none; }
  html body .site-series-component.site-series-component.site-series-component.site-series-component > :is(.mf-series-more,.news-edition-series-more) { position: absolute; top: 22px; right: 12px; display: inline-flex; align-items: center; justify-content: center; width: auto; height: 24px; min-height: 24px; margin: 0; padding: 0 9px; border: 1px solid #ff1725; border-radius: 999px; background: #ff1725; color: #fff; font-size: 12px; line-height: 1; font-weight: 500; }
  html body .site-series-component.site-series-component.site-series-component.site-series-component > :is(.mf-series-more,.news-edition-series-more) span { font-size: inherit; }
  html body .site-series-component.site-series-component.site-series-component.site-series-component:is(:not([open]),.is-closing) > :is(.mf-series-more,.news-edition-series-more) { display: none; }
  html body .site-series-component.site-series-component.site-series-component.site-series-component > :is(.mf-series-timeline,.news-edition-timeline) { margin: 0; padding: 18px 16px 24px 26px; border-top: 1px solid #e6e6e6; list-style: none; }
  html body .site-series-component.site-series-component.site-series-component.site-series-component :is(.mf-series-timeline,.news-edition-timeline) > :is(a,li) { position: relative; margin: 0; padding: 0 0 16px 16px; }
  html body .site-series-component.site-series-component.site-series-component.site-series-component :is(.mf-series-timeline,.news-edition-timeline) > :last-child { padding-bottom: 0; }
  html body .site-series-component.site-series-component.site-series-component.site-series-component :is(.mf-series-timeline,.news-edition-timeline) > :is(a,li)::before { content: ''; position: absolute; top: 7px; left: -3px; width: 7px; height: 7px; border-radius: 50%; background: #252525; }
  html body .site-series-component.site-series-component.site-series-component.site-series-component :is(.mf-series-timeline,.news-edition-timeline) > :is(a,li)::after { content: ''; position: absolute; top: 20px; left: 0; bottom: 2px; width: 2px; background: #ddd; }
  html body .site-series-component.site-series-component.site-series-component.site-series-component :is(.mf-series-timeline,.news-edition-timeline) a { display: flex; align-items: flex-start; gap: 12px; }
  html body .site-series-component.site-series-component.site-series-component.site-series-component :is(.mf-series-timeline,.news-edition-timeline) a > div { flex: 1; min-width: 0; }
  html body .site-series-component.site-series-component.site-series-component.site-series-component :is(.mf-series-timeline,.news-edition-timeline) img { flex: 0 0 72px; width: 72px; height: 72px; border-radius: 8px; object-fit: cover; }
  html body .site-series-component.site-series-component.site-series-component.site-series-component :is(.mf-series-timeline,.news-edition-timeline) h3 { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; margin: 0; font-size: 14px; line-height: 22px; font-weight: 500; }
  html body .site-series-component.site-series-component.site-series-component.site-series-component :is(.mf-series-timeline,.news-edition-timeline) small { display: block; margin: 0; font-size: 12px; line-height: 18px; color: #888; }
}
/* 모바일과 PC에서 공유하는 로그인·알림 카드 */
html body[class] .site-login-card.site-login-card { box-sizing: border-box; padding: var(--login-card-padding, 32px 18px 28px); border: var(--login-card-border, 1px solid #ddd); border-radius: var(--login-card-radius, 16px); background: var(--login-card-background, #fff); text-align: center; }
html body[class] .site-login-card :is(.community-login-logo,.article-paper-logo) { display: block; width: 140px; height: auto; margin: 0 auto 28px; }
html body[class] .site-login-card :is(h2,h3) { margin: var(--login-heading-margin, 0 0 8px); font-size: var(--login-heading-size, 18px); line-height: var(--login-heading-line, 1.5); color: var(--login-heading-color, #20262e); }
html body[class] .site-login-card > p { margin: 0 0 24px; font-size: var(--login-copy-size, 14px); line-height: var(--login-copy-line, 1.6); }
html body[class] .site-login-bubble { display: table; position: relative; margin: 24px auto 16px; padding: 8px 14px; border-radius: 24px; background: #191919; color: #fff; font-size: 14px; line-height: 20px; }
html body[class] .site-login-bubble::after { content: ''; position: absolute; bottom: -5px; left: calc(50% - 5px); border: 5px solid transparent; border-bottom: 0; border-top-color: #191919; }
html body[class] .site-login-card .social-login.kakao { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: var(--login-button-height, 52px); margin: 0; padding: 10px 12px; border: 0; border-radius: var(--login-button-radius, 8px); background: #ffe500; color: #191919; font-size: var(--login-button-size, 18px); font-weight: 700; }
html body[class] .site-login-card .social-login img { width: 24px; height: 24px; object-fit: contain; }
html body[class] .community-alert { border-radius: var(--radius-mobile-8, 0px); overflow: hidden; background: #fcf3f3; }
html body[class] .community-alert h2 { font-size: 20px; line-height: 1.5; }
html body[class] .community-alert button { background: var(--main-color1); font-size: 14px; }
/* 게시판 상태 배지: 모든 화면에서 같은 크기, BEST는 진한 빨강, VS는 밝은 빨강으로 구분 */
html body.page-community[class] :is(.post-badge,.community-vs-tag,.post-poll-badge,.community-related-vs) { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; padding: 1px 5px; border: 1px solid; border-radius: var(--radius-mobile-3, 0px); font-size: 12px; font-weight: 500; line-height: 16px; vertical-align: middle; }
html body.page-community[class] .post-badge.best { color: #a81822; border-color: #a81822; background: #fff3f4; }
html body.page-community[class] .post-badge.new { color: #007aff; border-color: #007aff; background: #f0f6ff; }
html body.page-community[class] :is(.community-vs-tag,.post-poll-badge,.community-related-vs) { color: #ed4552; border-color: #ff8992; background: #fff1f2; }

/* 메인 카드와 같은 화살표. 홈의 스타일·동작은 변경하지 않음. */
@media (max-width: 1024px) {
  body:not(.page-main) .site-series-component .mf-chevron svg { fill: none; stroke: currentColor; stroke-width: 1.5; transform: rotate(90deg); }
}
@media (max-width: 1024px) { body:not(.page-main) .mf-series-item { letter-spacing: -.3px; } }




/* 2026-11-27: mobile QA requirements; desktop layout remains independent. */
@media(max-width:1024px) {
 html body[class] :is(main,#main) .article-lead-answer {font-size:16pt;line-height:30px;font-weight:700;color:#181c25;}
 html body[class] .article-heading {padding-top:20px;padding-bottom:20px;}
 html body.page-main .mf-news-row h3 {font-weight:700;}
 html body.page-community-post .post-header {border-bottom:1px solid #e5e7eb;padding-bottom:20px;}
 html body.page-community #community-board > :is(header,.section-title) {border-bottom:1px solid #e5e7eb;}
 html body.page-community-post.reference-mobile #post-body .post-vote.has-results .is-selected > strong::before {content:'';display:inline-block;width:7px;height:12px;min-width:7px;flex:0 0 7px;border:solid #666;border-width:0 3px 3px 0;border-radius:0;background:none;transform:rotate(45deg);margin:0 10px 3px 3px;}
 html body[class] dialog.mf-chat-sheet.login-modal.community-login-peek {inset:auto 0 0;margin:0 auto;width:100%;max-width:520px;max-height:75dvh;overflow:auto;border-radius:24px 24px 0 0;padding:28px 24px max(24px,env(safe-area-inset-bottom));}
 html body[class] .community-login-peek .mf-chat-logo {width:120px;margin:0 auto 20px;}
 html body[class] .community-login-peek h2 {font-size:20px;line-height:28px;}
 html body[class] .community-login-peek .mf-chat-handle {display:block;width:36px;height:4px;border-radius:4px;background:#ddd;margin: -16px auto 24px;}
 html body[class] button.floating-compose {overflow:visible!important;}
 .compose-tooltip {position:absolute;right:0;bottom:calc(100% + 8px);white-space:nowrap;background:#fff;color:#333;padding:8px 12px;border:1px solid #e5e5e5;border-radius:10px;font-size:12px;font-weight:500;line-height:18px;box-shadow:0 2px 10px #0001;animation:compose-tip-float 2.8s ease-in-out infinite;pointer-events:none;}
 .compose-tooltip::after {content:'';position:absolute;right:24px;bottom:-5px;width:8px;height:8px;background:#fff;border-right:1px solid #e5e5e5;border-bottom:1px solid #e5e5e5;transform:rotate(45deg);}
 html body[class][class][class][class] :is(.mf-poll-options,.poll-options) {display:grid;gap:8px;}
 html body[class][class][class][class] :is(.mf-poll-options,.poll-options) label {display:flex;align-items:center;gap:8px;min-height:44px;padding:10px 12px;border:1px solid transparent;border-radius:8px;background:#f5f6f8;color:#181c25;font-size:14px;line-height:22px;font-weight:500;}
 html body[class][class][class][class] :is(.mf-poll-options,.poll-options) label:has(input:checked) {border-color:#ff1725;background:#fff2f3;color:#be0012;font-weight:600;}
 html body[class][class][class][class] :is(.mf-poll-options,.poll-options) input {appearance:none;position:relative;order:2;margin:0 0 0 auto;flex:0 0 18px;width:18px;height:18px;border:1px solid #858585;border-radius:50%;background:#fff;}
 html body[class][class][class][class] :is(.mf-poll-options,.poll-options) input:checked {background:#ff1725;border-color:#ff1725;}
 html body[class][class][class][class] :is(.mf-poll-options,.poll-options) input:checked::after {content:'';position:absolute;left:5px;top:2px;width:5px;height:9px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg);}
 html body[class][class][class][class] :is(.mf-poll-actions,.poll-actions) {display:flex;gap:8px;margin-top:16px;}
 html body[class][class][class][class] :is(.mf-poll-actions,.poll-actions) > :is(a,button) {display:flex;align-items:center;justify-content:center;flex:1;min-height:42px;border-radius:8px;font-size:14px;font-weight:700;}
 html body.page-lotto .lotto-main {padding:24px 16px 40px;}
 html body.page-lotto .lotto-heading {margin:0 0 24px;text-align:center;}
 html body.page-lotto .lotto-heading h1 {font-size:26px;line-height:36px;margin:12px 0;}
 html body.page-lotto .lotto-card {padding:20px 18px;border:1px solid #f5d3d8;border-radius:24px;background:linear-gradient(160deg,#fff9fa,#fff);box-shadow:0 8px 24px #6e10280a;}
 html body.page-lotto .lotto-card .lotto-emblem {margin:24px auto;}
 html body.page-lotto .lotto-emblem strong {width:64px;height:64px;border:0;outline:0;background:#ffe7ec;font-size:38px;}
 html body.page-lotto :is(main,#main) .lotto-card h2 {font-size:20px;line-height:28px;}
 html body.page-lotto .lotto-card-description {font-size:14px;line-height:22px;}
 html body.page-lotto .lotto-balls {gap:6px;margin:24px 0 16px;}
 html body.page-lotto .lotto-balls > span {width:38px;height:38px;min-width:0;font-size:18px;box-shadow:none;}
 html body.page-lotto .lotto-message {font-size:12px;line-height:20px;margin:12px 0 24px;}
 html body.page-lotto .lotto-actions {margin-top:24px;}
 html body.page-lotto .lotto-draw {min-height:48px;border-radius:12px;font-size:16px;}
 html body[class] .member-notification-open {font-size:12px;font-weight:400;color:#888;background:none;border:0;padding:8px;}
}
.compose-tooltip {pointer-events:none;}
@media(min-width:1025px){.compose-tooltip{display:none;}}
.member-notification-dialog {width:min(440px,calc(100% - 32px));max-height:85dvh;overflow:auto;margin:auto;padding:24px;border:1px solid #eee;border-radius:20px;color:#181c25;background:#fff;}
.member-notification-dialog::backdrop {background:#0006;}
.member-notification-dialog header {display:flex;align-items:center;justify-content:space-between;}
.member-notification-dialog h2 {font-size:20px;margin:0;}
.member-notification-dialog header button {font-size:26px;border:0;background:none;padding:4px 8px;}
.member-notification-dialog p {font-size:14px;line-height:22px;margin:16px 0;color:#777;}
.member-notification-dialog label {display:flex;align-items:center;justify-content:space-between;min-height:60px;border-bottom:1px solid #eee;font-size:16px;}
.member-notification-dialog input {appearance:none;width:44px;height:26px;padding:3px;border:0;border-radius:20px;background:#e0e0e0;cursor:pointer;transition:background .2s;}
.member-notification-dialog input::before {content:'';display:block;width:20px;height:20px;border-radius:50%;background:white;box-shadow:0 1px 3px #0002;transition:transform .2s;}
.member-notification-dialog input:checked {background:#8c9198;}
.member-notification-dialog input:checked::before {transform:translateX(18px);}
.member-notification-dialog .notification-save {width:100%;min-height:44px;border:0;border-radius:8px;background:#ff1725;color:#fff;font-weight:700;}
@keyframes compose-tip-float {0%,100%{transform:translateY(0)}50%{transform:translateY(-3px)}}
@media(prefers-reduced-motion:reduce){.compose-tooltip{animation:none;}.member-notification-dialog input,.member-notification-dialog input::before{transition:none;}}
@media(max-width:1024px){
 html body.page-community-post.reference-mobile[class] .post-header {border-bottom:1px solid #e5e7eb;padding-bottom:20px;}
 html body[class][class] .article-heading {padding-top:20px;padding-bottom:20px;}
 .write-file-menu {position:fixed;inset:auto 16px auto auto;margin:0;width:220px;padding:8px;border:1px solid #eee;border-radius:12px;box-shadow:0 8px 28px #0002;}
 .write-file-menu::backdrop {background:transparent;}
 .write-file-menu button {display:block;width:100%;min-height:44px;background:white;border:0;text-align:left;padding:10px 12px;font-size:14px;}
 .write-file-menu button:first-child {color:#ff1725;font-weight:700;}
}

