:root {

  --variable-collection-backgraound: rgba(244, 244, 244, 1);
  --variable-collection-white: rgba(255, 255, 255, 1);
  --variable-collection-black: rgba(45, 45, 45, 1);
  --variable-collection-gray-03: rgba(80, 80, 80, 1);
  --variable-collection-gray-02: rgba(175, 175, 175, 1);
  --variable-collection-gray-01: rgba(237, 237, 237, 1);
  --swiper-navigation-size: 34px;

}

* { box-sizing: border-box; }
.row { display: flex; width: 100%; }
.column { height: 45px; }
.left { width: 40%; }
.right { width: 60%; text-align: right; }

a:link,a:visited { color:#ec9f19;text-decoration:none; }
a:hover { color:#bd7f14; text-decoration: underline; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "맑은 고딕", "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
    font-size:15px;
    line-height: 1.4;
    color: #e0e0e0;
    width:97%;
    max-width: 1100px;
    margin: auto;
    background-color:rgb(11, 11, 11);
    box-sizing: border-box;
}

.mainframe {
    border:0px solid #a1a1a1;
    border-radius: 1em;
    padding: 15px;
    margin-top: 10px;
    margin-bottom: 10px;
    background-color: #1c1d1f;
    box-sizing: border-box;
}

hr{ width: 100%; border:1px solid #303030; }
.searchbox { width: 350px; }

ins.adsbygoogle[data-ad-status="unfilled"] {
    display: none !important;
}
.image_embed > img { max-width: 80%; }
div.gsc-cursor-box { display : none; }
div.gs-size { display : none; }
div.gsc-search-box { display : none; }

h3 { font-size: 17px; }
h2 { font-size: 18px; }
h1 { font-size: 22px; }

.kakao-login-btn {
  cursor: pointer;
  width: 95px;
  height: 23px;
  aspect-ratio: 183/45;
  text-align: right;
  object-fit: contain;
}

input, textarea {
    background-color: black;
    border: 1px solid; 
    border-color: var(--variable-collection-gray-02);
    border-radius: 5px;
    color: white;
}
a.site_link {
    color: rgb(73, 197, 24);
    font-size: 14px;
    padding-left: 20px;
    position: relative;
    display: inline-block;
}

a.site_link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    border: 2px solid rgb(73, 197, 24);
    border-radius: 50%;
}

/* 화살표 추가 */
a.site_link::after {
    content: '';
    position: absolute;
    left: 8px;
    top: 50%;
    width: 6px;
    height: 2px;
    background: rgb(73, 197, 24);
    transform: translateY(-50%);
}
.inputsearch { width: 380px; }
.box_text {
  position: absolute;
  bottom: 0;          /* 아래쪽에 고정 */
  left: 0;            /* 왼쪽 정렬 */
  width: 100%;        /* 부모 너비에 맞춤 */
  min-height: 90px;   /* 최소 높이 설정 */
  padding: 10px;      /* 여유 있는 패딩 */
  box-sizing: border-box; /* 패딩을 너비에 포함 */
  
  display: -webkit-box;       /* 플렉스 박스 레이아웃 */
  -webkit-line-clamp: 2;      /* 최대 2줄로 제한 */
  -webkit-box-orient: vertical; /* 수직 방향 레이아웃 설정 */
  overflow: hidden;           /* 넘침 방지 */
  text-overflow: ellipsis;    /* ... 처리 */
}

.movie_box_text {
    padding: 8px 12px 12px;
    min-height: 80px;
    max-height: 100px;
    overflow: hidden;
    flex-grow: 1;
    background: transparent; /* 배경 제거 */
    position: relative; /* absolute 제거 */
    
    /* 기본 텍스트 스타일 */
    color: #e0e0e0;
    line-height: 1.4;
}

.movie_box_text a {
    display: block;
    line-height: 1.3;
    margin-bottom: 4px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    word-break: break-word;
    color: #ec9f19;
    text-decoration: none;
    font-weight: bold;
}

.movie_box_text a:hover {
    color: #bd7f14;
    text-decoration: underline;
}

.layout_1 { min-width: 120px; padding-right: 10px; }
.list_layout_1 { float: left; aspect-ratio: 1; min-width: 120px; width: 140px; padding-right: 20px; }
.layout_1 > img { 
    border-radius: 7%;
    width: 100%;
    height: auto;
    aspect-ratio: 1; /* 이미지 비율 지정 */
}
.layout_2 { float: left; width: 100%; min-width: 0; /* 오버플로우 방지 */ }
.layout_3 { 
    width: 340px;
    margin: 10px 0;
    visibility: hidden; /* display: none 대신 사용 */
    position: absolute; /* 또는 필요에 따라 */
}

.profile_img { width: 120px; border-radius: 7%; }
.profile_width { width: 120px; }
.flex_parent {
  display: flex;
  flex-wrap: wrap;
  gap: 14px; /* margin 대신 gap 사용 */
}

.flex_child {
  flex: 0 0 110px; /* flex-grow: 0으로 고정 */
  /* min-width 제거하고 width로 통일 */
  width: 110px;
  height: 250px;
  border: 1px solid #373737;
  border-radius: 1em;
  position: relative;
  overflow: hidden;
}

.flex_child img {
  width: 110px;
  height: auto;
  aspect-ratio: 1; /* 이미지 비율 고정 */
}

.profile-image-container {
    width: 100%; 
    height: 160px; 
    border-radius: 1em;
    background-size: cover;
    background-position: center center;
}

.main-profile-image-container {
    width: 100%; 
    height: 170px;
    margin-top: 10px;
    border-radius: 1em;
    background-size: cover;
    background-position: center center;
}

.embed-image-container {
    width: 100%; 
    height: 170px; 
    border-radius: 0.7em;
    background-size: cover;
    background-position: center center;
}

.flex_embed_child {
    flex: 1;
    min-width: 90px;
    max-width: 120px;
    margin-right: 7px;
    margin-left: 7px;
    margin-bottom: 10px;
    max-height: 170px;
    position: relative;
    overflow: hidden;
}

.list-image-container {
    width: 100%;
    height: 150px;
    border-radius: 1em;
    aspect-ratio: 3/4;
    background-color: #f0f0f0; /* 이미지 로드 전 표시될 배경색 */
}

#pagin {
  clear: both;
  list-style: none;
  padding: 0;
  text-align: center;
  display: flex;
  justify-content: center;
  gap: 4px;
  margin: 30px 0;
}

