/* 11/08 대표: 맨 위 메뉴줄을 모든 화면에서 '떠 있는 유리 막대'로(포트폴리오·로그인 등에서 쓰던 모양).
   아래로 내리면 조금 더 진해짐(html.hd-scrolled — member.js). 색 덩어리 배경 같은 건 안 넣음. */
.ad-head, .m-top { position: sticky; top: 0; z-index: 50; background: transparent !important; border-bottom: 0 !important; padding: 10px 16px 0; }
.ad-head > .ad-wrap, .m-top__in { border-radius: 22px; background: rgba(245, 250, 250, .8) !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.15); backdrop-filter: blur(18px) saturate(1.15);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .65) inset, 0 0 0 1px rgba(27, 58, 61, .07), 0 10px 30px -12px rgba(27, 58, 61, .25);
  padding-left: 22px !important; padding-right: 14px !important; transition: box-shadow .3s, background .3s; }
.hd-scrolled .ad-head > .ad-wrap, .hd-scrolled .m-top__in, .gl-scrolled .ad-head > .ad-wrap, .gl-scrolled .m-top__in {
  background: rgba(245, 250, 250, .9) !important; box-shadow: 0 0 0 1px rgba(255, 255, 255, .65) inset, 0 0 0 1px rgba(27, 58, 61, .07), 0 14px 34px -12px rgba(27, 58, 61, .34); }
