@charset "utf-8";
@import url('style.css');


hr.padding {
	display: none !important;
}

::selection {
    background: var(--cha-color);
    color: white;
    /* 선택된 텍스트 색상 (필요하면 변경) */
}

.all-section {
    width: 100vw;
    height: 100vh;
    display: flex;
    position: fixed;
    bottom: 0;
    right: 0;
}

.cha-a-s {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 50px;
    z-index: 10001;
    position: fixed;
    gap: 75vh;
    left: 0;
    top: 20px;
}

.a-s-option {
    display: flex;
    flex-direction: column;
    flex: 0.9;
    align-items: center;
    width: 30px;
	gap: 10px;
}

.a-s-option .cha-info-btn {
    color: #eee;
}

.linkcopyload_btn {
    color: #eee;
    font-size: 15px;
}

.a-s-option .cha-info-btn:hover,
.linkcopyload_btn:hover {
    color: #fff;
    text-shadow: 0 0 5px #bbb, 0 0 15px #fff, 0 0 35px #bbb, 0 0 40px #ffffff;
}

.cha-bgm {
    position: fixed;
    bottom: 3%;
}

#bgm-player {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

#bgm-player {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

#play-pause-btn {
    cursor: pointer;
    border-radius: 10px;
    background: #333;
    border: 0;
    width: 30px;
    height: 30px;
    color: white;
    font-size: 15px;
    position: relative;
    left: 35px;
    bottom: 0px;
}

#volume-bar {
    -webkit-appearance: none;
    appearance: none;
    width: 100px;
    /* 바의 길이 (높이로 나타남) */
    height: 6px;
    /* 바의 두께 (세로로 했을 때 너비로 보임) */
    background: #ccc;
    border-radius: 5px;
    cursor: pointer;
    /* 세로로 회전 */
    transform: rotate(-90deg);
    transform-origin: center;
    position: relative;
    top: -50px;

}

#volume-bar::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    background: #555;
    border-radius: 50%;
    cursor: pointer;
}