#pagin li {
  display: inline-block;
}

#pagin li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: #888;
  font-weight: 500;
  font-size: 14px;
  border-radius: 8px;
  background: transparent;
  border: 1px solid #333;
  text-decoration: none;
  transition: all 0.2s ease;
}

#pagin li a.current {
  color: #fff;
  background: #4a9eff;
  border-color: #4a9eff;
  box-shadow: 0 2px 8px rgba(74, 158, 255, 0.3);
}

#pagin li a:hover:not(.current) {
  color: #fff;
  background: #333;
  border-color: #444;
}

.lazyload {
    opacity: 0;
}
.lazyloading {
    opacity: 1;
    transition: 600ms opacity;
    background: #f7f7f7 url("https://cdn.udanax.org/icons/loader.gif") no-repeat center;
    min-height: 60px;
    max-height: 70px;
}
.lazyloaded {
    opacity: 1;
    transition: 10ms opacity;
}
.ratio-container {
    position: relative;
}
.ratio-container:after {
    content:'';
    display: block;
    height: 0;
    width: 100%;
    /* 16:9 = 56.25% = calc(9 / 16 * 100%) */
    padding-bottom: 50%;
    content:"";
}
.ratio-container > * {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.logo { font-size:28px;font-weight: bold; }

.review_layout {
  aspect-ratio: 1;
  width: 48px;
  min-width: 48px;
  margin-right: 10px;
}

.review-image-container {
  width: 48px;      /* 또는 48px */
  height: 48px;     /* 또는 48px */
  background-color: #f0f0f0;
  background-size: cover;
  background-position: top;
  border-radius: 50%;  /* 원형으로 만듦 */
  aspect-ratio: 1 / 1; /* 정사각형 비율 유지 */
}

.review_container {
  flex: 1;
  overflow: hidden;
}

.review_center {
  line-height: 1.4;
}

#adsense_wide { margin-top:10px; margin-bottom:10px; max-width: 1100px; max-height: 100px; }
#adsense_square { display:none; }
#image_area { height: 250px; }
.user_comment { padding-left: 5px; padding-right: 5px; word-wrap: break-word; }
.user_comment > img { max-width:100% !important; height:auto !important; }
.user_comment > p, iframe { max-width: 100%; margin: 0 auto; display: block; }
.bottom_nav { font-size: 19px }


.main-profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 이미지 비율을 유지하면서 컨테이너에 맞추기 */
    border: 1px solid #373737;
    border-radius: 1em;
}

