/* 사이트 윗줄 U2 (2026-11-12 사용자 승인 · unslop) — 홈(home.css)과 같은 모양을 다른 페이지에도.
   머리 = <header class="top u2"><div class="wrap"><a class="brand">…</a><nav><span class="nav-links">메뉴</span><span class="nav-act">웹에서 써보기 · 다운로드</span></nav></div></header>
   단색 바탕 + 머리카락 선, 메뉴 정가운데(좌우 칸 같은 폭), 칠한 버튼은 다운로드 하나 · 높이 34 · 모서리 8 · 화살표 없음, 지금 보는 메뉴는 글자 밑 형광펜 줄.
   휴대폰(html.mobile) · 좁은 폭(760px 이하)은 페이지마다 원래 규칙 그대로(묶음 칸은 없는 것처럼) */
.top.u2 .nav-links, .top.u2 .nav-act { display: contents; }

@media (min-width: 761px) {
  html:not(.mobile) .top.u2 { --u2-hl: rgb(56 84 219 / 22%); --u2-dl: #1e2a78; --u2-dl-h: #162060; --u2-dl-fg: #fff; --u2-line2: #cfd6e1; --u2-hover: #eef1f7; background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom: 1px solid var(--line); }
  html:not(.mobile) .top.u2 .wrap { box-sizing: border-box; width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; height: 64px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
  html:not(.mobile) .top.u2 .brand { justify-self: start; display: flex; align-items: center; gap: 8px; color: var(--fg); font-size: 1.12rem; font-weight: 700; letter-spacing: -.02em; line-height: 1; text-decoration: none; }
  html:not(.mobile) .top.u2 .brand img { width: 26px; height: 26px; }
  html:not(.mobile) .top.u2 nav { display: contents; }
  html:not(.mobile) .top.u2 .nav-links { display: flex; align-items: center; gap: 22px; }
  html:not(.mobile) .top.u2 .nav-links a { display: inline; min-height: 0; margin: 0; padding: 6px 0; border-radius: 0; background: none; color: var(--fg-2); font-size: .94rem; font-weight: 500; line-height: 1; text-decoration: none; }
  html:not(.mobile) .top.u2 .nav-links a:hover { background: none; color: var(--fg); }
  html:not(.mobile) .top.u2 .nav-links a[aria-current] { color: var(--fg); font-weight: 600; text-decoration-line: underline; text-decoration-color: var(--u2-hl); text-decoration-thickness: .42em; text-underline-offset: -.16em; text-decoration-skip-ink: none; }
  html:not(.mobile) .top.u2 .nav-act { justify-self: end; display: flex; align-items: center; gap: 6px; }
  html:not(.mobile) .top.u2 .nav-act a { display: inline-flex; align-items: center; height: 34px; min-height: 0; margin: 0; padding: 0 14px !important; border-radius: 8px !important; box-shadow: none; font-size: .92rem; font-weight: 600 !important; line-height: 1; white-space: nowrap; text-decoration: none; opacity: 1 !important; }
  html:not(.mobile) .top.u2 .nav-act a::after { content: none !important; }
  /* 웹에서 써보기 = 얇은 선 버튼 */
  html:not(.mobile) .top.u2 .nav-act a:first-child { border: 1px solid var(--u2-line2) !important; background: transparent !important; color: var(--fg) !important; }
  html:not(.mobile) .top.u2 .nav-act a:first-child:hover { background: var(--u2-hover) !important; }
  /* 다운로드 = 칠한 버튼 하나 */
  html:not(.mobile) .top.u2 .nav-act a:last-child:not(:first-child) { border: 0 !important; background: var(--u2-dl) !important; color: var(--u2-dl-fg) !important; }
  html:not(.mobile) .top.u2 .nav-act a:last-child:not(:first-child):hover { background: var(--u2-dl-h) !important; }
}
@media (min-width: 761px) and (prefers-color-scheme: dark) {
  html:not(.mobile):not([data-theme="light"]) .top.u2 { --u2-hl: rgb(111 139 255 / 30%); --u2-dl: var(--fg); --u2-dl-h: var(--fg-2); --u2-dl-fg: var(--bg); --u2-line2: #3a3f4b; --u2-hover: rgb(255 255 255 / 6%); }
}
/* 좁은 데스크톱(메뉴를 가운데 두면 겹치는 폭): 메뉴를 로고 옆으로 */
@media (min-width: 761px) and (max-width: 1080px) {
  html:not(.mobile) .top.u2 .wrap { grid-template-columns: auto 1fr auto; gap: 28px; }
  html:not(.mobile) .top.u2 .nav-links { gap: 16px; }
}
