@charset "utf-8";

[v-cloak] { display: none; }

/* 웹 접근성: 스크린 리더 전용 숨김 텍스트 */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* 웹 접근성: 본문 건너뛰기 링크 */
.skip-nav {
    position: absolute;
    top: -100%;
    left: 0;
    z-index: 9999;
    padding: 0.5rem 1rem;
    background: #000;
    color: #fff;
    font-size: 0.875rem;
    text-decoration: none;
    border-radius: 0 0 4px 0;
}

.skip-nav:focus {
    top: 0;
}

/* 웹 접근성: 동작 줄이기 설정 대응 */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* 클라이언트 정보 */
#client {
    cursor: pointer;
    margin: 0 0 0.5rem 0;
}

#client:focus {
    outline: 2px solid #333;
    outline-offset: 4px;
    border-radius: 2px;
}

@font-face {
    font-family: 'NostalgicCocochoitoon';
    src: url('/resources/css/fonts/Griun_Cocochoitoon-Rg.woff2') format('woff2');
    font-weight: normal;
    font-display: swap;
}

* { font-family: 'NostalgicCocochoitoon' , sans-serif; }

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    -webkit-text-size-adjust: 100%;
    background-repeat: no-repeat;  /* 이미지 한 번만 표시 */
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;

    -webkit-user-select:none;
    -moz-user-select:none;
    -ms-user-select:none;
    user-select:none;

    font-size: 0.8rem;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.5);  /* 흐림 효과 (값이 클수록 더 흐림) */
    backdrop-filter: blur(4px);
    z-index: 0;
}

#vueRoot {
    position: relative;
    z-index: 1;  /* body::before 위에 표시 */
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}