.movie_flex_child {
    min-height: 320px;
    height: 320px;
    display: flex;
    flex-direction: column;
    border: 1px solid #373737;
    border-radius: 1em;
    overflow: hidden;
    position: relative;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateZ(0);

    width: 130px;
    min-width: 130px;
    max-width: 130px;
    flex-shrink: 0;
}

.book_flex_child {
    flex: 1;
    min-width: 100px;
    max-width: 110px;
    border: 1px solid #373737; border-radius: 1em;
    margin-right: 7px;
    margin-left: 7px;
    margin-bottom: 10px;

    position: relative;
    overflow: hidden;
    min-height: 270px;
}

.music_flex_child {
    flex: 1;
    min-width: 110px;
    max-width: 120px;
    border: 1px solid #373737; border-radius: 1em;
    margin-right: 7px;
    margin-left: 7px;
    margin-bottom: 10px;

    position: relative;
    overflow: hidden;
    min-height: 270px;
}

.image-container {
    height: 200px;
    border-radius: 12px;
    margin: 0px;
    width: 100%;
    background-color: #2a2a2a;
    overflow: hidden;
    background-size: cover;
    background-position: center center;
    background-image: linear-gradient(90deg, #2a2a2a 25%, #3a3a3a 50%, #2a2a2a 75%);
}

.image-container.loaded {
    animation: none;
    background-image: none;
}

.book-image-container {
    width: 100%; 
    height: 160px; 
    border-radius: 1em;
    background-size: cover;
    background-position: center center;
}

.music-image-container {
    width: 100%; 
    height: 110px; 
    border-radius: 1em;
    background-size: cover;
    background-position: center center;
}

.vote_container{
  width: calc(100% - 10px);  
  margin-right: 10px;
  margin-top: 10px;
  display: flex; justify-content: flex-end;
  height: 28px;
  display: grid;
  grid-template-columns: 20px auto 20px auto;
  grid-column-gap: 5px;
}
/* auto 영역에 최소 너비 설정 */
.vote_container > *:nth-child(2),
.vote_container > *:nth-child(4) {
  min-width: 30px; /* 원하는 최소 너비 값으로 설정 */
}

.vote_item{
  font-weight: bold;
  font-size: 14px;
  text-align: center;
}


.more-button { 
  border: 1px solid #F5F5F5; 
  height: 35px;
  cursor: pointer;
  
  text-align: center;

  padding: 8px;
  background-color: var(--variable-collection-gray-03);
  border-radius: 16px;
  border: 1px solid;
  border-color: var(--variable-collection-gray-03);

  color: var(--variable-collection-white);
  font-size: 14px;
  text-align: center;
}

.buttonStyle {
  width: 100px;
  height: 35px;
  cursor: pointer;
  
  background-color: var(--variable-collection-black);
  border-radius: 16px;
  border: 1px solid;
  border-color: var(--variable-collection-gray-02);


  color: var(--variable-collection-white);
  font-size: 14px;
  text-align: center;
  white-space: nowrap;

}

.content {
  background: #282828; 
  border-radius: 15px;
  padding: 5px;
  margin-bottom: 10px;
}

li{ margin-bottom:5px; }

.right-square-ad { display: block; margin-top: 10px; width: 100%; }

.responsive-table-container { overflow-x: auto; }

.responsive-table {
  display: table;
  width: 100%;
  border-collapse: collapse;
}

.table_row {
  display: table-row;
  border-bottom: 1px solid #404040; /* 아랫쪽 경계를 표시하는 스타일 추가 */
}

.cell {
  display: table-cell;
  padding-top: 8px;
  padding-bottom: 10px;
  text-align: left;
}

.header .cell { font-weight: bold; }
.writer { width: 150px; text-align: center; }
.wdate { width: 150px; text-align: center; }
.counter { width: 70px; text-align: center; }
.reply { width: 70px; text-align: center; }
#counts { display: none; }
#lcounts { display: block; }

.secondtd { width: calc(100% - 400px); }
.editors { margin-top: 10px; float: left; text-align: left; }

.searchbound {
    width: 250px;
}

.td_class {
    width: 80px;
}

#suggestions {
    border: 1px solid #303030;
    max-height: 150px;
    overflow-y: auto;
    display: none;
    position: absolute;
    background: #404040;
    z-index: 1000;
    width: 380px;
    right: 53px;
}

