/* HAN B: reusable roles, white canvas and a sparrow-led daily moment. */
:root{
 --primary:#c2541a;--primary-soft:#fff1e6;--primary-ink:#a8460f;--primary-line:#f3d3bd;
 --secondary:#5e230f;--secondary-soft:#f6ede8;--secondary-ink:#411709;--secondary-line:#e4d2c9;
 --danger:#d71932;--danger-soft:#ffe9ed;--danger-ink:#b61228;--danger-line:#f1c9ce;
 --blue:var(--secondary);--blue-soft:var(--secondary-soft);--red:var(--primary);--red-soft:var(--primary-soft);
 --ink:#17191f;--muted:#626873;--line:#e5e9ef;--paper:#fff;--card:#fff;--soft:#f5f7fb;
 --accent:var(--primary);--accent-soft:var(--primary-soft);--accent-ink:var(--primary-ink);--amber:#fff;
 --space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-5:24px;--space-6:32px;
 --btn-h:48px;--radius-tag:6px;--radius-control:12px;--radius-card:16px;--radius-feature:16px;--radius:var(--radius-card);
 /* 글자 체계(2026-11-05 확정): 크기 역할 7개, 굵기 3단계, 자간은 제목만 음수(일본어 0), 행간 역할별. 글자 크기 기능(--han-type-scale)을 쓰는 calc 값과 함께 동작 */
 --text-title:max(22px,.97rem);--text-section:max(19px,.84rem);--text-detail:max(20px,.95rem);--text-card:max(17px,.75rem);--text-body:max(16px,.71rem);
 --text-control:max(15px,.66rem);--text-meta:max(13px,.57rem);--text-small:max(12px,.53rem);
 --w-regular:400;--w-strong:600;--w-bold:700;--track-tight:-0.02em;--track-snug:-0.01em;
 --lh-title:1.3;--lh-section:1.35;--lh-card:1.4;--lh-body:1.55;--lh-meta:1.45;--space-section:20px;
}
body{color:var(--ink)}main{padding:0 24px 112px}h1{font-size:var(--text-title)}h2,h3{font-size:var(--text-section)}
.wordmark{display:inline-flex;align-items:center;line-height:0;font-size:0}.wordmark img{display:block;width:auto;height:30px;max-width:none}
.header-title{font-size:var(--text-title);font-weight:var(--w-bold)}.header-start{min-width:0}.header-actions{gap:0}.header-start .city{font-size:var(--text-control);min-width:0;max-width:190px}.city-name{overflow-wrap:anywhere}
.iconbtn{width:44px;height:44px}@media(hover:hover) and (pointer:fine){.iconbtn:hover{background:var(--soft)}}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid var(--blue);outline-offset:3px}
.primary,.secondary,.message-form button{border-radius:var(--radius-control);font-size:var(--text-control);font-weight:var(--w-strong);min-height:var(--btn-h);padding:11px 16px;white-space:normal}.primary{color:#fff}@media(hover:hover) and (pointer:fine){.primary:hover{background:var(--accent-ink)}}.secondary{color:var(--ink);border-color:var(--line)}
.button-row{flex-wrap:wrap;gap:12px}.button-row>*{min-width:min(100%,140px)}.textbtn{font-size:var(--text-meta);min-height:44px}
.body-copy,.shared-body{font-size:var(--text-body);line-height:1.8;overflow-wrap:anywhere}.stack label{font-size:var(--text-control)}.stack input,.stack select,.stack textarea{font-size:var(--text-body);border-radius:var(--radius-control)}
.fieldhelp,.meta,.section-sub,.list-intro p,.note,.minilabel{font-size:var(--text-meta);line-height:1.7}.tag,.ad-label{font-size:var(--text-small);line-height:1.5}.tag{border-radius:var(--radius-tag);padding:3px 7px}.tag-row{gap:6px;flex-wrap:wrap}
/* 글 카드 라벨은 알약 대신 한 줄 글자(게시판 이름만 강조). 모임 카드·중고·상세 배지는 알약 그대로 */
.feed .tag-row,.dg-story .tag-row{gap:0}.feed .tag-row .tag,.dg-story .tag-row .tag{background:none;padding:0;color:var(--muted);font-weight:var(--w-regular)}.feed .tag-row .tag+.tag::before,.dg-story .tag-row .tag+.tag::before{content:"·";margin:0 6px;color:#9aa0a8}.feed .tag-row .tag:first-child,.dg-story .tag-row .tag:first-child{color:var(--accent-ink);font-weight:var(--w-strong)}
.section{margin-top:var(--space-5)}.dg-section{margin-top:var(--space-section)}.section-head,.dg-section-head{margin-bottom:var(--space-3);gap:12px}.section-head h2,.dg-section-head h2{font-size:var(--text-section);font-weight:var(--w-bold);line-height:var(--lh-section)}.section-head>*:first-child,.dg-section-head h2{min-width:0}.section-head>.textbtn,.dg-more{flex:none}
.feed{padding:16px 0;display:block;min-width:0}.feed h3{font-size:var(--text-card);font-weight:var(--w-strong);line-height:var(--lh-card);overflow-wrap:anywhere}.list-card h3,.meet-card h3{font-size:var(--text-card);font-weight:var(--w-strong);line-height:var(--lh-card);overflow-wrap:anywhere}.feed p,.list-card p,.meet-card p{font-size:var(--text-body);line-height:var(--lh-body)}.feed p{margin-bottom:8px}.feed .meta{font-size:var(--text-meta)}.list-card{border-radius:0;border-width:0 0 1px;padding:18px 0}
.product h3,.dg-product h3{font-size:var(--text-card);line-height:var(--lh-card);white-space:normal;overflow-wrap:anywhere;font-weight:var(--w-strong)}.product .price{font-size:var(--text-section)}.product .meta{font-size:var(--text-meta)}.product-cover,.dg-product-art{border-radius:var(--radius-card)}
.service,.flow-list-card,.flow-admin-row,.flow-choice{border-radius:var(--radius-card)}.service>.icon,.menu-row>.icon:first-child,.meet-art,.quote-service-icon,.flow-empty-icon{color:var(--blue)}.avatar{border-radius:50%;background:var(--blue-soft);color:var(--blue)}
.tabs{gap:20px;margin:0 0 12px}.tabs button{font-size:var(--text-control);min-height:48px;padding:8px 0}.chips{gap:8px;margin:12px 0;padding:2px 2px 4px}.chip{min-height:44px;border-radius:var(--radius-control);font-size:var(--text-control);padding:8px 12px}.list-head{margin:8px 0 12px;font-size:var(--text-meta);flex-wrap:wrap;gap:8px}
.community-filter-bar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:4px 0 8px}.community-stage-filter{display:inline-flex;align-items:center;gap:6px;min-height:44px;border:1px solid var(--line);border-radius:var(--radius-control);padding:8px 12px;font-size:var(--text-control)}.community-stage-filter .icon{width:17px;height:17px}.community-stage-filter.is-selected{border-color:var(--category-line);background:var(--category-soft);color:var(--category-strong)}.community-filter-reset{font-size:var(--text-meta);min-height:44px}.stage-options{display:flex;flex-wrap:wrap;gap:8px}.stage-options .chip{white-space:normal}
.empty{padding:24px 8px}.empty img{width:96px;height:96px}.empty h3{font-size:var(--text-card)}.empty p{font-size:var(--text-body);line-height:1.7}.city-start{border:1px solid var(--line);border-radius:var(--radius-card);padding:24px 20px}.city-start img{width:112px;height:112px}.city-start h2{font-size:var(--text-section)}.city-start p{font-size:var(--text-body)}
.settings-danger,[data-action="delete-question-confirm"],[data-action="shared-delete"],[data-action="delete-question-comment"],[data-action="shop-review-delete"],[data-action="account-withdraw"],[data-action="shared-report"],[data-action="shared-chat-report"],[data-action="shared-block-confirm"],[data-action="user-report"],[data-action="shop-review-report"],[data-action="social-block-confirm"],[data-action="report"]:not(.primary){color:var(--danger-ink)!important}
#toast{font-size:var(--text-control);line-height:1.5;border-radius:var(--radius-control);display:flex;align-items:center;gap:10px;max-width:calc(100% - 32px)}.toast-hani{width:40px;height:40px;object-fit:contain;flex:none;animation:hani-hello .18s ease-out}.toast-message{overflow-wrap:anywhere}@keyframes hani-hello{from{transform:translateY(6px);opacity:0}to{transform:translateY(0);opacity:1}}
/* Compact speech bubble; long text grows the card naturally. */
.dg-greeting{padding:0 0 16px}.dg-greeting p{font-size:var(--text-meta);color:var(--muted)}.dg-greeting strong{color:var(--ink);font-weight:var(--w-strong)}
.dg-daily{position:relative;background:#f7f8fa;border:0;border-radius:var(--radius-feature);padding:12px 16px 14px;overflow:visible}.dg-daily:after{content:'';position:absolute;right:24px;bottom:-6px;width:10px;height:10px;background:#f7f8fa;transform:rotate(45deg)}
.dg-daily-top{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:32px;padding-right:56px}.dg-daily-top>div{display:flex;flex-wrap:wrap;gap:4px 10px;align-items:center;min-width:0}.dg-eyebrow{font-size:var(--text-meta);font-weight:var(--w-bold);color:var(--blue)}.dg-situation{font-size:var(--text-small);color:var(--secondary-ink)}.dg-settings{position:absolute;right:2px;top:0;color:var(--muted);z-index:2}.dg-mascot{position:absolute;top:36px;right:12px;width:64px;height:64px;object-fit:contain;pointer-events:none}
.dg-phrase{padding:8px 62px 0 0}.dg-phrase>.jp-text{font-size:max(20px,.95rem);line-height:1.5;font-weight:var(--w-bold);letter-spacing:0;overflow-wrap:anywhere}.dg-meaning{font-size:var(--text-body);line-height:1.55;font-weight:var(--w-strong);margin-top:5px;overflow-wrap:anywhere}
.dg-daily-actions{display:flex;align-items:center;flex-wrap:wrap;gap:4px 12px;margin-top:12px}.dg-listen{display:inline-flex;align-items:center;justify-content:center;gap:7px;background:var(--blue);color:#fff;min-height:44px;padding:9px 16px;border-radius:var(--radius-control);font-size:var(--text-control);font-weight:var(--w-bold)}.dg-detail{display:inline-flex;align-items:center;gap:5px;min-height:44px;padding:7px 0;font-size:var(--text-meta);color:var(--secondary-ink)}
.dg-paths{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:20px 0 0;padding:0 0 16px;border-bottom:1px solid var(--line)}.dg-path{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:7px;padding:0;min-width:0;font-size:var(--text-meta);font-weight:var(--w-strong);line-height:1.4;white-space:normal;text-align:center}.dg-path-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:var(--radius-control);background:var(--soft);color:var(--blue)}.dg-path-icon .icon{width:22px;height:22px}
.dg-section-head{display:flex;align-items:center;justify-content:space-between}.dg-section-head h2{display:flex;align-items:center;gap:6px}.dg-blue-dot{width:5px;height:5px;border-radius:50%;flex:none;background:var(--category-color)}.dg-more{display:flex;align-items:center;gap:2px;min-height:44px;font-size:var(--text-meta);padding:0;color:var(--muted);white-space:nowrap}.dg-more .icon{width:14px;height:14px}.dg-neighbors .feed:first-of-type{padding-top:0}.dg-neighbors .feed:last-child{border-bottom:0}
.dg-products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.dg-product{text-align:left;min-width:0;padding:0}.dg-product-art{aspect-ratio:1.3;overflow:hidden;background:var(--soft);position:relative}.dg-product-art>svg,.dg-product-art>img{width:100%;height:100%;display:block;object-fit:cover}.dg-free{position:absolute;bottom:8px;left:8px;background:#fff;border-radius:var(--radius-tag);padding:3px 7px;font-size:var(--text-small);font-weight:var(--w-bold);color:var(--primary-ink)}.dg-product h3{margin-top:10px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.dg-product>p{font-size:var(--text-meta);color:var(--muted);line-height:1.6;margin-top:4px}
.dg-empty{border-radius:var(--radius-card);background:var(--soft);padding:16px;font-size:var(--text-body)}.dg-empty .textbtn{padding:8px 0 0}.dg-bottom-note{text-align:center;font-size:var(--text-meta);color:var(--muted);margin:28px 0 12px;line-height:1.8}.dg-bottom-note span{display:block;font-size:var(--text-small)}
.dg-start-guide{margin-top:20px}.dg-guide-link{width:100%;display:flex;align-items:center;gap:12px;text-align:left;border:1px solid var(--line);border-radius:var(--radius-card);padding:16px}.dg-guide-link>span{flex:1;min-width:0}.dg-guide-link strong{display:block;font-size:var(--text-body)}.dg-guide-link small{display:block;font-size:var(--text-meta);color:var(--muted);margin-top:4px}
/* Other user-selected modules retain their actions. */
.daily-card{border-radius:var(--radius-feature);border-color:var(--line);padding:16px;min-height:0}.daily-heading h2{font-size:var(--text-section)}.daily-card .daily-content{padding-right:0}.daily-card .daily-hani{display:none}.daily-card h3{font-size:var(--text-card)}.daily-tip-copy{font-size:var(--text-body)}.daily-card .daily-heading>div>span{display:none}.japanese-audio-button{border-radius:var(--radius-control);font-size:var(--text-control)}.japanese-audio-note{font-size:var(--text-meta)}.daily-meaning{font-size:var(--text-body)}.jp-reading{font-size:var(--text-meta)}
/* Ongoing activity first, low-frequency tools on demand. */
.profile-entry{border:0;padding:8px 0 20px;border-radius:0}.profile-entry .avatar.large{width:60px;height:60px;background:#fff}.profile-entry .avatar.large>img{width:100%;height:100%;object-fit:contain}.profile-summary strong{font-size:var(--text-title)}.profile-summary>span,.profile-summary small{font-size:var(--text-meta);line-height:1.6}.my-shortcuts{border:1px solid var(--line);background:#fff;border-radius:var(--radius-card);padding:12px 0;margin:0 0 24px}.my-shortcuts button{min-width:0;min-height:76px}.my-shortcuts b{font-size:var(--text-section)}.my-shortcuts span{font-size:var(--text-meta);white-space:normal}
.my-group{border:0;border-radius:0;padding:0;margin:var(--space-6) 0 0}.my-group>h3{font-size:var(--text-section);font-weight:var(--w-bold);margin-bottom:8px;color:var(--ink)}.my-group .menu-row{min-height:56px;padding:12px 0;gap:12px}.my-group .menu-row>span{font-size:var(--text-body);min-width:0}.my-group .menu-row>small{font-size:var(--text-meta);max-width:40%;overflow-wrap:anywhere}.menu-row{font-size:var(--text-body)}
.my-secondary{margin:24px 0;border-top:1px solid var(--line)}.my-secondary summary{display:flex;align-items:center;gap:8px;cursor:pointer;min-height:56px;font-size:var(--text-body);font-weight:var(--w-strong);list-style:none}.my-secondary summary::-webkit-details-marker{display:none}.my-secondary summary .icon{margin-left:auto;transition:transform .18s}.my-secondary[open] summary .icon{transform:rotate(180deg)}.my-secondary>.my-group{margin-top:8px}
/* Map result list has three usable, consistent sizes. */
.map-toolbar{padding:8px 16px 4px}.map-search,.map-view-toggle{border-radius:var(--radius-control);font-size:var(--text-control)}.map-filter-row{gap:8px}.map-filter-row .map-filter{font-size:var(--text-control);border-radius:var(--radius-control);min-height:44px}.map-filters-toggle,.map-filters-toggle span{font-size:var(--text-meta)}
.map-results-sheet{border-radius:var(--radius-card) var(--radius-card) 0 0;height:96px}.map-results-sheet[data-snap="1"]{height:42%}.map-results-sheet[data-snap="2"]{height:92%}.map-sheet-handle{min-height:32px}.map-sheet-heading{padding:0 16px 12px;gap:12px}.map-sheet-heading h2{font-size:var(--text-body)}.map-sheet-heading h2>span,.map-sheet-heading p{font-size:var(--text-meta)}.map-result-copy strong{font-size:var(--text-body)}.map-result-kicker,.map-result-copy>span,.map-results-note{font-size:var(--text-meta)}.map-result-open,.map-result-copy{min-width:0}.map-thumb{border-radius:var(--radius-control)}
.map-stage:has(.map-results-sheet) .map-recenter{bottom:108px}.map-stage[data-sheet-snap="1"] .map-recenter{bottom:calc(42% + 12px)}.map-stage[data-sheet-snap="2"] .map-recenter{bottom:calc(92% + 12px)}.map-shop-kind,.map-room-kind,.map-trade-radius{font-size:var(--text-control);border-radius:var(--radius-control)}.map-list-item strong{font-size:var(--text-section)}.map-list-item>span{font-size:var(--text-meta)}
/* Preserve the approved, unclipped onboarding mascot. */
.ob-stage-icon,.ob-friendly .ob-stage-icon{background:var(--blue-soft);color:var(--blue)}.ob-friendly .ob-stage-1 .ob-stage-icon{background:var(--primary-soft);color:var(--primary-ink)}.ob-stage input:checked+.ob-stage-box,.ob-friendly .ob-stage input:checked+.ob-stage-box{border-color:var(--blue);background:var(--secondary-soft)}.ob-friendly .ob-stage input:checked+.ob-stage-box .ob-choice-check{background:var(--blue);border-color:var(--blue);color:#fff}
.intro-eyebrow{color:var(--blue)}.intro-labels>span{background:var(--blue-soft);color:var(--blue)}.intro-labels>span:nth-child(2){background:var(--primary-soft);color:var(--primary-ink)}.intro-bubble,.intro-bubble:after,.ob-bubble,.ob-bubble:before{border-color:var(--secondary-line)}.intro-pagination [aria-current] span{background:var(--primary)}.rail nav button.active{background:#f0f2f5;color:var(--ink);border-radius:var(--radius-control)}
@media(max-width:767px){
 header{padding:12px 20px;height:76px}header .wordmark{font-size:0}.header-start .city{max-width:172px}#main,#main[data-route=home]{padding:0 20px 112px}.tabs{top:76px}
 #bottom-nav{border-radius:20px 20px 0 0;border-top:1px solid var(--line);padding:8px 4px max(8px,env(safe-area-inset-bottom));background:#fff}#bottom-nav button{min-height:56px;font-size:var(--text-small);min-width:0;padding:4px 1px}#bottom-nav button.active{border-radius:var(--radius-control)}#bottom-nav .icon{width:23px;height:23px}
 .write{border-radius:50%;width:52px;height:52px;min-width:52px;padding:0;justify-content:center;box-shadow:0 4px 14px #17191f18}.write-label{display:none}.map-shell{min-height:max(460px,calc(var(--map-toolbar-height,168px) + 280px))}.map-stage{flex:1 0 280px}
}
@media(max-width:359px){#main,#main[data-route=home]{padding-left:16px;padding-right:16px}header{padding-left:16px;padding-right:16px}.header-start .city{max-width:144px}.dg-phrase{padding-right:54px}.dg-mascot{width:56px;height:56px;right:10px}.dg-paths{gap:4px}.dg-path{font-size:var(--text-small)}.dg-section-head{gap:6px}.dg-section-head h2{font-size:var(--text-section)}}
@media(prefers-reduced-motion:reduce){.toast-hani{animation:none}.my-secondary summary .icon,.map-results-sheet{transition:none}}

/* Empty inboxes center within the content area, excluding mobile navigation. */
.app:has(#main[data-route="chats"]>.chat-inbox-empty){display:flex;flex-direction:column;min-height:100dvh}
.app:has(#main[data-route="chats"]>.chat-inbox-empty)>header{flex:none;margin-bottom:0}
#main[data-route="chats"]:has(>.chat-inbox-empty){flex:1;display:flex;flex-direction:column;justify-content:center;padding-top:24px;padding-bottom:24px}
.chat-inbox-empty{width:100%;max-width:400px;margin:0 auto;text-align:center}
.chat-empty-copy{display:flex;flex-direction:column;align-items:center;gap:16px}
.chat-empty-copy h2{font-size:var(--text-section);line-height:var(--lh-section);text-wrap:balance}
.chat-empty-copy p{max-width:340px;font-size:var(--text-body);line-height:1.7;color:var(--muted);text-wrap:pretty}
.chat-empty-copy>.primary,.chat-empty-copy>.secondary{width:min(100%,320px);margin-top:8px}
.chat-inbox-example>.list-intro{padding-top:0}
@media(max-width:767px){#main[data-route="chats"]:has(>.chat-inbox-empty){padding-bottom:calc(24px + 73px + env(safe-area-inset-bottom))}}

/* Provider marks keep their own identity within the shared login layout. */
.oauth-options .oauth-button{display:flex;align-items:center;justify-content:center;gap:12px;min-height:48px;padding:12px 16px}
.oauth-button .oauth-logo{display:block;width:20px;height:20px;object-fit:contain;flex:0 0 20px}
.oauth-button>span{min-width:0;line-height:1.5;overflow-wrap:anywhere}
.oauth-options .oauth-google{background:#fff;border:1px solid #747775;color:#1f1f1f}
.oauth-options .oauth-kakao{background:#fee500;border:1px solid #fee500;color:#191919}
@media(hover:hover) and (pointer:fine){.oauth-options .oauth-google:not(:disabled):hover{background:#f8f9fa}}
@media(hover:hover) and (pointer:fine){.oauth-options .oauth-kakao:not(:disabled):hover{background:#f7df00}}

/* Quiet pronunciation aid, with readable contrast on white and pale blue. */
.jp-korean-reading{font-family:inherit;font-size:var(--text-meta,13px);font-weight:var(--w-regular);line-height:1.7;color:#626975;margin:5px 0 0;overflow-wrap:anywhere;word-break:keep-all}
.dg-phrase .jp-korean-reading{font-size:13px;margin:6px 0 0;letter-spacing:0}

/* Keep all existing stage shortcuts while surfacing meetups first. */
.dg-paths-five{grid-template-columns:repeat(5,minmax(0,1fr))}.dg-path{min-height:66px}.dg-path>span:last-child{overflow-wrap:break-word;word-break:keep-all}.dg-path:focus-visible{outline:3px solid var(--blue);outline-offset:4px;border-radius:var(--radius-tag)}

/* LINE official green; its unmodified icon is added after usage approval. */
.oauth-options .oauth-line{background:#06c755;border:1px solid #06c755;color:#fff;gap:0}
.oauth-options .oauth-line .oauth-logo{box-sizing:content-box;width:24px;height:24px;flex-basis:24px;padding:0 12px 0 0;margin-right:12px;border-right:1px solid #00000014}
.oauth-options .oauth-line>span{white-space:nowrap;padding-right:24px}
@media(hover:hover) and (pointer:fine){.oauth-options .oauth-line:not(:disabled):hover{background:#05b34d;border-color:#05b34d}}
.oauth-options .oauth-line:not(:disabled):active{background:#048b3c;border-color:#048b3c}
:is(#main,#sheet,.context.is-detail) .oauth-options button.oauth-line{color:#fff}
:is(#main,#sheet,.context.is-detail) .oauth-options button.oauth-line:disabled{background:#fff;border-color:#e5e5e599;color:#1e1e1e33;opacity:1}
.oauth-options .oauth-line:disabled .oauth-logo{filter:brightness(0);opacity:.2}

/* Photography-led service shelves retain HAN's navigation and quiet red accents. */
.services-page .list-intro{margin:12px 0 28px}.services-page .list-intro h1{font-size:var(--text-title);line-height:var(--lh-title);letter-spacing:var(--track-snug)}.services-page .list-intro p{font-size:14px;margin-top:8px;color:var(--muted)}
.services-page .directory-group{margin:0 0 30px}.service-shelf-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.service-shelf-heading h2{font-size:var(--text-section);line-height:var(--lh-section);letter-spacing:var(--track-snug)}.service-shelf-controls{display:flex;align-items:center;gap:4px;flex-shrink:0}.service-shelf-controls>span{font-size:12px;color:var(--muted);min-width:34px;text-align:center;font-variant-numeric:tabular-nums}.service-shelf-controls>button{display:grid;place-items:center;width:44px;height:44px;border-radius:50%}@media(hover:hover) and (pointer:fine){.service-shelf-controls>button:hover:not(:disabled){background:var(--soft)}}.service-shelf-controls .icon{width:16px;height:16px}.service-shelf-controls>button:disabled{opacity:.25}
.service-carousel{display:flex;gap:14px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-padding-inline:24px;margin:0 -24px;padding:4px 24px 10px;scrollbar-width:none;overflow-anchor:none}.service-carousel::-webkit-scrollbar{display:none}.service-card{display:flex;flex:0 0 205px;flex-direction:column;min-width:0;padding:0;text-align:left;background:#fff;border-radius:var(--radius-card);scroll-snap-align:start;border:1px solid #edf0f3;overflow:hidden}.service-carousel:after{content:"";flex:0 0 calc(100% - 219px)}.service-shelf-featured .service-carousel:after{flex-basis:max(30px,calc(100% - 374px))}.service-shelf-featured .service-card{flex-basis:calc(100% - 44px);max-width:360px}.service-card-photo{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;border-radius:var(--radius-card)}.service-shelf-featured .service-card-photo{aspect-ratio:4/2.7}.service-card-caption{display:flex;gap:10px;align-items:flex-start;padding:14px 12px 16px;flex:1}.service-card-caption>.icon{flex:0 0 21px;width:21px;height:21px;color:var(--primary);margin-top:2px}.service-card-copy{display:flex;flex:1;min-width:0;flex-direction:column;gap:5px}.service-card-copy>strong{font-size:var(--text-body);font-weight:var(--w-bold);line-height:1.45;letter-spacing:var(--track-snug)}.service-card-copy>span{font-size:var(--text-meta);line-height:1.65;font-weight:var(--w-regular);color:var(--muted);overflow-wrap:anywhere;word-break:keep-all}.service-shelf-featured .service-card-copy>span{font-size:var(--text-meta)}.service-card-arrow{display:grid;place-items:center;border:1px solid var(--line);border-radius:50%;width:27px;height:27px;flex-shrink:0}.service-card-arrow>.icon{width:14px;height:14px}.service-pagination{display:flex;justify-content:center;gap:0;margin-top:3px}.service-pagination>button{width:36px;min-height:44px;padding:0;display:grid;place-items:center}.service-pagination span{width:6px;height:6px;border-radius:50%;background:#d6d9de;transition:background .15s}.service-pagination [aria-current=true] span{background:var(--primary)}.service-image-note{font-size:12px;line-height:1.6;color:var(--muted);margin:6px 0 18px}.service-card:focus-visible{outline-offset:2px}.service-carousel:focus-visible{outline-offset:-3px}
@media(max-width:767px){.service-carousel{margin-inline:-20px;padding-inline:20px;scroll-padding-inline:20px}.service-shelf-controls>button{width:44px}.service-card-caption{gap:8px}.service-shelf-featured .service-card-arrow{width:29px;height:29px}}
@media(max-width:359px){.service-carousel{margin-inline:-16px;padding-inline:16px;scroll-padding-inline:16px}.service-shelf-featured .service-card{flex-basis:calc(100% - 36px)}.service-card-caption>.icon{flex-basis:18px;width:18px}.service-card-caption{padding:12px 10px}.service-card-arrow{display:none}}
@media(prefers-reduced-motion:reduce){.service-pagination span{transition:none}}

.community-filter-button{display:grid;place-items:center;width:44px;height:44px;border:1px solid var(--line);border-radius:12px;background:var(--surface,#fff)}
.community-filter-button.is-selected{border-color:var(--category-line);background:var(--category-soft);color:var(--category-strong)}
.community-filter-options{margin:8px 0 16px;padding:16px;border:1px solid var(--line);border-radius:var(--radius-card);background:var(--surface,#fff)}
.community-filter-options h3{margin:0 0 10px;font-size:var(--text-control)}
.community-filter-options h3:not(:first-child){margin-top:20px}
.community-filter-options .stage-options{gap:8px}
.community-filter-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin-top:14px}

.community-filter-bar{flex-wrap:nowrap;gap:12px;margin:8px 0 12px}.community-filter-bar .community-filter-button{flex:0 0 44px}.community-result-count{flex:1;min-width:0;font-size:var(--text-meta);color:var(--muted);white-space:nowrap}.community-filter-bar>.textbtn{flex-shrink:0;white-space:nowrap}

.dg-section-head .dg-title-link{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0;text-align:left;font:inherit;line-height:inherit}.dg-title-link:focus-visible{border-radius:5px}

/* Keep all six everyday services visible without swiping. */
.service-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.service-grid .service-card{max-width:none;width:100%;box-shadow:none;border-radius:var(--radius-control)}
.service-grid .service-card-photo{aspect-ratio:3/2;border-radius:var(--radius-control) var(--radius-control) 0 0}
.service-grid .service-card-caption{padding:10px 6px;justify-content:center;text-align:center}
.service-grid .service-card-caption>.icon,.service-grid .service-card-copy>span,.service-grid .service-card-arrow{display:none}
.service-grid .service-card-copy>strong{font-size:var(--text-meta);word-break:keep-all}
.home-services-entry{grid-column:1/-1;margin:0 0 20px;width:100%;display:flex;gap:12px;align-items:center}
.home-services-button{display:flex;justify-content:space-between;align-items:center;gap:16px;width:100%;min-height:76px;padding:16px 20px;border:1px solid var(--line);border-radius:var(--radius-card);background:var(--blue-soft);text-align:left}
.home-services-button>span{display:flex;flex-direction:column;gap:5px}.home-services-button strong{font-size:var(--text-section)}.home-services-button small{font-size:var(--text-meta);color:var(--muted)}.home-services-button>.icon{color:var(--blue);flex-shrink:0}
.service-preparation-entry{display:flex;justify-content:space-between;align-items:center;width:100%;min-height:56px;margin:0 0 20px;padding:14px;border:1px solid var(--line);border-radius:var(--radius-control)}.service-preparation-entry>span{display:flex;align-items:center;gap:10px}
.feed-city-scope{padding:0;border:0;background:transparent;margin:0 0 12px}.feed-city-scope summary{font-size:var(--text-meta);color:var(--muted);cursor:pointer;min-height:44px;display:flex;align-items:center;gap:8px}
.header-start{flex-wrap:nowrap;gap:4px 8px;flex:1}.header-start .city{flex:0 100 auto;min-width:calc(var(--city-min,3em) + var(--city-icon,calc(.85em + 5px)));font-size:var(--text-card);max-width:min(190px,100%);min-height:40px;padding:4px 0;background:transparent}.header-start .city-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:var(--w-strong);min-width:2em}.header-start .city>.icon{width:.85em;height:.85em}.header-start .header-title{display:block;font-size:var(--text-title);line-height:var(--lh-title);white-space:nowrap;flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis}
/* 탭 최상단 제목은 섹션 제목(홈 생활 서비스) 이상. 제목이 없는 지도 상단은 도시 이름이 그 자리라 같은 크기 */
.header-start:not(:has(.header-title,.wordmark)) .city-name{font-size:var(--text-title);font-weight:var(--w-bold)}
/* 폭 360px 이하(작은 폰): 긴 상단 제목은 짧은 이름으로(긴 이름은 화면 밖 텍스트로 남아 접근성 이름 유지), 화살표는 숨김, 제목 크기는 그대로 */
@media(max-width:360px){.header-start .city>.icon{display:none}
/* 좁은 화면·큰 글자에서 제목(예: 중고·나눔)이 잘리지 않게 뒤로·제목·도시 사이 가로 간격만 줄입니다. */
.header-start{column-gap:4px}.header-start .city{--city-icon:0px}}
@media(max-width:359px){.service-grid{gap:8px}.service-grid .service-card-copy>strong{font-size:13px}.header-start .city{max-width:132px}.home-services-button{padding:14px}.home-services-button small{font-size:13px}}

/* 눌림 반응 (2026-11-04 UI 점검 1번). scale 속성은 기존 transform과 합쳐지므로 위치 지정을 깨지 않는다. */
:root{--ease-out:cubic-bezier(.23,1,.32,1);--ease-in-out:cubic-bezier(.77,0,.175,1);--ease-drawer:cubic-bezier(.32,.72,0,1);--press-duration:160ms}
:where(button,[role=button],summary){transition:scale var(--press-duration) var(--ease-out),background-color var(--press-duration) var(--ease-out)}
:where(button,[role=button]):where(:not(:disabled,[aria-disabled=true])):active{scale:.97}
:where(button,[role=button]):where(:has(>img,>h3,>div)):where(:not(:disabled,[aria-disabled=true])):active{scale:.985}
.list-card:active,.meet-card:active,.service-card:active,.dg-product:active,.flow-list-open:active,.home-services-button:active,.meetup-easy-link:active,.living-guide-topic:active{scale:.985}
.menu-row:active,.market-row:active,.feed:active,.living-guide-row:active,.living-guide-source:active,.living-guide-question:active,.living-guide-arrival-entry:active,.profile-entry:active,.service-preparation-entry:active,.expert-home-entry:active,summary:active{scale:1;background-color:var(--soft)}

/* 터치 영역 44px (2026-11-04 UI 점검 3번). 보이는 크기는 그대로 두고 ::after로 누를 수 있는 범위만 넓힌다. 학습 등급 세로 선택기는 스크롤 조작이라 제외. */
:where(.compose-extras .chip-choice,.compose-extras .life-topic-grid .check,.listing-tools .listing-tool,.wordmark,.header-start .city,.home-daily-tools .textbtn,.service-pagination button,.tabs button,.board-menu,.board-chip,.market-range-compact .textbtn,.living-guide-search button,.map-scope-toggle,.map-filter,.sheet-head .iconbtn,.sheet-head>.detail-tools .action-menu>summary,.social-author,.comment-actions .textbtn,.profile-details-link){position:relative}
:is(.compose-extras .chip-choice,.compose-extras .life-topic-grid .check,.listing-tools .listing-tool,.wordmark,.header-start .city,.home-daily-tools .textbtn,.service-pagination button,.tabs button,.board-menu,.board-chip,.market-range-compact .textbtn,.living-guide-search button,.map-scope-toggle,.map-filter,.sheet-head .iconbtn,.sheet-head>.detail-tools .action-menu>summary,.social-author,.comment-actions .textbtn,.profile-details-link)::after{content:"";position:absolute;top:min(0px,calc(50% - 22px));bottom:min(0px,calc(50% - 22px));left:min(0px,calc(50% - 22px));right:min(0px,calc(50% - 22px))}
.header-start.header-start .city::after{left:0;right:0}
/* 헤더 아이콘은 좌우가 붙어 있어 위아래로만 넓힌다. */
:where(.header-actions .iconbtn){position:relative}
.header-actions .iconbtn::after{content:"";position:absolute;left:0;right:0;top:min(0px,calc(50% - 22px));bottom:min(0px,calc(50% - 22px))}
/* 글쓰기 버튼이 떠 있는 화면은 마지막 내용이 버튼에 가리지 않게 아래 여백 확보 (2026-11-04 UI 점검 2차 5번) */
@media(max-width:767px){#main:has(>.write,>* .write){padding-bottom:calc(152px + env(safe-area-inset-bottom,0px))}}