/* 머리가 위에 붙어 있으니, 따라오는 옆 칸들은 그 아래에 */
.d-side { top: 92px !important; }
@media (max-width: 760px) { .ad-head, .m-top { padding: 8px 8px 0; } .ad-head > .ad-wrap, .m-top__in { border-radius: 18px; padding-left: 16px !important; padding-right: 10px !important; } }
/* 11/08 대표: 로그인 전 '이용 방법' 메뉴 위 작은 안내(member.js 가 넣음) */
a.has-first { display: inline-flex !important; flex-direction: column; align-items: center; justify-content: center; line-height: 1.15; }
.nav-first { display: block; margin-bottom: 2px; font-size: 10.5px; font-weight: 700; letter-spacing: -.01em; color: var(--color-terracotta, #208787); white-space: nowrap; animation: nav-first 2.8s ease-in-out infinite; }
@keyframes nav-first { 50% { transform: translateY(-2px); } }
.h-menu__panel a.has-first { align-items: flex-start; }
@media (prefers-reduced-motion: reduce) { .nav-first { animation: none; } }
/* 11/08 대표: '이용 방법' 글자는 다른 메뉴와 같은 높이 — 안내 문구는 위에 떠 있게 */
.ad-head__nav a.has-first, .m-nav a.has-first, .m-top a.has-first { position: relative; display: inline-flex !important; flex-direction: row; }
.ad-head__nav a.has-first .nav-first, .m-nav a.has-first .nav-first, .m-top a.has-first .nav-first { position: absolute; left: 50%; bottom: calc(100% - 13px); margin: 0; translate: 0 0; left: 0; }
/* 11/08 대표: 메뉴줄 다시 디자인 — 따라다니는 유리 알약(마우스 올린 메뉴), 지금 화면은 초록 막대, '일감 찾기' 알약, 처음 들어올 때 내려앉기 */
.ad-head__brand, .m-brand { transition: letter-spacing .35s cubic-bezier(.16,1,.3,1), color .2s; }
.ad-head__brand:hover, .m-brand:hover { letter-spacing: .02em; color: #1b3a3d; }
.ad-head__nav, .m-nav { position: relative; gap: 2px !important; align-items: center; }
.ad-head__nav > a, .m-nav > a { position: relative; z-index: 1; min-height: 40px; padding: 0 13px; border-radius: 999px; border-bottom: 0 !important;
  color: #3c4647; font-weight: 600; text-decoration: none !important; transition: color .2s; }
.ad-head__nav > a:hover, .m-nav > a:hover { color: #1b3a3d; }
.ad-head__nav > a::after, .m-nav > a::after { content: ''; position: absolute; left: 50%; bottom: 3px; width: 18px; height: 3px; margin-left: -9px; border-radius: 3px;
  background: linear-gradient(90deg, #588d93, #1b3a3d); transform: scaleX(0); opacity: 0; transition: transform .4s cubic-bezier(.16,1,.3,1), opacity .2s; }
.ad-head__nav > a[aria-current="page"], .m-nav > a[aria-current="page"] { color: #1b3a3d; font-weight: 800; }
.ad-head__nav > a[aria-current="page"]::after, .m-nav > a[aria-current="page"]::after { transform: scaleX(1); opacity: 1; }
.nav-ind { position: absolute; z-index: 0; left: 0; top: 50%; height: 40px; margin-top: -20px; width: 0; border-radius: 999px; pointer-events: none;
  background: rgba(255,255,255,.95); box-shadow: 0 0 0 1px rgba(27, 58, 61,.08), 0 6px 14px -8px rgba(27, 58, 61,.35); opacity: 0;
  transition: transform .38s cubic-bezier(.16,1,.3,1), width .38s cubic-bezier(.16,1,.3,1), opacity .2s; }
.nav-ind.is-on { opacity: 1; }
.nav-ind.is-jump { transition: opacity .2s; }
@media (hover: none) { .nav-ind { display: none; } }
/* '일감 찾기' 알약 */
.ad-head__nav > a.nav-cre, .m-nav > a.nav-cre { margin-left: 8px; padding: 0 16px 0 6px !important; gap: 8px; background: linear-gradient(135deg, #e7f2f3, #dbebed) !important; color: #1b3a3d !important; font-weight: 700;
  box-shadow: 0 0 0 1px rgba(27, 58, 61,.12), 0 1px 0 rgba(255,255,255,.9) inset !important; overflow: hidden; transition: background .25s, color .25s, box-shadow .25s, transform .25s; }
.ad-head__nav > a.nav-cre::after, .m-nav > a.nav-cre::after { display: none; }
.nav-cre svg { box-sizing: content-box; padding: 5px; border-radius: 50%; background: #1b3a3d; stroke: #eef1f1 !important; width: 15px !important; height: 15px !important; transition: transform .35s cubic-bezier(.3,1.5,.5,1), background .25s; }
.ad-head__nav > a.nav-cre::before, .m-nav > a.nav-cre::before { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.75) 50%, transparent 70%); transform: translateX(-120%); animation: nav-shine 6s ease-in-out 1.5s infinite; pointer-events: none; }
@keyframes nav-shine { 0%, 70% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
.ad-head__nav > a.nav-cre:hover, .m-nav > a.nav-cre:hover { background: #1b3a3d !important; color: #eef1f1 !important; transform: translateY(-1px); box-shadow: 0 8px 18px -8px rgba(27, 58, 61,.6) !important; }
.nav-cre:hover svg { background: #208787; transform: scale(1.12) rotate(-6deg); }
/* 마이페이지 단추도 유리로 */
.acct-btn { border: 0 !important; background: rgba(255,255,255,.78) !important; box-shadow: 0 0 0 1px rgba(27, 58, 61,.12), 0 4px 12px -4px rgba(27, 58, 61,.25); transition: background .2s, box-shadow .2s, transform .2s; }
.acct-btn:hover, .acct-btn[aria-expanded="true"] { background: #FAFAFA !important; box-shadow: 0 0 0 1.5px rgba(27, 58, 61,.3), 0 8px 18px -8px rgba(27, 58, 61,.45); transform: translateY(-1px); }
/* 처음 들어올 때(한 번만): 메뉴줄이 살짝 내려앉고 메뉴가 차례로 */
@media (prefers-reduced-motion: no-preference) {
  .hd-enter .ad-head > .ad-wrap, .hd-enter .m-top__in { animation: hd-drop .6s cubic-bezier(.16,1,.3,1) both; }
  .hd-enter .ad-head__nav > a, .hd-enter .m-nav > a, .hd-enter .acct > * { animation: hd-item .5s cubic-bezier(.16,1,.3,1) both; animation-delay: calc(.12s + var(--k, 0) * 45ms); }
}
@media (prefers-reduced-motion: reduce) { .nav-ind, .ad-head__nav > a::after, .m-nav > a::after { transition: none; } .ad-head__nav > a.nav-cre::before, .m-nav > a.nav-cre::before { animation: none; display: none; } }
@keyframes hd-drop { from { opacity: 0; transform: translateY(-14px); } }
@keyframes hd-item { from { opacity: 0; transform: translateY(-6px); } }
.ad-head__nav > a.has-first .nav-first, .m-nav > a.has-first .nav-first { left: 13px; bottom: calc(100% - 9px); }
@media (max-width: 760px) { .m-nav > a.has-first .nav-first { display: none; } }
/* 11/08 대표: 로그인 전 [로그인]·[회원가입] — 유리 알약 + 초록 알약(빛 스침), 아이콘 */
.acct > a.acct-login, .acct > a.acct-join { position: relative; display: inline-flex; align-items: center; gap: 7px; min-height: 42px; padding: 0 16px 0 13px; border: 0; border-radius: 999px;
  font-size: 15px; font-weight: 700; text-decoration: none; white-space: nowrap; overflow: hidden; transition: background .25s, color .25s, box-shadow .25s, transform .25s cubic-bezier(.16,1,.3,1); }
.acct > a.acct-login::before, .acct > a.acct-join::before { content: ''; flex: none; width: 17px; height: 17px; background: currentColor; transition: transform .35s cubic-bezier(.3,1.5,.5,1);
  -webkit-mask: var(--ac-ic) center / contain no-repeat; mask: var(--ac-ic) center / contain no-repeat; }
.acct > a.acct-login { --ac-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 12.5a4 4 0 1 0 0-8 4 4 0 0 0 0 8zM4.5 20c1.2-3.6 4-5.2 7.5-5.2s6.3 1.6 7.5 5.2'/%3E%3C/svg%3E");
  background: rgba(255,255,255,.8); color: #1b3a3d; box-shadow: 0 0 0 1px rgba(27, 58, 61,.16), 0 4px 12px -4px rgba(27, 58, 61,.25); }
.acct > a.acct-login:hover { background: #FAFAFA; transform: translateY(-1px); box-shadow: 0 0 0 1.5px rgba(27, 58, 61,.35), 0 8px 18px -8px rgba(27, 58, 61,.45); }
.acct > a.acct-login:hover::before { transform: scale(1.12); }
.acct > a.acct-join { --ac-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3.5l1.9 4.9 4.9 1.9-4.9 1.9-1.9 4.9-1.9-4.9-4.9-1.9 4.9-1.9z'/%3E%3Cpath d='M18.5 15.5l.8 2 2 .8-2 .8-.8 2-.8-2-2-.8 2-.8z'/%3E%3C/svg%3E");
  background: linear-gradient(135deg, #275257, #1b3a3d); color: #eef1f1; box-shadow: 0 8px 18px -8px rgba(27, 58, 61,.6), 0 1px 0 rgba(255,255,255,.18) inset; }
.acct > a.acct-join::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.4) 50%, transparent 70%); transform: translateX(-120%); animation: nav-shine 5s ease-in-out 1s infinite; pointer-events: none; }
.acct > a.acct-join:hover { background: linear-gradient(135deg, #2a9393, #208787); color: #fff; transform: translateY(-1px); box-shadow: 0 10px 22px -8px rgba(32, 135, 135,.6); }
.acct > a.acct-join:hover::before { transform: rotate(72deg) scale(1.15); }
.acct > a.acct-login:active, .acct > a.acct-join:active { transform: scale(.97); }
.acct > a.acct-login:focus-visible, .acct > a.acct-join:focus-visible { outline: 2px solid #1b3a3d; outline-offset: 3px; }
@media (max-width: 420px) { .acct > a.acct-login, .acct > a.acct-join { min-height: 40px; padding: 0 12px 0 10px; font-size: 14px; gap: 5px; } .acct > a.acct-login::before { display: none; } }
@media (prefers-reduced-motion: reduce) { .acct > a.acct-join::after { animation: none; display: none; } }
/* 11/08 대표: 회원 화면 메뉴줄에서 '이용이 처음이신가요?'가 잘리던 것 — 넓은 화면에선 메뉴 줄이 위로 넘친 글자를 자르지 않게 */
@media (min-width: 761px) { .m-nav { overflow: visible; } .m-nav > a.has-first .nav-first { bottom: calc(100% - 11px); } }
/* 11/08 점검: 휴대폰에서 메뉴 5개가 한 줄에 다 보이게 */
@media (max-width: 760px) { .m-nav { gap: 0 !important; justify-content: space-between; } .m-nav > a { padding: 0 6px; font-size: 14.5px; letter-spacing: -.02em; } }
@media (max-width: 360px) { .m-nav > a { padding: 0 4px; font-size: 13.5px; } }
/* 11/08 대표: 메뉴 묶기(시안 C) — 이용 방법 ⌄ · 제작자 찾기 ⌄ · 의뢰 등록 · 일감 찾기 ⌄. 아래로 펼친 판은 단색(겹친 유리 비침 막기), 줄에 마우스 올리면 왼쪽 주황 선 */
.dd-nav .nav-ind { display: none !important; }
.dd-it { position: relative; display: inline-flex; }
.dd-bt, .dd-nav > a.dd-solo { position: relative; display: inline-flex; align-items: center; gap: 4px; min-height: 40px; padding: 0 12px 0 14px; border: 0; border-radius: 999px; background: transparent;
  font: inherit; font-weight: 600; color: #3c4647; text-decoration: none !important; cursor: pointer; white-space: nowrap; transition: background .2s, color .2s; }
.dd-nav > a.dd-solo { padding: 0 14px; }
.dd-nav > a.dd-solo::after { display: none; }
.dd-bt svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; opacity: .6; transition: transform .3s cubic-bezier(.16,1,.3,1), opacity .2s; }
.dd-bt:hover, .dd-nav > a.dd-solo:hover, .dd-it.is-open > .dd-bt { background: rgba(255,255,255,.95); color: #1b3a3d; box-shadow: 0 0 0 1px rgba(27, 58, 61,.08), 0 6px 14px -8px rgba(27, 58, 61,.35); }
.dd-it.is-open > .dd-bt svg { transform: rotate(180deg); opacity: 1; }
.dd-bt:focus-visible, .dd-nav > a.dd-solo:focus-visible, .dd-row:focus-visible { outline: 2px solid #1b3a3d; outline-offset: 2px; }
/* 지금 보는 화면이 들어 있는 묶음 */
.dd-it:has([aria-current="page"]) > .dd-bt, .dd-nav > a.dd-solo[aria-current="page"] { color: #1b3a3d; font-weight: 800; }
.dd-it:has([aria-current="page"]) > .dd-bt::after, .dd-nav > a.dd-solo[aria-current="page"]::after { content: ''; display: block; position: absolute; left: 50%; bottom: 3px; width: 18px; height: 3px; margin-left: -9px; border-radius: 3px; background: linear-gradient(90deg, #588d93, #1b3a3d); transform: none; opacity: 1; }
/* 일감 찾기 알약 */
.dd-it--cre { margin-left: 8px; }
.dd-it--cre > .dd-bt { padding: 0 12px 0 16px; background: linear-gradient(135deg, #e7f2f3, #dbebed); color: #1b3a3d; font-weight: 700; box-shadow: 0 0 0 1px rgba(27, 58, 61,.12), 0 1px 0 rgba(255,255,255,.9) inset; }
.dd-it--cre > .dd-bt:hover, .dd-it--cre.is-open > .dd-bt { background: #1b3a3d; color: #eef1f1; box-shadow: 0 8px 18px -8px rgba(27, 58, 61,.6); }
.dd-it--cre > .dd-bt::after { display: none !important; }
/* 펼친 판 */
.dd-pn { position: absolute; z-index: 60; top: calc(100% + 8px); left: 0; min-width: 196px; padding: 7px; border-radius: 16px; background: #f5fafa;
  box-shadow: 0 0 0 1px rgba(27, 58, 61,.1), 0 18px 40px -14px rgba(27, 58, 61,.38); display: flex; flex-direction: column; gap: 1px;
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .25s cubic-bezier(.16,1,.3,1), visibility 0s .25s; }
.dd-pn::before { content: ''; position: absolute; left: 0; right: 0; top: -10px; height: 10px; } /* 단추→판 사이로 마우스가 지나가도 안 닫히게 */
.dd-it--cre > .dd-pn { left: auto; right: 0; }
.dd-it.is-open > .dd-pn { opacity: 1; visibility: visible; transform: none; transition: opacity .18s, transform .25s cubic-bezier(.16,1,.3,1), visibility 0s; }
.dd-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 42px; padding: 0 14px; border-radius: 10px; color: #293334; font-weight: 600; font-size: 15px;
  text-decoration: none !important; white-space: nowrap; transition: background .15s, box-shadow .15s, color .15s; }
.dd-row:hover, .dd-row:focus-visible { background: rgba(27, 58, 61,.06); color: #1b3a3d; box-shadow: inset 3px 0 0 #208787; }
.dd-row[aria-current="page"] { color: #1b3a3d; font-weight: 800; background: rgba(27, 58, 61,.05); }
.dd-sep { display: block; height: 1px; margin: 5px 8px; background: rgba(27, 58, 61,.1); }
.dd-tag { flex: none; padding: 2px 8px; border-radius: 999px; background: rgba(32, 135, 135,.1); color: #208787; font-size: 11.5px; font-weight: 800; }
/* '이용이 처음이신가요?' — 이용 방법 단추 위에 */
.dd-bt.has-first .nav-first { position: absolute; left: 14px; bottom: calc(100% - 9px); margin: 0; pointer-events: none; }
.dd-mob__h.has-first { display: flex; flex-direction: column; align-items: flex-start; }
.dd-mob__h.has-first .nav-first { margin: 0 0 2px; }
@media (prefers-reduced-motion: no-preference) { .hd-enter .dd-nav > * { animation: hd-item .5s cubic-bezier(.16,1,.3,1) both; animation-delay: calc(.12s + var(--k, 0) * 45ms); } }
@media (prefers-reduced-motion: reduce) { .dd-pn, .dd-bt svg { transition: none; } }
/* 휴대폰: 회원 화면 메뉴줄(.m-nav)도 4개가 한 줄에 */
@media (max-width: 760px) {
  .m-nav.dd-nav { justify-content: space-between; }
  .m-nav .dd-bt, .m-nav > a.dd-solo { padding: 0 6px; font-size: 14.5px; letter-spacing: -.02em; gap: 1px; }
  .m-nav .dd-it--cre { margin-left: 0; } .m-nav .dd-it--cre > .dd-bt { padding: 0 6px 0 10px; }
  .m-nav .dd-bt svg { width: 13px; height: 13px; }
  .m-nav .dd-bt.has-first .nav-first { display: none; }
  .m-nav .dd-it:first-child > .dd-pn { left: 0; }
  .m-nav .dd-it:nth-child(2) > .dd-pn { left: 50%; transform: translate(-50%, -6px); }
  .m-nav .dd-it.is-open:nth-child(2) > .dd-pn { transform: translateX(-50%); }
}
@media (max-width: 360px) { .m-nav .dd-bt, .m-nav > a.dd-solo { padding: 0 4px; font-size: 13.5px; } }
/* 휴대폰 ☰ 메뉴: 묶음 제목 + 링크 */
.h-menu__panel.dd-mob { display: flex; flex-direction: column; gap: 2px; }
.dd-mob__g { display: flex; flex-direction: column; padding: 6px 0; border-bottom: 1px solid rgba(27, 58, 61,.08); }
.dd-mob__h { margin: 4px 12px 2px; font-size: 12px; font-weight: 800; color: #6e6e74; letter-spacing: .02em; }
.dd-mob__g > a, .dd-mob > a.dd-mob__solo { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.dd-mob > a.dd-mob__solo { border-bottom: 1px solid rgba(27, 58, 61,.08); }
.h-menu__panel.dd-mob { min-width: 220px; }
.dd-mob__g > a { min-height: 40px !important; }
.m-nav.dd-nav, .ad-head__nav.dd-nav { overflow: visible !important; }
.dd-nav a.dd-row, .dd-nav a.dd-solo { border-bottom: 0 !important; }
.dd-nav a.dd-row { display: flex; color: #293334; }
/* 11/08 '문의' 메뉴가 더해져 휴대폰에서 5개 — 좁은 화면은 더 촘촘히 */
@media (max-width: 440px) {
  .m-nav .dd-bt, .m-nav > a.dd-solo { padding: 0 4px !important; font-size: 13.5px; letter-spacing: -.035em; }
  .m-nav .dd-it--cre > .dd-bt { padding: 0 5px 0 8px !important; }
  .m-nav .dd-bt svg { width: 11px; height: 11px; }
}
@media (max-width: 370px) {
  .m-nav .dd-bt, .m-nav > a.dd-solo { font-size: 12.5px; padding: 0 3px !important; }
  .m-nav .dd-bt svg { display: none; }
}