.suggestion-item {
    padding: 8px;
    cursor: pointer;
    text-align: left;
}
.suggestion-item:hover {
    background: #1c1d1f;
}

#youtube_box {
    display: inline-block;
    margin-left: 5px;
    margin-right: 5px;
    margin-bottom: 10px;
    width: 330px;
    min-height: 220px; /* iframe 높이만큼 미리 공간 확보 */
}

#youtube_iframe {
    border-radius: 15px !important;
    border: 1px;
    height: 220px;
    width: 100%;
}

.index_list {
    height: 50px; display: list-item;
}

.swiper-container {
    width: calc(100% - 40px);
    overflow: hidden; /* 보이지 않는 카드가 보이지 않도록 설정 */
    position: relative; /* 버튼 위치 기준을 위해 relative 설정 */
}

.swiper_flex_child {
    text-align: left;
    min-width: 80px;
    max-width: 110px;
    flex: 1;
    border: 1px solid #373737; border-radius: 1em;
    margin-right: 7px;
    margin-left: 7px;
    margin-bottom: 10px;
    height: 250px;
    position: relative;
    overflow: hidden;
}

.swiper-button-next,
.swiper-button-prev {
    position: absolute; /* 절대 위치 설정 */
    top: 50%; /* 수직 중앙 정렬 */
    transform: translateY(-50%); /* 수직 중앙 정렬을 위한 변환 */
    z-index: 10; /* 버튼이 다른 요소 위에 표시되도록 설정 */
}

.swiper-button-next {
    right: -6px; /* 오른쪽 여백 */
}

.swiper-button-prev {
    left: -6px; /* 왼쪽 여백 */
}

.swiper-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: flex;
  transition-property: transform;
  box-sizing: content-box;
}

.swiper-slide {
    width: 110px; /* 각 슬라이드 너비 설정 */
    margin-right: 0px;
    box-sizing: border-box; /* 패딩과 테두리 포함하여 계산 */
}

.form-group input {
    border: 1px solid;
    border-color: var(--variable-collection-gray-02);
    border-radius: 5px;
    height: 27px;
}

.profile-details {
    min-height: 150px;
    margin-bottom: 10px;
    line-height: 1.5;
    max-width: 500px;
    overflow-wrap: break-word;
}

.profile-header h2 {
    margin-bottom: 1em;
    font-display: optional;
}

.sub-text {
    display: inline-block;
    color: #909090;
    font-size: 11px;
}

.profile-info {
    display: flex;
    flex-direction: column;
    gap: 0.1rem; /* 모든 행 간의 간격을 0.5rem으로 통일 */
}

.info-item {
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 2px; /* 원하는 간격 설정 */
    min-height: 24px;
    align-items: baseline;
}

.info-item dt {
    font-weight: bold;
}

.info-item dd {
    margin: 0;
}

.bold_style {
    font-weight: bold;
    width: 50px;
    display: inline-block;
}

/* 터미널 스타일의 로고 */
a.logo {
  text-decoration: none;
}

a.logo:hover {
  text-decoration: none;
}

.logo {
  font-weight: bold;
  font-size: 24px;
  letter-spacing: 2px;
}

/* 깜빡이는 애니메이션 정의 */
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

a.basic_link {
    color: rgb(73, 197, 24);
    font-size: 14px;
    position: relative;
    display: inline-block;
}

@keyframes movieImageLoading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}


