@charset "utf-8";

/* =============================================================================
   v3_translate.css — 임시 자동 번역(구글 번역 위젯) 모양 (신규 테마 ver 3.0)
   261117 김동현 클로드활용 수정: 새로 만듦
   - 쓰는 곳: html/v3_translate.php
   - 하는 일: ① 구글이 만드는 기본 UI(번역 막대·말풍선·강조)를 숨김  ② 번역 중일 때만 우리 안내 막대를 보임
   ============================================================================= */

/* 구글 번역 내부 칸: 동작에는 필요하지만 화면에는 보이지 않게 함 (display:none 대신 크기만 없앰) */
#google_translate_element2 {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* 구글이 번역 시 화면 맨 위에 붙이는 기본 막대와, 그 때문에 페이지를 아래로 미는 것을 막음 */
.VIpgJd-ZVi9od-ORHb-OEVmcd,
.goog-te-banner-frame {
    display: none !important;
}

body {
    top: 0 !important;
}

/* 글자 위에 마우스를 올릴 때 나오는 원문 말풍선·노란 강조 제거 */
#goog-gt-tt {
    display: none !important;
}

.goog-text-highlight {
    background: none !important;
    box-shadow: none !important;
}

/* 번역 안내 막대: 평소엔 숨김, 구글이 <html> 에 translated-ltr 클래스를 붙이면(번역 중) 화면 아래에 나타남 */
.v3_trans_notice {
    display: none;
}

html.translated-ltr .v3_trans_notice {
    position: fixed;
    right: 16px;
    bottom: 16px;
    left: 16px;
    z-index: 9000;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px 14px;
    max-width: 640px;
    margin: 0 auto;
    padding: 10px 18px;
    border-radius: 8px;
    background: rgba(20, 20, 20, 0.92);
    font-size: 13px;
    line-height: 1.5;
    color: #fff;
    text-align: center;
}

.v3_trans_notice a {
    font-weight: 600;
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
    white-space: nowrap;
}

.v3_trans_notice a:hover {
    color: var(--color-point, #4E8B79);
}