.cha-b-s {
    position: fixed;
    left: 180px;
    bottom: 0px;
    height: 75%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cha-name {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.cha-name-en,
.cha-name-ko {
    color: #fff;
}

.cha-name-en {
    font-family: "Playfair Display", serif;
    font-size: 100px;
    line-height: 0.9;
    text-shadow: 0 0 2px rgba(0, 0, 0, 0.4), 0 0 10px rgba(85, 85, 85, 0.7), 0 0 20px rgba(187, 187, 187, 0.3), 0 0 30px rgb(255 255 255 / 50%);
}


/* 한자, 일본어 */
.cha-name-en.cjk-ja {
    font-family: "Zen Antique", serif;
}

/* 중국어 */
.cha-name-en.cjk-zh {
    font-family: "Noto Serif SC", serif;
}

.cha-name-ko {
    font-size: 17px;
    font-family: 'NanumSquare';
    letter-spacing: 6px;
    position: relative;
    left: 10px;
    text-shadow: 0 0 5px #000000, 0 0 15px #333, 0 0 35px #555, 0 0 40px #777;
}

.cha-one-liner {
    position: relative;
    font-size: 22px;
    font-family: 'ChosunSm';
    font-style: italic;
    left: 40px;
    top: 15px;
    color: rgb(255 255 255 / 95%);
    -webkit-animation: tracking-in-expand 3s cubic-bezier(0.215, 0.610, 0.355, 1.000) both;
    animation: tracking-in-expand 3s cubic-bezier(0.215, 0.610, 0.355, 1.000) both;
    text-shadow: 0 0 3px rgba(0, 0, 0, 1), 0 0 10px rgba(85, 85, 85, 0.7), 0 0 20px rgb(255 255 255 / 80%);
}

.cha-one-liner::before {
    content: "“";
    position: absolute;
    font-size: 45px;
    top: 0px;
    left: -15px;
    opacity: 0.5;
}

.cha-one-liner::after {
    content: "";
}

.cha-c-s {
}

.cha-body-img {
    max-width: 100%;
    height: auto;
}

.cha-c-option {
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    align-items: center;
    position: fixed;
    height: 100%;
    right: 10px;
    z-index: 500;
    /* filter: drop-shadow(2px 2px 4px rgba(255, 255, 255, 0.4)); */
}

.cha-c-option .thumbnail {
    border: 1px inset #999;
    border-radius: 50px;
    background: linear-gradient(300deg, rgb(20 20 20) 25%, rgb(133 133 133) 100%);
    filter: brightness(0.5) drop-shadow(0px 0px 3px rgba(0, 0, 0, 0.5));
    overflow: hidden;
}

.cha-c-option .thumbnail:hover {
    filter: brightness(1);
    border: 2px groove var(--cha-border-color);
    filter: brightness(0.9) drop-shadow(0px 0px 3px white);
    background: var(--cha-border-color);
}

.main-body-image {
    opacity: 0;
    animation: cha-right 1s ease-out forwards; /* 애니메이션 유지 */
    animation-delay: 1s;
	position: absolute;
    right: 0;
    height: 100%;
    overflow: scroll;
}

@keyframes cha-right {
    0% {
        opacity: 0; 
        transform: translate3d(10%, 0, 0);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.cha-head {
    position: fixed;
    width: 200px;
    bottom: 60px;
    left: 250px;
    transform: rotate3d(2.5, 1.2, 1.5, 320deg);
	filter: brightness(0.8) drop-shadow(-20px 20px 5px rgba(0, 0, 0, 0.7));
	transition: 1s;
}

.cha-head:hover {
    transform: rotate3d(22.5, 7, 2.5, 328deg);
	filter: brightness(1.05) drop-shadow(-5px 20px 5px rgba(0, 0, 0, 0.5));
}

.cha-head-img:hover {
	filter: drop-shadow(0px 0px 3px white);
}

.glow-line-container {
    position: fixed;
    bottom: 300px;
    left: 330px;
    width: 200px;
	transform: rotate(-50deg);
}

.glow-line {
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, #ffffff00 20%, #ffffff 50%, #ffffff00 90%);
    animation: drawLine 2s forwards;
    pointer-events: none;
}

.line-text {
    position: absolute;
    top: 0px;
    right: -40px;
    color: #eee;
    opacity: 0;
    transform: rotate(50deg);
    animation: fadeInText 1s forwards;
    animation-delay: 2s;
    line-height: 1.5;
}

.line-text div {
    border-radius: 15px;
    /* border: 1px solid rgba(200, 200, 200, 0.2); */
    padding: 2px 15px;
    margin: 2px 0px;
    letter-spacing: 0px;
    font-family: 'NanumSquare';
    font-size: 14px;
    font-weight: 500;
    text-shadow: 0 0 3px #000000, 0 0 5px #333, 0 0 10px #555;
}

.line-text div:hover {
    filter: brightness(0.7) blur(1px);
}

/* 라인이 왼쪽에서 오른쪽으로 그려지는 애니메이션 */
@keyframes drawLine {
  from { width: 0; }
  to { width: 100%; }
}

/* 텍스트가 서서히 나타나는 애니메이션 */
@keyframes fadeInText {
  from { opacity: 0; }
  to { opacity: 1; }
}

.cha-d-s {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scaleX(0);
    opacity: 0; /* 기본적으로 투명하게 숨김 */
    display: none; /* 기본적으로 숨김 */
    transition: transform 0.5s ease-in-out, opacity 0.3s ease-in-out;
	overflow-y: scroll;
	filter: drop-shadow(10px 20px 6px rgba(0, 0, 0, 0.7));
	max-width: 900px;
    max-height: 600px;
	box-sizing: border-box;
}

.cha-pro-area {
    display: flex;
    padding: 70px;
    width: 900px;
    border-radius: 20px;
    border: 2px groove #333;
    background: linear-gradient(180deg, rgba(31, 31, 31, 1) 0%, rgba(60, 60, 60, 1) 40%, rgba(90, 90, 90, 1) 100%);
    justify-content: center;
}

.cha-d-s-close-area {
    position: fixed;
    top: 10px;
    right: 20px;
}

button#cha-d-s-close {
    background: none;
    border: 0;
    font-size: 35px;
    color: #666;
    font-family: 'NanumSquare';
    font-weight: 100;
}

.cha-profile {
    display: none; /* 기본적으로 숨김 */
}

.cha-profile.active {
    display: block; /* 활성화된 프로필만 표시 */
}

.cha-d-btn {
	text-align: right;
    margin-bottom: 20px;
}

.cha-d-btn button {
    background-color: #232323;
    position: relative;
    top: 25px;
    color: white;
    padding: 10px 5px;
    cursor: pointer;
    font-size: 15px;
    border-style: groove;
    border-color: #333;
    border-width: 2px 0px 2px 2px;
    border-radius: 5px 0px 0px 5px;
    transition: background 0.3s ease;
}

.cha-d-btn button:hover {
    background-color: var(--cha-color);
}

.cha-profile {
    width: 100%;
    text-align: justify;
    line-height: 1.7;
    white-space: pre-line;
    font-family: 'Chosunilbo_myungjo';
    max-height: 700px;
    overflow-y: auto;
    position: relative;
    top: 0px;
    box-sizing: border-box;
}

.deco-app, .deco-pro, .deco-etc {
    left: 10px;
    font-size: 25px;
    font-style: italic;
    font-family: 'ROEHOE-CHAN';
    color: #777;
    pointer-events: none;
}

.deco-app {
    position: absolute;
	opacity: 0.4;
	z-index: 1;
}

.deco-pro {
    position: absolute;
    opacity: 0.4;
}

.deco-etc {
    position: absolute;
    opacity: 0.4;
}

.cha-app {
    background: linear-gradient(45deg, #171717 65%, transparent);
    padding: 35px 40px 30px;
    border-radius: 10px;
    color: #eee;
    font-family: nanumsquare;
    line-height: 1.7;
    font-size: 13px;
    text-align: justify;
    letter-spacing: -0.5px;
}

.cha-pro {
    font-family: 'Chosunilbo_myungjo';
    font-size: 14px;
    letter-spacing: -0.5px;
    padding: 0px 0px 0px 20px;
    position: relative;
    color: #eee;
    text-shadow: 0 0 3px #000, 0 0 5px #444, 0 0 10px #888;
}
	
.cha-etc {
    background: linear-gradient(45deg, #171717 65%, transparent);
    padding: 35px 40px 30px;
    border-radius: 10px;
    color: #eee;
    font-family: nanumsquare;
    line-height: 1.7;
    font-size: 13px;
    text-align: justify;
    letter-spacing: -0.5px;	
}

.cha-e-s {
    width: 100%;
    height: 50px;
    display: flex;
    position: fixed;
    top: 20px;
    left: 80px;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}

.cha-another {
    width: 50px;
    height: 50px;
    overflow: hidden;
    border-radius: 15px;
    background: linear-gradient(300deg, rgb(20 20 20) 25%, rgb(133 133 133) 100%);
    filter: brightness(0.7);
    opacity: 0.5;
}

.cha-another:hover {
	filter: brightness(1) drop-shadow(0px 0px 6px #fff);
	opacity: 1;
}


.cha-another img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bg-container {
    background: linear-gradient(300deg, rgb(20 20 20) 25%, rgb(66 66 66) 100%);
    background-size: cover;
    background-position: center;
    width: 100vw;
    height: 100vh;
    position: fixed;
    z-index: -1;
}

.bg-effect {
    width: 100vw;
    height: 100vh;
    bottom: 0;
    position: fixed;
    z-index: -1;
    background: linear-gradient(180deg, rgba(255,255,255,0) 50%, rgba(255,255,255,0.5) 100%);
    backdrop-filter: blur(3px);
}


/* ----------------------------------------------
 * Generated by Animista on 2025-3-19 0:46:16
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info. 
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */

/**
 * ----------------------------------------
 * animation tracking-in-expand
 * ----------------------------------------
 */
@-webkit-keyframes tracking-in-expand {
  0% {
    letter-spacing: -0.5em;
    opacity: 0;
  }
  40% {
    opacity: 0.6;
  }
  100% {
    opacity: 1;
  }
}
@keyframes tracking-in-expand {
  0% {
    letter-spacing: -0.5em;
    opacity: 0;
  }
  40% {
    opacity: 0.6;
  }
  100% {
    opacity: 1;
  }
}


/* 반응형 스타일 */
@media (max-width: 768px) {

    .character-item {
        margin: 0;
    }

    .gallery-modal-close {
        top: 50px;
    }

    .all-section {}

    .cha-a-s {
        display: flex;
        width: 95%;
        height: 50px;
        z-index: 10001;
        position: fixed;
        gap: 0px;
        left: 2.5%;
        top: 0;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .a-s-option {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 10px;
    }

    .cha-bgm {
        position: relative;
        bottom: 0;
    }

    #volume-bar {
        transform: none;
        transform-origin: center;
        position: relative;
        top: 0;

    }

    #play-pause-btn {
        left: 0;
    }

    .cha-b-s {
        display: flex;
        width: 100%;
        left: 0;
        height: 93%;
    }

    .cha-one-liner {
        top: 0;
    }
    
    .cha-comment {
        display: none;
    }

    .cha-img {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 5px;
        height: 100%;
    }

    .cha--thumb {
        position: absolute;
        height: 80px;
        top: 30px;
        background-image: none !important;
        border: 0;
        display: flex;
        flex-direction: row;
        justify-content: flex-end;
    }

    .character-sd img {
        max-height: 60px;
    }

    .cha-gall {
        position: absolute;
        width: 20%;
        height: 80%;
        top: 120px;
        border-radius: 5px;
        box-sizing: border-box;
        overflow: scroll;
        padding: 10px;
        max-height: 85%;
        filter: saturate(0.7) opacity(0.7);
    }

    .gallery-container {
        grid-template-columns: repeat(1, 1fr);
        grid-gap: 2px;
    }

    .cha-c-s {
        width: 100%;
        height: 95%;
        display: inline-flex;
        flex-wrap: nowrap;
        flex-direction: row;
        position: absolute;
        right: 0;
        bottom: 0;
        justify-content: flex-end;
        align-items: flex-end;
    }

    .cha-c-option {
        scale: 0.7;
        translate: 10px;
    }

    .main-body-image {
        z-index: 10;
        pointer-events: none;
    }

    .cha-body-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: bottom;
    }

    .cha-e-s {
        top: 5px;
        left: 50%;
        transform: translateX(-50%);
        width: fit-content;
        justify-content: center;
        z-index: 10000000;
    }
    .cha-another {
        width: 30px;
        height: 30px;
        border-radius: 6px;
    }

    .mobile-comment-toggle {
        display: block;
        margin: 15px 0;
        text-align: center;
        position: fixed;
        bottom: 0;
        left: -5px;
        z-index: 10000;
    }

    .mobile-comment-toggle button {
        padding: 8px 15px;
        background: var(--color-bg);
        color: var(--color-text);
        border-radius: 4px;
        font-size: 14px;
        border: 0;
        filter: drop-shadow(2px 2px 0px rgba(0, 0, 0, 0.5));
    }

    .mobile-comment-toggle button.active {
        color: var(--color-bg);
        background: var(--color-text);
    }

    .cha-a-s {
        display: flex;
        width: 95%;
        height: 50px;
        z-index: 10001;
        position: fixed;
        gap: 0px;
        left: 2.5%;
        top: 0;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .toggle-button {
        display: block;
    }

    .cha-header {
        padding: 0;
        position: relative;
        top: 40px;
        left: 0px;
        z-index: 10;
        transform: scale(0.8);
    }

    .cha-header-width {
        width: 80%;
    }

    .cha-title {
        font-size: 50px;
        white-space: nowrap;
    }

    .cha-title::before {
        height: 30px;
        left: -15px;
    }

    .cha-name {
        scale: 0.7;
        translate: -40px;
        gap: 10px;
    }

    .cha-one-liner {
        width: 95%;
        padding-left: 0;
        padding: 10px;
        letter-spacing: -0.3px;
        line-height: 1.3;
        position: relative;
        top: -15px;
        left: 30px;
        z-index: 20;
        font-size: 23px;
        word-break: keep-all;
        white-space: pre-wrap;
    }

    .cha-one-liner::before {
        top: -5px;
        left: -5px;
    }
    
    .cha-flex {
        flex-direction: column;
    }

    .cha-d {
        z-index: 100;
    }

    .cha-head {
        position: fixed;
        width: 150px;
        bottom: 20px;
        left: 30px;
        transform: rotate3d(6.5, 2, 1.5, 320deg);
        filter: brightness(0.8) drop-shadow(-20px 20px 5px rgba(0, 0, 0, 0.7));
        transition: 1s;
    }

    .glow-line-container {
        left: 0;
        top: 60%;
        transform: rotate(0deg) translate(0px, -60%);
    }

    .glow-line {
        display: none;
        animation: none;
    }

    .line-text {
        position: fixed;
        display: flex;
        top: 0;
        bottom: 0;
        right: 0;
        left: 10px;
        transform: rotate(0deg);
        line-height: 1.3;
        flex-direction: column;
        justify-content: flex-end;
        align-items: flex-start;
        align-content: flex-start;
        flex-wrap: nowrap;
    }

    .cha-d-s {
        display: none;
        position: absolute;
        margin: 0;
        padding: 10px;
        top: 50%;
        left: 50%;
        width: 100%;
        height: 100%;
    }

    .cha-d-s.active {
        display: flex;
    }

    button#cha-d-s-close {
        font-size: 30px;
        padding: 5px;
    }

    .cha-pro-area {
        padding: 30px;
        width: 95%;
        box-sizing: border-box;
    }

    .cha-pro { 
        font-size: 1rem;
        text-align: justify;
        letter-spacing: -0.2px;
    }

    .character-body {
        position: absolute;
        width: 100%;
        height: 100%;
        z-index: 10;
    }

    .cha-info-flex {
        position: absolute;
        top: 100px;
        left: -50px;
        transform: scale(1);
    }

    .bg-effect::before {
        content: "";
        position: absolute;
        height: 100%;
        width: 100%;
        z-index: -20;
        background-image: var(--cha-bg);
        background-position: 40% 20%;
        opacity: 0.2;
        filter: saturate(0.5);
    }

    .character-content {
        justify-content: flex-start;
        height: 95%;
        background: linear-gradient(35deg, rgb(10 10 10 / 100%) 50%, rgba(85, 85, 85, 0.7) 100%);
        padding: 20px 25px;
    }

    .character-details {
        line-height: 1.7;
    }
}