@media screen and (max-width: 800px) {
    body { font-size:15.3px; }
    .secondtd { width: 100%; }
    .editors { float: right; text-align: right; }
    .user_comment { font-size: 15px; }
    .searchbox { width:220px; }
    .layout_1 { float: left; width: 130px; }
    .layout_2 {  float: left; }
    .layout_3 {  width: 100%; display: block; }
    .right-square-ad { display:none; width:0px; }
    #adsense_wide { display:none; }
    #adsense_square { display:block; }

    .inputsearch, #suggestions { width: 140px; }
    .profile_img { width: 90px; }
    .profile_width { width: 100px; }

    #youtube_box { width: 98%; }

    .flex_child { font-size:15px; }
    .flex_parent {
      justify-content: flex-start !important;
    }

    .movie_flex_child {
        min-height: 290px;
        height: 290px;
        width: 110px;
        min-width: 110px;
        max-width: 110px;
    }

    .book_flex_child { font-size:15px; min-width: 90px; min-height: 250px; }
    .music_flex_child { font-size:15px; min-width: 90px; min-height: 250px; }

    .list_layout_1 { aspect-ratio: 1; width: 120px; min-width: 100px; padding-right: 10px; }
    .list-image-container{ width: 95px; height: 140px; }
    #index_mob_hide { display:none; }
    #image_area { max-height: 600px; }
    .bottom_nav { font-size: 23px; }
    .image-container {
        height: 180px;
        width: 100%;
    }
    .movie_box_text {
        min-height: 70px;
        max-height: 90px;
        padding: 6px 10px 10px;
    }
    .book-image-container { height: 140px; }
    .music-image-container { height: 100px; }

    .review_center {
      line-height: 1;
    }

    .logo {
      font-size: 22px;
    }

    .table_row {
      display: flex; /* 플렉스 컨테이너로 설정 */
      flex-direction: column; /* 세로 정렬 */
      border-bottom: none;
    }

    .cell { 
      display: block;
    }

    .hide-on-small { 
      display: none; 
    }

    .second-row { 
      display: flex; /* 플렉스 컨테이너로 설정 */
      justify-content: space-between; /* 요소 간 간격 조정 */
      border-bottom: 1px solid #303030;
      font-size: 13px;
      margin-top: -5px;
      text-align: left;
    }

    .second-row .cell {
      flex: 1; /* 동일한 비율로 배치 */
    }

    .writer { 
      width: 28%; /* 기존 비율 유지 */
      flex: 0 0 28%; 
    }

    .counter { 
      width: 25%; 
      flex: 0 0 25%; 
    }

    .reply { 
      width: 19%; 
      flex: 0 0 19%; 
    }

    .wdate { 
      width: 28%; 
      flex: 0 0 28%; 
    }

    #counts { display: block; }
    #lcounts { display: none; }

    .index_list {
      height: 80px; display: list-item;
    }

    :root {
        --swiper-navigation-size: 24px;
    }

    .swiper-container {
        width: calc(100% - 30px);
    }
}

@charset "UTF-8";
.se2_inputarea { background-color: black; color: white; margin: 15px; padding: 0; font-family: 'Noto Sans KR', sans-serif; font-size: 15px; line-height: 1.5; }

@media (max-width: 840px) {
    .se2_inputarea { margin: 15px; font-size: 16px; }
}

.se2_inputarea p, .se2_inputarea br { margin: 0; padding: 0; }

.se2_inputarea { margin: 15px; word-wrap: break-word; }

.se2_inputarea_890 { width: 741px; margin: 20px 0 10px 64px; }

.se2_inputarea_698 { width: 548px; margin: 20px 0 10px 64px; }

.se2_inputarea img { max-width:80%; }

#commentFrame {
  width: 100%;
  height: 260px;
  position: relative;
  display: block;
}

#comment {
  display: none;
  min-height: 200px;
  width: 100%;
  box-sizing: border-box;
  position: absolute;
  top: 0;
  left: 0;
}

#editor::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
}

.icon {
    background: black;
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    border: none;
    height: 40px;
    width: 40px;
    color: #ec9f19;
    font-size: 17px;
    cursor: pointer;
    z-index: 1001;
    border-radius: 0 7px 7px 0;
}

/* 햄버거 아이콘 스타일 추가 */
.icon::before {
    content: '';
    position: absolute;
    top: 13px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background-color: currentColor;
    box-shadow: 
        0 7px 0 currentColor,  /* 중간 줄 */
        0 14px 0 currentColor; /* 하단 줄 */
}

/* hover 효과 유지 */
.icon:hover {
    background-color: #404040;
    color: #ec9f19;
}

.smart-editor {
    box-sizing: border-box;
    width: 100%;
    min-height: 200px;
}

.thumbsup {
  filter: invert(63%) sepia(61%) saturate(382%) hue-rotate(78deg) brightness(97%) contrast(87%);
}

.thumbsdown {
  filter: invert(37%) sepia(74%) saturate(2539%) hue-rotate(341deg) brightness(99%) contrast(95%); 
}
