/* ====================================
   워터마크 스타일
   ==================================== */

/* 워터마크 시그니처 - 하단 중앙 표시 */
.watermark-signature {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Dalmoori', 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: rgba(0, 0, 0, 0.1);
    letter-spacing: 1px;
    font-style: italic;
    pointer-events: none;
    z-index: 101;  /* 1 → 101로 증가 (final-total보다 위) */
    user-select: none;
}

/* 로그인 화면에서 워터마크 숨김 */
body:not(.authenticated) .watermark-signature,
body:not(.authenticated) .watermark-container {
    display: none !important;
}

/* 워터마크 컨테이너 - 전체 화면 반복 패턴 */
.watermark-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2001;
    overflow: hidden;
}

/* 워터마크 패턴 스타일 */
.watermark {
    position: absolute;
    font-size: 18px;
    color: rgba(128, 128, 128, 0.07); /* 매우 희미하게 */
    font-weight: 700;
    text-align: center;
    pointer-events: none;
    white-space: nowrap;
    user-select: none;
    font-family: 'Pretendard', sans-serif;
    line-height: 1.5;
    text-shadow: 0 0 8px rgba(128, 128, 128, 0.03);
    letter-spacing: 2px;
    transform-origin: center center;
}

/* 워터마크 사용자 정보 */
.watermark .user-info {
    font-size: 24px;
    margin-bottom: 8px;
    font-weight: 800;
}

/* 워터마크 IP 정보 */
.watermark .ip-info {
    font-size: 18px;
    opacity: 0.7;
    font-weight: 600;
}

/* 모바일에서 워터마크 스타일 조정 */
@media (max-width: 768px) {
    .watermark-signature {
        font-size: 16px;  /* 12px → 16px로 증가 */
        bottom: 70px !important;  /* 25px → 70px, 모바일 하단 패널 위로 이동 */
        color: rgba(0, 0, 0, 0.1);  /* 데스크톱과 동일한 불투명도 */
        font-weight: 400;  /* 굵기 증가 */
        z-index: 1001 !important;  /* z-index 증가 */
    }

    .watermark-container {
        /* 모바일에서도 표시하되 적당히 보이게 */
        opacity: 0.8;
    }

    .watermark {
        font-size: 16px;  /* 14px → 16px로 증가 */
        color: rgba(128, 128, 128, 0.07); /* 데스크톱과 동일한 불투명도 */
        font-weight: 600;  /* 굵기 증가 */
    }

    .watermark .user-info {
        font-size: 20px;  /* 18px → 20px로 증가 */
        font-weight: 700;
    }

    .watermark .ip-info {
        font-size: 16px;  /* 14px → 16px로 증가 */
        font-weight: 500;
    }
}