:root {
  --bg: #ffffff; --panel: #fff; --border: #e5e7eb; --text: #111111; --muted: #6b7280;
  --accent: #111111; --accent-hover: #242424; --accent-soft: #f5f5f5; --accent-strong: #111111; --danger: #dc2626;
  --shadow: 0 1px 2px rgba(0,0,0,.05), 0 4px 12px rgba(0,0,0,.08);
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--text); line-height: 1.6;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.breadcrumb { max-width: 896px; margin: 16px auto 0; padding: 0 20px; font-size: 13px; color: var(--muted); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--accent); }
.cmp-table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 14.5px; }
.cmp-table th, .cmp-table td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--border); }
.cmp-table th { color: var(--muted); font-weight: 600; }

/* 헤더 */
.site-header {
  background: var(--panel); border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 50;
}
.site-header .inner { width: 100%; margin: 0; padding: 12px 24px; display: flex; align-items: center; gap: 16px; flex-wrap: nowrap; }
.site-header .logo { font-weight: 700; font-size: 18px; color: var(--accent); white-space: nowrap; flex: none; }
.site-header nav { display: flex; gap: 2px; flex: 1 1 auto; min-width: 0; overflow: visible; flex-wrap: nowrap; }
.site-header nav a { font-size: 13.5px; font-weight: 500; color: var(--muted); padding: 6px 10px; border-radius: 8px; white-space: nowrap; flex: none; transition: background .12s, color .12s; }
.site-header nav a:hover { background: #f1f5f9; text-decoration: none; color: var(--text); }
.site-header nav a.active { color: var(--accent-strong); background: var(--accent-soft); font-weight: 600; }
/* "전체 변환" 드롭다운 — 13개 카테고리 링크 전부를 패널 안에 넣어 헤더 가로 스크롤을 원천 차단한다 (FastestPDF와 동일 패턴) */
.nav-more { position: relative; flex: none; }
.nav-more-btn {
  font: inherit; font-size: 13.5px; font-weight: 500; color: var(--muted); background: none; border: none;
  padding: 6px 10px; border-radius: 8px; white-space: nowrap; cursor: pointer; transition: background .12s, color .12s;
}
.nav-more-btn:hover, .nav-more-btn.open { background: #f1f5f9; color: var(--text); }
.nav-more-btn.active { color: var(--accent-strong); background: var(--accent-soft); font-weight: 600; }
/* position:fixed — 좌표는 bindNavMore()가 버튼 위치를 읽어 JS로 top/left를 직접 지정한다. */
.nav-more-menu {
  position: fixed; z-index: 60; width: 340px; max-width: calc(100vw - 16px);
  max-height: 70vh; overflow-y: auto;
  background: var(--panel); border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow);
  padding: 8px;
}
.nav-more-menu[hidden] { display: none; }
.nav-more-menu a { font-size: 13.5px; font-weight: 500; color: var(--text); padding: 7px 8px; border-radius: 7px; white-space: nowrap; }
.nav-more-menu a:hover { background: #f1f5f9; text-decoration: none; }
.nav-more-menu a.active { color: var(--accent-strong); background: var(--accent-soft); font-weight: 600; }
.nm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; }
.nm-grid a { display: flex; align-items: center; gap: 6px; min-width: 0; }
.nm-ico { flex: none; width: 18px; text-align: center; }
.site-header .header-right { margin-left: auto; display: flex; align-items: center; gap: 10px; flex: none; }
.site-header .privacy-chip { font-size: 11.5px; font-weight: 500; color: #374151; background: var(--accent-soft); border: 1px solid var(--border); padding: 4px 9px; border-radius: 999px; white-space: nowrap; }
/* header-right(언어전환+배지)가 flex:none이라 좁은 화면에서 안 줄어들어 페이지 전체 가로 스크롤을 유발함 — 배지부터 숨겨서 공간 확보 */
@media (max-width: 640px) { .site-header .privacy-chip { display: none; } }

/* 모바일 전체메뉴 — 640px 이하에서는 로고+카테고리 가로스크롤 nav 대신 햄버거 버튼 하나로 통일하고,
   열면 전체 카테고리를 세로 드롭다운 패널로 노출한다. 데스크톱 레이아웃은 그대로 유지. */
.mobile-menu-btn {
  display: none; flex: none; width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--border);
  background: var(--panel); flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 0; cursor: pointer;
}
.mobile-menu-btn span { display: block; width: 16px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .18s ease, opacity .18s ease; }
.mobile-menu-btn.open { background: var(--accent-soft); border-color: #d1d5db; }
.mobile-menu-btn.open span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.mobile-menu-btn.open span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.open span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.mobile-menu { display: none; }
@media (max-width: 640px) {
  .site-header .logo, .site-header nav { display: none; }
  .mobile-menu-btn { display: flex; }
  body.mobile-menu-open { overflow: hidden; }
  .mobile-menu {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
    background: var(--panel); overflow-y: auto; padding: 16px 20px 28px;
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: transform .18s ease, opacity .18s ease;
  }
  .mobile-menu.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
}
.mm-home { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--border); }
.mm-home-logo { font-weight: 700; font-size: 16px; color: var(--accent); }
.mm-home-tag { font-size: 11.5px; font-weight: 700; color: var(--muted); }
.mm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mm-item { display: flex; align-items: center; gap: 8px; background: #f8f9fa; border: 1px solid var(--border); border-radius: 10px; padding: 10px 9px; font-size: 12.5px; font-weight: 600; color: var(--text); }
.mm-item:hover { border-color: #d1d5db; }
.mm-item.active { background: var(--accent-soft); border-color: #d1d5db; color: var(--accent-strong); }
.mm-item .ico { font-size: 16px; flex: none; }
.mm-foot { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--border); }
.mm-foot .privacy-chip { display: inline-block; }
.lang-switch-link { display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: 8px; padding: 4px 10px; font-size: 12px; font-weight: 500; color: var(--muted); white-space: nowrap; transition: border-color .12s, color .12s; }
.lang-switch-link:hover { border-color: #d1d5db; color: var(--accent); text-decoration: none; }

/* 공유 버튼 */
.share-row { display: flex; justify-content: center; margin: 48px 0; }
.share-btn { font: inherit; display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--border); border-radius: 8px; background: var(--panel); color: var(--muted); padding: 7px 14px; font-size: 14px; font-weight: 500; cursor: pointer; transition: border-color .12s, color .12s; }
.share-btn:hover { border-color: #d1d5db; color: var(--accent); }

/* 도구 페이지 레이아웃 */
main.tool { max-width: 896px; margin: 0 auto; padding: 32px 20px 28px; }
.tool h1 { font-size: 28px; font-weight: 600; letter-spacing: -.8px; margin: 0; text-align: left; }
.tool .sub { text-align: left; color: #475569; margin: 8px 0 0; font-size: 18px; }
.tool-card { margin-top: 24px; padding: 24px; border: 1px solid var(--border); border-radius: 16px; background: var(--panel); }

/* 랜딩(허브) 히어로 */
.hero { max-width: 896px; margin: 0 auto; padding: 88px 24px 56px; text-align: center; }
.hero-badge { display: inline-block; background: var(--accent-soft); color: #374151; font-size: 13px; font-weight: 500; padding: 4px 12px; border-radius: 9999px; margin-bottom: 20px; }
.hero h1 { font-size: 52px; font-weight: 600; letter-spacing: -1.8px; line-height: 1.1; color: var(--text); margin: 0 0 16px; }
.hero .sub { font-size: 18px; line-height: 1.55; color: var(--muted); margin: 0 0 28px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
@media (max-width: 860px) {
  .hero { padding: 56px 20px 40px; }
  .hero h1 { font-size: 34px; letter-spacing: -1px; }
}

/* 버튼 */
.btn {
  font: inherit; font-size: 14px; border: 1px solid var(--border); background: var(--panel); color: var(--text);
  padding: 9px 16px; border-radius: 8px; cursor: pointer; display: inline-flex; align-items: center; gap: 7px;
  transition: background .12s, border-color .12s;
}
.btn:hover:not(:disabled) { background: #f0f1f3; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.primary:hover:not(:disabled) { background: var(--accent-hover); }
.btn.lg { font-size: 14px; font-weight: 600; padding: 10px 20px; }

/* 드롭존 */
.drop {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  border: 2px dashed #d1d5db; border-radius: 16px; padding: 48px 24px; background: #f8f9fa;
  cursor: pointer; transition: border-color .12s, background .12s; text-align: center;
}
.drop.over { border-color: var(--accent); background: var(--accent-soft); }
.drop svg { color: #111111; }
.drop h2 { margin: 8px 0 2px; font-size: 16px; font-weight: 500; color: #334155; }
.drop p { margin: 0; color: var(--muted); font-size: 14px; }
.privacy-hint { margin: 10px 0 0; color: #94a3b8; font-size: 12px; }

/* 파일 리스트 */
.filelist { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-direction: column; gap: 8px; }
.filelist li {
  display: flex; align-items: center; gap: 10px; background: var(--panel); border: 1px solid var(--border);
  border-radius: 10px; padding: 10px 12px;
}
.filelist li .name { flex: 1; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.filelist li .meta { color: var(--muted); font-size: 12px; white-space: nowrap; }
.filelist li button { border: 1px solid var(--border); background: var(--panel); border-radius: 6px; width: 30px; height: 30px; cursor: pointer; font-size: 14px; padding: 0; }
.filelist li button:hover:not(:disabled) { background: #f0f1f3; }
.filelist li button:disabled { opacity: .3; cursor: not-allowed; }
.filelist li .del:hover { color: var(--danger); border-color: var(--danger); }

.actions { display: flex; justify-content: center; gap: 10px; margin-top: 24px; flex-wrap: wrap; }
.opts { display: flex; justify-content: center; gap: 16px; margin-top: 16px; flex-wrap: wrap; align-items: center; }
.opts label { font-size: 13px; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.opts input[type=text], .opts input[type=number], .opts select { font: inherit; font-size: 13px; padding: 7px 10px; border: 1px solid var(--border); border-radius: 8px; }
.opts input[type=number] { width: 70px; }

/* 결과/썸네일 */
.result-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; margin-top: 20px; }
.result-grid .cell { background: var(--panel); border: 1px solid var(--border); border-radius: 10px; padding: 10px; text-align: center; }
.result-grid .cell img, .result-grid .cell canvas { width: 100%; border: 1px solid var(--border); border-radius: 4px; }
.result-grid .cell .cap { font-size: 12px; color: var(--muted); margin-top: 6px; }

/* 페이지 썸네일 그리드 (삭제·회전 등 시각 편집) */
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 14px; margin-top: 20px; }
.pcard { position: relative; background: var(--panel); border: 2px solid var(--border); border-radius: 10px; padding: 8px; text-align: center; }
.pcard canvas { width: 100%; height: auto; border: 1px solid var(--border); border-radius: 3px; transition: transform .18s; }
.pcard .pnum { font-size: 12px; color: var(--muted); margin-top: 6px; }
.pcard.sel-del { border-color: var(--danger); }
.pcard.sel-del canvas { opacity: .4; }
.pcard.sel-del::after { content: "삭제"; position: absolute; left: 8px; right: 8px; top: 8px; bottom: 26px; background: rgba(220,38,38,.30); border-radius: 3px; display: flex; align-items: center; justify-content: center; color: #b91c1c; font-weight: 800; font-size: 18px; pointer-events: none; }
.pcard.clickable { cursor: pointer; }
.pcard.clickable:hover { border-color: #d1d5db; }
.pcard .rot-btn { position: absolute; top: 6px; right: 6px; width: 30px; height: 30px; border-radius: 7px; border: 1px solid var(--border); background: rgba(255,255,255,.96); cursor: pointer; font-size: 15px; padding: 0; box-shadow: var(--shadow); }
.pcard .rot-btn:hover { background: #fff; border-color: var(--accent); }

/* 콘텐츠(SEO) 섹션 */
.content { max-width: 896px; margin: 0 auto; padding: 10px 20px 40px; }
.content > *:first-child { margin-top: 0; }
.content a { color: var(--accent); text-decoration: none; }
.content a:hover { text-decoration: underline; }
/* 섹션 제목 — 파스텔 아이콘 배지 (이미지툴 톤 통일) */
.content h2 { font-size: 20px; font-weight: 600; letter-spacing: -.5px; color: var(--text); margin: 32px 0 14px; padding: 0; border: 0; display: flex; align-items: center; gap: 12px; }
.content h2[class^="s-"]::before, .content .guide-head::before {
  flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--accent-soft);
  display: inline-flex; align-items: center; justify-content: center; font-size: 18px; line-height: 1;
}
.content h2.s-how::before { content: "📋"; }
.content h2.s-faq::before { content: "💬"; }
.content h2.s-more::before { content: "🧩"; }
.content h2.s-about::before { content: "🧰"; }
.content .guide-usecase .guide-head::before { content: "🎯"; }
.content .guide-safe .guide-head::before { content: "🛡️"; }
/* 가이드 아티클 (도구 아래 콘텐츠 카드) */
.content .guide { margin: 36px 0 10px; }
.content .guide-head { font-size: 20px; font-weight: 600; letter-spacing: -.5px; color: var(--text); margin: 0 0 10px; padding: 0; border: 0; display: flex; align-items: center; gap: 12px; }
.content .guide-head::before { content: "💡"; }
.content .guide-intro { font-size: 15px; color: var(--muted); line-height: 1.75; margin: 0 0 18px; }
.content .guide-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.content .tip { background: var(--panel); border: 1px solid var(--border); border-radius: 16px; padding: 20px 22px; box-shadow: none; transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease; }
.content .tip:hover { border-color: #d1d5db; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,.06); }
.content .tip h3 { display: flex; align-items: center; gap: 10px; font-size: 15.5px; font-weight: 600; color: var(--text); margin: 0 0 8px; padding: 0; border: 0; }
.content .tip h3 .ico { flex: none; width: 34px; height: 34px; border-radius: 10px; background: var(--accent-soft); display: inline-flex; align-items: center; justify-content: center; font-size: 17px; line-height: 1; }
.content .tip p { margin: 0; font-size: 14.5px; line-height: 1.65; color: var(--muted); }
.content p, .content li { font-size: 15px; color: #475569; }
.content .lead { font-size: 16px; line-height: 1.75; color: #334155; margin: 4px 0 8px; }
/* 정보 카드 (about/why 등 단일 카드형 섹션) */
.content .guide-card { margin: 40px 0; border-radius: 12px; border: 0; background: var(--accent-soft); padding: 32px; }
.content .guide-card:hover { border-color: #d1d5db; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.content .guide-card > h2 { margin: 0; padding: 0; border: 0; }
.content .guide-card p { margin: 14px 0 0; }
.content .guide-card ul { list-style: disc; margin: 14px 0 0; padding-left: 22px; display: flex; flex-direction: column; gap: 10px; font-size: 16px; line-height: 1.6; color: #334155; }
.content .guide-card ul strong { color: var(--text); }
.content .guide-card ul::marker, .content .guide-card li::marker { color: #9ca3af; }
.content .guide-ico { flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--accent-soft); display: inline-flex; align-items: center; justify-content: center; font-size: 18px; line-height: 1; }
/* 방법(순서) — 흰 카드 */
.content ol { background: var(--panel); border: 1px solid var(--border); border-radius: 16px; padding: 20px 24px 20px 46px; margin: 12px 0; }
.content ol li { margin: 4px 0; }
.content ul:not(.tool-grid):not(.filelist) { padding-left: 22px; }
/* FAQ — 항상 펼쳐진 카드 목록 */
.faq-list { margin: 16px 0 0; display: flex; flex-direction: column; gap: 16px; }
.faq-item { background: var(--panel); border: 1px solid var(--border); border-radius: 12px; padding: 20px; }
.faq-item dt { margin: 0; font-size: 17px; font-weight: 600; color: var(--text); }
.faq-item dd { margin: 6px 0 0; font-size: 16px; line-height: 1.7; color: #334155; }

/* "왜 안심하고 쓸 수 있나요" — 불릿 리스트 카드 */
.why-list { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 17px; line-height: 1.8; color: #334155; }
.why-list strong { color: var(--text); }

/* 도구 그리드 (허브) */
.tool-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; margin: 16px 0; }
.tool-grid a {
  display: block; background: var(--panel); border: 1px solid var(--border); border-radius: 16px;
  padding: 24px; text-decoration: none; color: var(--text); transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.tool-grid a:hover { border-color: #d1d5db; box-shadow: 0 4px 12px rgba(0,0,0,.06); transform: translateY(-2px); text-decoration: none; }
.tool-grid a .ico { font-size: 30px; }
.tool-grid a .t { font-weight: 600; font-size: 18px; margin: 12px 0 6px; }
.tool-grid a .d { font-size: 15px; line-height: 1.5; color: var(--muted); }

/* 푸터 */
.site-footer { text-align: center; color: #a1a1aa; font-size: 14px; padding: 48px 24px; line-height: 1.7; background: #101010; }
.site-footer p { margin: 0; }
.site-footer p + p { margin-top: 4px; }
.site-footer p.feedback-row { margin-top: 14px; }
.site-footer p.privacy-note { color: #a1a1aa; font-size: 14.5px; }
.site-footer a { color: #a1a1aa; }
.site-footer a:hover { color: #fff; }
.site-footer .feedback-btn { background: #1a1a1a; border: 1px solid #333; color: #fff; box-shadow: none; }
.site-footer .feedback-btn:hover { background: #242424; transform: none; }

.toast { position: fixed; top: 24px; right: 24px; max-width: min(340px, calc(100vw - 48px)); transform: translateY(-12px); background: #1f2328; color: #fff; padding: 10px 18px; border-radius: 8px; font-size: 13px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 400; }
.toast.show { opacity: 1; transform: translateY(0); }
.toast.toast-accent { background: var(--accent); }
.toast.toast-danger { background: var(--danger); }

/* 의견 남기기 */
.feedback-btn { font: inherit; display: inline-flex; align-items: center; gap: 6px; border: none; border-radius: 999px; background: var(--accent); color: #fff; padding: 9px 20px; font-size: 14px; font-weight: 600; cursor: pointer; box-shadow: none; transition: background .12s, transform .12s; }
.feedback-btn:hover { background: var(--accent-hover); transform: translateY(-1px); }
.feedback-overlay { position: fixed; inset: 0; background: rgba(15,23,42,.5); display: flex; align-items: center; justify-content: center; z-index: 300; padding: 20px; }
.feedback-overlay[hidden] { display: none; }
.feedback-dialog { background: var(--panel); border-radius: 16px; padding: 24px; width: 100%; max-width: 420px; box-shadow: var(--shadow); }
.feedback-dialog h3 { margin: 0 0 14px; font-size: 17px; }
.feedback-dialog textarea { width: 100%; min-height: 110px; resize: vertical; border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; font: inherit; font-size: 14px; color: var(--text); background: var(--bg); }
.feedback-dialog textarea:focus { outline: none; border-color: var(--accent); }
.feedback-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 14px; }

/* 애드센스 미승인 상태라 빈 슬롯이 그대로 노출됨 — 승인 후 display:none 제거 */
.ad-block { display: none; justify-content: center; margin: 30px 0; min-height: 90px; align-items: center; }
.ad-block .ad-mo { display: none; }
@media (max-width: 768px) { .ad-block .ad-pc { display: none; } .ad-block .ad-mo { display: block; } }

/* 하단 앵커(스티키) 광고 */
.anchor-ad {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 150;
  background: rgba(255,255,255,.97); border-top: 1px solid var(--border);
  box-shadow: 0 -2px 10px rgba(0,0,0,.07); display: flex; justify-content: center; align-items: center;
  padding: 6px 0; min-height: 96px;
}
.anchor-ad .ad-mo { display: none; }
body.has-anchor { padding-bottom: 108px; }
/* 편집기(app-shell, 100vh 고정 레이아웃)는 body padding이 안 먹으므로 자체 높이를 줄여 공간 확보 (상단 site-header 70px도 함께 제외) */
body.has-anchor .app-shell { height: calc(100vh - 70px - 108px); }
@media (max-width: 768px) {
  .anchor-ad { min-height: 106px; }
  .anchor-ad .ad-pc { display: none; }
  .anchor-ad .ad-mo { display: block; }
  body.has-anchor { padding-bottom: 118px; }
  body.has-anchor .app-shell { height: calc(100vh - 70px - 118px); }
}

/* 단위 변환기 */
.conv-row { display: flex; align-items: flex-end; gap: 14px; flex-wrap: wrap; justify-content: center; }
.conv-field { display: flex; flex-direction: column; gap: 6px; flex: 1 1 220px; min-width: 200px; }
.conv-field label { font-size: 13px; color: var(--muted); font-weight: 600; }
.conv-field .row { display: flex; gap: 8px; }
.conv-field input { font: inherit; font-size: 18px; font-weight: 600; padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; width: 100%; min-width: 0; color: var(--text); background: var(--panel); }
.conv-field input:focus { outline: none; border-color: var(--accent); }
.conv-field input[readonly] { background: var(--accent-soft); color: var(--accent-strong); }
.conv-field select { font: inherit; font-size: 14px; padding: 10px 10px; border: 1px solid var(--border); border-radius: 10px; background: var(--panel); color: var(--text); flex: none; max-width: 160px; }
.conv-swap { flex: none; width: 42px; height: 42px; border-radius: 50%; font-size: 18px; padding: 0; margin-bottom: 1px; justify-content: center; }
.conv-table-wrap { margin-top: 28px; overflow-x: auto; }
.conv-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.conv-table th, .conv-table td { padding: 9px 12px; border-bottom: 1px solid var(--border); text-align: left; }
.conv-table th { color: var(--muted); font-weight: 600; font-size: 12.5px; }
.conv-table td.val { font-variant-numeric: tabular-nums; color: var(--text); }

.content .updates-list { list-style: none; margin: 24px 0 0; padding: 0; }
.content .updates-item { position: relative; padding: 0 0 32px 26px; border-left: 2px solid var(--border); }
.content .updates-item:last-child { padding-bottom: 2px; }
.content .updates-item::before { content: ""; position: absolute; left: -7px; top: 3px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); border: 2px solid var(--panel); }
.content .updates-date { font-size: 13px; font-weight: 700; color: var(--accent-strong); letter-spacing: .02em; }
.content .updates-item h2 { margin: 6px 0 10px; }
.content .updates-entries { display: flex; flex-direction: column; gap: 10px; }
.content .updates-entry { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.6; color: #334155; }
.content .updates-entry .tag { flex: none; font-size: 12px; font-weight: 700; border-radius: 999px; padding: 2px 9px; margin-top: 2px; }
.content .updates-entry .tag-new { background: #ecfdf5; color: #047857; }
.content .updates-entry .tag-improve { background: var(--accent-soft); color: var(--accent-strong); }
.content .updates-entry a { font-weight: 600; }

/* ── Calc 전용: 계산기 폼·결과 카드 ── */
.calc-form { display: flex; flex-wrap: wrap; gap: 14px; }
.calc-field { display: flex; flex-direction: column; gap: 6px; flex: 1 1 200px; min-width: 160px; }
.calc-field > label { font-size: 13px; color: var(--muted); font-weight: 600; }
.calc-field .calc-inrow { display: flex; gap: 8px; align-items: center; }
.calc-field .calc-inrow input { flex: 1 1 auto; min-width: 0; }
.calc-field input[type=number], .calc-field input[type=date], .calc-field select {
  font: inherit; font-size: 17px; font-weight: 600; padding: 10px 12px;
  border: 1px solid var(--border); border-radius: 10px; width: 100%;
  color: var(--text); background: var(--panel);
}
.calc-field input:focus, .calc-field select:focus { outline: none; border-color: var(--accent); }
.calc-field select { max-width: none; }
.calc-unit { flex: none; font-size: 14px; font-weight: 600; color: var(--muted); }
.calc-chk { justify-content: flex-end; }
.calc-chk label { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--text); padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; background: var(--panel); cursor: pointer; }
.calc-chk input { accent-color: var(--accent); width: 16px; height: 16px; }
#calc-result { margin-top: 22px; }
.calc-main { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 20px; border-radius: 14px; background: var(--accent-soft); text-align: center; }
.calc-main-label { font-size: 13px; font-weight: 600; color: var(--muted); }
.calc-main-value { font-size: 30px; font-weight: 800; color: var(--accent-strong); font-variant-numeric: tabular-nums; }
.calc-main-sub { font-size: 14px; color: var(--muted); font-weight: 600; }
.calc-empty { padding: 18px; text-align: center; color: var(--muted); font-size: 14px; border: 1px dashed var(--border); border-radius: 12px; }
.calc-note { margin-top: 14px; font-size: 13px; color: var(--muted); line-height: 1.65; padding: 10px 14px; background: var(--surface); border-radius: 10px; }
.nm-cat { padding: 8px 10px 4px; font-size: 11.5px; font-weight: 700; color: var(--muted); letter-spacing: 0.02em; }
@media (max-width: 640px) {
  .calc-main-value { font-size: 24px; }
  .calc-field { flex: 1 1 100%; }
}

/* ── FastestTime 전용: 서버시간·세계시간 ── */
.st-block:last-child { border-bottom: none; }
.st-label { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.st-src { display: block; font-size: 12px; font-weight: 500; color: var(--muted); margin-top: 2px; }
.st-clock { font-size: clamp(34px, 8vw, 52px); font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -1px; color: var(--accent-strong); line-height: 1.15; }
.st-clock.st-count { color: #dc2626; }
.st-meta { font-size: 13px; color: var(--muted); margin-top: 6px; }
.st-diff { font-size: 13px; font-weight: 600; color: var(--accent-strong); margin-top: 8px; }
.st-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 12px; }
.st-row select, .st-row input[type="text"], .st-row input[type="time"] {
  font: inherit; padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; background: var(--panel); color: var(--text);
}
.st-row select:focus, .st-row input:focus { outline: none; border-color: var(--accent); }
.st-row input[type="text"] { flex: 1 1 220px; }
.st-row .btn { padding: 10px 16px; border-radius: 10px; border: 1px solid var(--border); background: var(--panel); color: var(--text); font-weight: 600; cursor: pointer; }
.st-row .btn.primary, .st-resync { background: var(--accent); border-color: var(--accent); color: #fff; }
.st-resync { margin-top: 10px; padding: 8px 14px; border-radius: 8px; border: 1px solid var(--border); font-size: 13px; font-weight: 600; cursor: pointer; }
.wc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.wc-item { border: 1px solid var(--border); border-radius: 12px; padding: 14px; background: var(--panel); }
.wc-city { font-size: 13px; font-weight: 700; color: var(--text); }
.wc-time { font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--accent-strong); margin-top: 4px; }
.wc-day { font-size: 12px; color: var(--muted); margin-top: 2px; }
