/* PC 헤더: 마이페이지 드롭다운 카드 · A.I 매칭 동의 팝업 (마이페이지메뉴_PC_변경안) */
.rt .account-menu #memberPanel{padding-top:14px}
.mm{position:relative;width:272px;padding:4px;border:1px solid #DCE3E0;border-radius:14px;background:#fff;box-shadow:0 18px 40px rgba(17,60,45,.16);font-family:Pretendard,'Noto Sans KR',sans-serif;color:#222;text-align:left;white-space:normal}
.mm::before{content:"";position:absolute;top:-7px;left:var(--cx,40px);width:12px;height:12px;border-left:1px solid #DCE3E0;border-top:1px solid #DCE3E0;background:#fff;transform:rotate(45deg)}
.mm a{color:inherit;text-decoration:none}
.rt .account-menu .mm{line-height:1.4;font-weight:400;letter-spacing:-.2px}
.rt .account-menu .mm li{float:none;display:block;min-height:0}
.rt .account-menu .mm a:hover,.rt .account-menu .mm a:focus{text-decoration:none}
.mm p,.mm ul{margin:0;padding:0;list-style:none}
.mm-me{display:flex;align-items:center;gap:10px;padding:12px 10px 10px}
.mm-av{display:block;flex:none;width:40px;height:40px;overflow:hidden;border-radius:50%;background:#E6F5EF}
.mm-av.logo{border-radius:10px;background:#F4F6F5}
.mm-av img{display:block;width:100%;height:100%;object-fit:cover}
.mm-who{flex:1;min-width:0}
.mm-who .nm .n{display:-webkit-box;min-width:0;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical;line-height:1.35;word-break:keep-all;overflow-wrap:anywhere}
.mm-who .nm small,.mm-who .nm .tag{flex:none;white-space:nowrap}
.mm-who .ph{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mm-who .nm{display:flex;align-items:center;gap:5px;font-size:17px;font-weight:700}
.mm-who .nm small{font-size:13px;font-weight:500;color:#6B7773}
.mm-who .tag{display:inline-flex;align-items:center;height:20px;padding:0 7px;border-radius:10px;background:#E6F5EF;color:#11654E;font-size:13px;font-weight:700}
.mm-who .ph{margin-top:2px;font-size:13px;color:#6B7773}
.mm-pt{display:flex;align-items:center;justify-content:space-between;margin:0 6px 4px;padding:8px 10px 8px 12px;border-radius:12px;background:#F2F8F5}
.mm-pt span{font-size:13px;color:#555}
.mm-pt b{margin-left:6px;font-size:17px;font-weight:800;color:#11654E}
.mm-pt a{display:inline-flex;align-items:center;height:28px;padding:0 10px;border-radius:14px;background:#1B9D7D;color:#fff;font-size:13px;font-weight:700}
.mm-list{padding:4px 0;border-top:1px solid #EEF1F0}
.mm-list a{display:flex;align-items:center;gap:8px;height:40px;padding:0 10px;border-radius:8px;font-size:15px;font-weight:600;color:#222;transition:background .12s}
.mm-list a:hover{background:#F2F8F5;color:#11654E}
.mm-list a span{flex:1}
.mm-list a svg{flex:none;width:16px;height:16px;color:#B5C0BB}
.mm-list a:hover svg{color:#1B9D7D}
.mm-ft{display:flex;border-top:1px solid #EEF1F0}
.mm-ft a{flex:1;display:flex;align-items:center;justify-content:center;height:40px;font-size:13px;font-weight:600;color:#6B7773}
.mm-ft a + a{border-left:1px solid #EEF1F0}
.mm-ft a:hover{color:#222}

#webAdConsentModal{position:fixed;inset:0;z-index:9999;display:none;align-items:center;justify-content:center;background:rgba(0,0,0,.45);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .3s,visibility .3s}
#webAdConsentModal.on{display:flex;opacity:1;visibility:visible;pointer-events:all}
body:has(#webAdConsentModal.on)>.layer-popup{z-index:10000}
#webAdConsentModal .ai-pop{position:relative;width:420px;max-width:calc(100% - 40px);overflow:hidden;border-radius:20px;background:#fff;box-shadow:0 24px 60px rgba(0,0,0,.25);font-family:Pretendard,'Noto Sans KR',sans-serif;color:#222;text-align:left}
#webAdConsentModal .ai-body{padding:32px 28px 8px}
#webAdConsentModal .ai-chip{display:inline-flex;align-items:center;height:30px;padding:0 12px;border-radius:15px;background:#1B9D7D;color:#fff;font-size:15px;font-weight:800}
#webAdConsentModal h3{margin:14px 0 0;font-size:21px;font-weight:800;line-height:1.4;letter-spacing:-.4px;word-break:keep-all}
#webAdConsentModal .ds{margin:8px 0 0;font-size:17px;line-height:1.55;color:#555;word-break:keep-all}
#webAdConsentModal .ai-pts{margin:18px 0 0;padding:14px 16px;border-radius:12px;background:#F2F8F5;list-style:none}
#webAdConsentModal .ai-pts li{display:flex;gap:8px;font-size:15px;line-height:1.5;color:#333}
#webAdConsentModal .ai-pts li + li{margin-top:6px}
#webAdConsentModal .ai-pts li::before{content:"";flex:none;width:6px;height:6px;margin-top:8px;border-radius:50%;background:#1B9D7D}
#webAdConsentModal .ai-ok{position:relative;display:flex;align-items:center;gap:10px;margin-top:20px;padding:14px 16px;border:1px solid #DCE3E0;border-radius:12px;cursor:pointer}
#webAdConsentModal .ai-ok input{position:absolute;width:1px;height:1px;opacity:0}
#webAdConsentModal .ai-ok i{display:flex;flex:none;width:24px;height:24px;align-items:center;justify-content:center;border:2px solid #C3CEC9;border-radius:7px;color:transparent}
#webAdConsentModal .ai-ok i svg{width:16px;height:16px}
#webAdConsentModal .ai-ok input:checked + i{border-color:#1B9D7D;background:#1B9D7D;color:#fff}
#webAdConsentModal .ai-ok span{flex:1;font-size:17px;font-weight:600}
#webAdConsentModal .ai-ok span small{margin-left:4px;font-size:15px;font-weight:500;color:#8A9591}
#webAdConsentModal .ai-help{margin:10px 2px 0;font-size:15px;line-height:1.5;color:#8A9591;word-break:keep-all}
#webAdConsentModal .ai-btns{display:flex;gap:10px;padding:20px 28px 28px}
#webAdConsentModal .ai-btns button{height:56px;border:0;border-radius:12px;font-family:inherit;font-size:17px;font-weight:700;cursor:pointer}
#webAdConsentModal .ai-btns .no{flex:0 0 34%;border:1px solid #D3DCD8;background:#fff;color:#444}
#webAdConsentModal .ai-btns .go{flex:1;background:#1B9D7D;color:#fff}
#webAdConsentModal .ai-btns .go:disabled{background:#C5CFCB;cursor:default}
/* 언어 선택: 국기+KO 버튼 하나, 누르면 아래로 언어 목록 */
.header-search-group .lang-switch.ls-wrap{position:relative;display:inline-flex;margin:0 0 0 16px;padding:0;border:0;border-radius:0;background:none}
.header-search-group .lang-switch.ls-wrap::before{display:none}
.header-search-group .ls-wrap .ls-btn{display:inline-flex;align-items:center;gap:6px;height:40px;padding:0 12px 0 14px;border:1px solid #DCE4E1;border-radius:999px;background:#fff;color:#333;font-family:inherit;cursor:pointer;transition:background-color 120ms ease,border-color 120ms ease}
.header-search-group .ls-wrap .ls-btn:hover,.header-search-group .ls-wrap .ls-btn[aria-expanded="true"]{background:#F1F5F3;border-color:#C9D6D1}
.header-search-group .ls-wrap .ls-btn:focus-visible{outline:2px solid #1B9D7D;outline-offset:2px}
.header-search-group .ls-wrap .ls-cur{display:none;font-size:15px;font-weight:700;line-height:1}
.header-search-group .lang-switch[data-lang="ko"] .ls-cur[data-v="ko"],.header-search-group .lang-switch[data-lang="zh"] .ls-cur[data-v="zh"]{display:inline-flex}
.header-search-group .ls-wrap .ls-code{flex:none;width:26px;font-size:15px;font-weight:700;color:#8A9591}
.header-search-group .ls-wrap .ls-caret{width:10px;height:10px;color:#888;transition:transform 180ms ease}
.header-search-group .ls-wrap .ls-btn[aria-expanded="true"] .ls-caret{transform:rotate(180deg)}
.header-search-group .ls-wrap .ls-menu{position:absolute;top:calc(100% + 6px);left:0;z-index:300;min-width:160px;padding:6px;border:1px solid #E1E8E5;border-radius:14px;background:#fff;box-shadow:0 10px 24px rgba(20,60,45,.16);transform-origin:top left;animation:ls-in 160ms cubic-bezier(.2,.8,.2,1)}
.header-search-group .ls-wrap .ls-menu[hidden]{display:none}
.header-search-group .lang-switch.ls-wrap .ls-menu .lang-switch-btn.ls-opt{display:flex;align-items:center;justify-content:flex-start;gap:10px;width:100%;min-width:0;height:42px;padding:0 10px;border:0;border-radius:10px;background:none;color:#222;font-family:inherit;line-height:1;text-align:left;cursor:pointer;transition:background-color 120ms ease}
.header-search-group .lang-switch.ls-wrap .ls-menu .lang-switch-btn.ls-opt:hover{background:#F4F7F6}
.header-search-group .lang-switch.ls-wrap .ls-menu .lang-switch-btn.ls-opt[aria-pressed="true"]{background:#EEF8F4}
.header-search-group .ls-wrap .ls-name{font-size:15px;font-weight:600;white-space:nowrap}
.header-search-group .ls-wrap .ls-opt[aria-pressed="true"] .ls-name{font-weight:800;color:#0B5E47}
.header-search-group .ls-wrap .ls-opt[aria-pressed="true"] .ls-code{color:#1B9D7D}
.header-search-group .ls-wrap .ls-check{width:18px;height:18px;margin-left:auto;color:#1B9D7D;opacity:0}
.header-search-group .ls-wrap .ls-opt[aria-pressed="true"] .ls-check{opacity:1}
@keyframes ls-in{from{opacity:0;transform:translateY(-4px) scale(.98)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.header-search-group .ls-wrap .ls-menu{animation:none}}
