@charset "utf-8";
/* CSS Document */

/*
First Write : 2025-03-25
*/

/***** 메인 *****/
:root {
  scrollbar-width: none;
}
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html,
body {
  -webkit-text-size-adjust: none; /* 가로세로 전환시 폰트사이즈 고정 */
  -moz-text-size-adjust: none;
  -ms-text-size-adjust: none;
}
body {
  font-family: 'Noto Sans KR', sans-serif, 'Nanum Gothic', '맑은고딕', Malgun Gothic, '돋움', Dotum, '굴림', Gulim, Helvetica, Apple Gothic, Arial, sans-serif;
  font-size: 16px;              /* 기본 폰트 크기 */
  line-height: 1.7;             /* 줄 간격 */
  font-weight: 400;             /* 일반 가중치 */
  letter-spacing: -0.2px;       /* 자간 살짝 조절 */
  touch-action: pan-y;
  overflow-x: hidden;
  background-color: #eee;
  color: #312E35;
}
@media (min-width: 720px) {
  body {
      width: 720px;
      margin: 0 auto;
  }
}
button{
  border: none;
  background-color: transparent;
}
a, a:hover {
  color: #333;
  text-decoration: none;
}
ul, ol {
  list-style: none;
}
.blind {
  position: absolute;
  left: -9999px;
  width: 0;
  height: 0;
  font-size: 0;
  line-height: 0;
}
.mynews-hide {
  display: none !important;
}
/* 레이아웃 */
.mynews{
  background: #FAFAFA;
}
.box_con{
  margin: 0px 0 15px 0;
  padding: 20px 15px 10px;  
  border-radius: 15px; 
}
.bg_shadow{
  background: #ffffff; 
    border: 1px solid #f0f2f5;
  box-shadow: 4px 4px 15px rgba(0, 0, 0, 0.12);
}
.mynews .sectit , .sectit2{
  display: flex;
  justify-content: space-between;
}
.mynews .sectit h1{
  font-size: 16px;
  padding: 0 0 15px;
}

/* 로딩 오버레이 스타일 */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.9);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.loading-overlay.fade-out {
  opacity: 0;
}

.loading-spinner {
  width: 110px;
  height: 110px;
  background-image: url(/images/mynews/ico/loading.svg);
}

.loading-text {
  font-size: 16px;
  color: #494949;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}



/* 상태바 추가 */
.status-bar-container {
  position: sticky;
  top: 0px;
  width: 100%;
  border-bottom: 2px solid #EEEEEE;
  background: #f9fafb;
  z-index: 9;
  overflow: hidden;
}

.status-bar {
  position: absolute;
  bottom: -2px;
  height: 4px;
  background-color: #4482E9;
  transition: transform 0.3s ease, width 0.3s ease;
}

.menu-tabs {
  position: relative;
  display: flex;
  justify-content: space-evenly;
  padding: 0 15px;
  width: 100%;
}

.menu-tab {
  flex: 1;
  font-size: 19.2px;
  cursor: pointer;
  position: relative;
  text-align: center;
  font-weight: 500;
  font-size: 14px;
  padding: 13px 10px 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.3s ease;
}

.menu-tab.active {
  color: #2563EB; ;
  font-weight: 700;
}

@media screen and (max-width: 360px) {
  .menu-tab {
    font-size: 12px;
    padding: 13px 5px 11px;
  }
  
  .menu-tabs {
    margin: 0 10px;
    width: calc(100% - 20px);
  }
}


.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 720px;
  background: #ffffff;
  border-top: 1px solid #e5e7eb;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 10px 0 8px;
  z-index: 98;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}
.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 12px;
  color: #333;
  font-weight: 600;
  gap: 2px;
  opacity: 0.25;
  transition: opacity 0.5s ease;
}

.nav-item img {
  width: 22px;
  height: 22px;
}

.nav-item.active {
  opacity: 1;
}

.nav-center-button {
  width: 56px;
  height: 56px;
  background: #4482E9;
  border-radius: 50%;
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translateY(-20%);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.nav-center-button img {
  width: 28px;
  height: 28px;
}

/* 스크롤 되는 영역 */
.content-container {
  padding: 20px;
  background: #f5f5f5;
}

.content-box {
  padding: 20px;
  background: white;
  margin-bottom: 10px;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}


.image-slider {
  overflow: hidden;
}

.slider-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.swiper-myNews {
  height: 100%;
  overflow-x: hidden;
  overflow-y: hidden;
}

.slides {
  width: 100%;
  padding: 0 15px;
}

.news-list {
  margin-top: 20px;
}

.news-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  background: white;
  border-radius: 10px;
  padding: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.news-image {
  width: 120px;
  height: 80px;
  margin-right: 15px;
  flex-shrink: 0;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
}

.news-title {
  flex: 1;
}

.news-title h3 {
  font-size: 16px;
  margin: 0;
  color: #333;
  line-height: 1.4;
}

/* 팝업 다운 버튼 스타일 */
.popup-down-button {
  width: 100%;
  padding: 10px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  user-select: none;
  touch-action: none;
  /* 터치 액션 방지 */
}

.down-indicator {
  width: 50px;
  height: 5px;
  background-color: #ccc;
  border-radius: 3px;
}

/* 바텀 팝업 공통 */
.bottom-popup {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: -100%;
  width: 100%;
  max-width: 720px;
  background-color: #ffffff;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
  transition: bottom 0.3s ease;
  z-index: 100;
  max-height: calc(100% - 100px);
  display: flex;
  flex-direction: column;
  border-radius: 20px 20px 0 0;
  overflow: hidden;
}
.bottom-popup.active {
  bottom: 0;
}
.popupinner {
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.popup-header {
  position: relative;
  padding: 10px 20px 10px;
  text-align: left;
  flex-shrink: 0;
}
.popup-header h3 {
  font-size: 18px;
  font-weight: 700;
}
.popup-header p {
  margin-top: 5px;
  font-size: 14px;
  color: #767678;
}
.popup-header .ico {
  position: absolute;
  top: 0;
  right: 10px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.popup-header .ico span {
  width: 20px;
  height: 20px;
}

/* 태그 */
.popup-tag {
  padding: 0px 20px 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px 6px;
}
.popup-tag .tag {
  font-size: 14px;
  font-weight: 500;
  border-radius: 10px;
  padding: 5px 12px;
  background-color: #f0f4ff;
  color: #2284F5;
}

/* 콘텐츠 영역 */
.popup-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.popup-content-body {
  padding: 10px 20px 28px;
  
  flex-grow: 1;
}

/* briefing 공통 스타일 */
.briefing .popup-content-body > div + div {
  margin-top: 20px;
}
.briefing .popup-content-body .border {
  padding: 20px;
  border-radius: 10px;
  border: 1px solid #E3E3E3;
  font-size: 14px;
  line-height: 2;
}
.briefing .popup-content-body h4 {
  font-size: 15.5px;
  font-weight: 700;
  margin-bottom: 17px;
  display: flex;
  align-items: center;
}
.briefing .popup-content-body h4 span {
  width: 18px;
  height: 18px;
  display: inline-block;
  margin-right: 8px;
  vertical-align: sub;
  text-indent: -9999px;
  background-repeat: no-repeat;
  background-size: contain;
}
.briefing .popup-content-body p + p {
  margin-top: 10px;
}
.briefing .popup-content-body p br {
  margin-top: 10px;
}

/* 아이콘 background 설정 */
.briefing .headline h4 span { background-image: url(/images/mynews/ico/morning/headline.svg); }
.briefing .trends h4 span { background-image: url(/images/mynews/ico/morning/trends.svg); }
.briefing .data-points h4 span { background-image: url(/images/mynews/ico/morning/data-points.svg); }
.briefing .focus-issue h4 span { background-image: url(/images/mynews/ico/morning/focus-issue.svg); }
.briefing .finishing h4 span { background-image: url(/images/mynews/ico/morning/finishing.svg); }
.briefing .globe h4 span { background-image: url(/images/mynews/ico/morning/globe.svg); }
.briefing .lunch h4 span { background-image: url(/images/mynews/ico/morning/chefhat.svg); }

/* 헤드라인 섹션 전용 */
.briefing .headline ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.briefing .headline ul li {
  position: relative;
  padding-bottom: 18px;
}
.briefing .headline ul li + li {
  padding-top: 18px;
}
.briefing .headline ul li:not(:first-child)::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: #E8E8E8;
}
.briefing .headline .tit {
  display: inline;
  font-size: 15px;
  font-weight: 600;
  line-height: 0.5;
  background-image: linear-gradient(to bottom, transparent 70%, #d9e8ff 30%);
}
.briefing .headline .txt {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.6;
  color: #444;
}

/* 데이터 포인트 전용 */
.data-point-list {
  display: flex;  
  gap: 12px;
  flex-direction: column;
}
.data-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #f1f6ff;
  border: 1px solid #d0e3ff;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.05);
  border-radius: 10px;
  padding: 16px 12px;
}
.data-label {
  font-size: 13px;
  margin-bottom: 6px;
  line-height: 1.4;
}
.data-value {
  font-size: 22px;
  font-weight: 700;
}

/* 뉴스 도시락 전용 */
.briefing .lunch ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}
.briefing .lunch ul li {
  padding: 8px 0;
  font-size: 14.5px;
  line-height: 1.5;
  border-bottom: 1px solid #eee;
}
.briefing .lunch ul li:last-child {
  border-bottom: none;
  padding: 12px 0 0;
}
/* 오버레이 스타일 */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 99;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.overlay.active {
  visibility: visible;
  opacity: 1;
}
.center-banner{
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 80%; max-width: 380px;
}
.center-banner img{
  width: 100%; display: block;
  border-radius: 15px;
}
.center-banner .ico{
  position: absolute;
  top: 10px; right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.center-banner .ico button span{
  background-size: 20px 20px;
}
/* 공통 섬네일 설정 */
.thumb_h, .thumb_v {
  position: relative;
}
.thumb {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}
.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* 공통 텍스트 스타일 */
.subject {
  display: -webkit-box;
  overflow: hidden;
  line-height: 1.4;
  font-weight: 700;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* 가로 썸네일 */
.thumb_h {
  padding: 15px 0;
  border-bottom: 1px solid #eee;
}
.thumb_h a {
  display: flex;
  align-items: center;
}
.thumb_h .thumb {
  flex-basis: 120px;
  height: 81px;
  margin-right: 10px;
}
.thumb_h .txt {
  flex: 1;
}
.thumb_h .subject {
  font-size: 17.6px;
}
.mynews .date,
.mynews .date2 {
  font-size: 12px;
  color: #999;
}

/* 시안2 - 세로형 섬네일 */
.thumb_h2 {
  padding: 15px 0;
  border-bottom: 1px solid #eee;
  margin-bottom: 20px;
}

.thumb_h2:has(+ .btn_more){
  border-bottom: none;
  padding: 15px 0 0;
  margin-bottom: 0;
}
.mynews .thumb_h2:last-child {
  border-bottom: none;
  margin-bottom: 0;
}
.thumb_h2 a {
  display: flex;
  flex-direction: column;
}
.thumb_h2 .thumb {
  width: 100%;
  aspect-ratio: 16 / 9;  /* 또는 4 / 3, 3 / 2 등 */
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}
.thumb_h2 .txt {
  flex: 1;
  margin-top: 15px;
}
.thumb_h2 .subject {
  font-size: 19px;
}
.mynews .date2 {
  margin-top: 8px;
}
/* 마이뉴스 전용 */
.mynews .thumb_h {
  padding: 0;
  border-bottom: none;
}
.mynews .thumb_h:last-child {
  padding-bottom: 15px;
}
.mynews .thumb_h + .thumb_h {
  padding-top: 10px;
}
.mynews .thumb_v .thumb {
  aspect-ratio: 3 / 2;
}
.mynews .thumb_h .subject {
  font-size: 15.2px;
}
.mynews .date {
  margin-top: 3px;
}
.mynews .sectit2 h1 {
  font-size: 16px;
  padding: 0;
}
.mynews .btn_more {
  border-radius: 0;
  text-align: center;
  margin-top: 20px;
  border-top: 1px solid #E6E9EB;
}
.mynews .btn_more button {
  width: 100%;
}
.mynews .btn_more button span {
  display: inline-block;
  padding-top: 10px;
  line-height: 1.2;
  font-size: 13px;
  color: #6B7684;
}



/* 아이콘 */
.ico{
  display: inline-block;
  line-height: 0;
}
.ico button span {
  width: 40px;
  height: 40px;
  display: inline-block;
  text-indent: -9999px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
}
.ico .x span {
  background-image: url(/images/mynews/ico/X.svg);
}
.ico .close_w span {
  background-image: url(/images/mynews/ico/close_w.svg);
}

/* 상단 네비게이션 바 */
.top-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  padding: 0 16px;
  background: #f9fafb;
  position: relative;
  flex-shrink: 0;
  z-index: 10;
}
/* 가운데 타이틀 중앙 정렬 */
.nav-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
/* 공통 아이콘 스타일 */
.nav-home,
.nav-help,
.nav-setting {
  width: 40px;
  height: 40px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  border: none;
  background-color: transparent;
  display: inline-block;
}
/* 각 아이콘 이미지 지정 */
.nav-home {
  background-image: url('/images/mynews/ico/House.svg');
}
.nav-help {
  background-image: url('/images/mynews/ico/Question.svg');
  opacity: 0.3;
}
.nav-setting {
  background-image: url('/images/mynews/ico/Gear.svg');
}
/* 왼쪽 영역 (뒤로가기 + MY뉴스) */
.nav-left {
  display: flex;
  align-items: center;
}
.nav-link-back {
  display: flex;
  align-items: center;
}
.icon-back {
  width: 36px;
  height: 36px;
  background-image: url('/images/mynews/ico/prev.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.nav-logo {
  font-size: 14px;
  font-weight: 500;
  color: #333;
}

/* 오른쪽 영역 (뉴스핌, 전체메뉴) */
.nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-newspim,
.nav-menu {
  width: 40px;
  height: 40px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  border: none;
  background-color: transparent;
}
.nav-newspim {
  background-image: url('/images/mynews/ico/House.svg');
}
.nav-menu {
  background-image: url('/images/mynews/ico/List.svg');
}


/* 뉴스 형태 변환 탭 */
.list_tap{
  display: flex; gap: 10px; justify-content: flex-end;
}
.icon-btn {
  width: 24px;
  height: 24px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
  cursor: pointer;
  opacity: 0.2;
  transition: opacity 0.5s ease;
}
.icon-btn.on {
  opacity: 1;
}
.list-icon {
  background-image: url('/images/mynews/ico/list.svg');
}
.rows-icon {
  background-image: url('/images/mynews/ico/rows.svg');
}



.gnb{
  border-bottom: 1px solid #EEEEEE;
}
.gnb ul li{
  flex: 1;
}
.gnb ul li a{
  width: 100%;
  font-size: 14px;
  padding: 2px 10px 10px 10px;
  border-color: transparent;
}
.gnb ul li a.on {
  border-bottom: 4px solid #4482E9;
  color: inherit;
}

/* 모닝브리핑 버튼 */
.btn_briefing {
  background: linear-gradient(132deg, #4482E9 0%, #5F64F6 100%);
  border-radius: 15px;
  padding: 20px;
  color: #fafafa;
  position: relative;
  overflow: hidden; 
  margin-bottom: 15px;
}
.global_briefing {
  background: linear-gradient(132deg, #4482E9  0%, #1BA6D0 100%);
}
.briefing-header,
.point,
.view-btn {
  position: relative;
  z-index: 1;
}
.briefing-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.briefing-header .txt {
  font-size: 20px;
  font-weight: 700;
}
.point {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 400;
  color: #fafafa;
}
.view-btn {
  margin-top: 14px;
  width: 100%;
  padding: 12px;
  background: rgba(255, 255, 255, 0.2);
  color: #fafafa;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  font-size: 15px;
}
.briefing-header .icon {
  position: absolute;
  z-index: 0;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  top: -9px;
  right: 10px;
  width: 88px;
  height: 88px;
  background-image: url("/images/mynews/ico/morning/briefing.png");
}
.morning_briefing .briefing-header .icon {
  top: -23px;
  right: 0px;
  width: 108px;
  height: 108px;
  background-image: url("/images/mynews/ico/morning/morning_briefing1.png");/* 모닝 브리핑 */
}
.lunch_briefing .briefing-header .icon {
  transform: rotate(6deg);
  background-image: url("/images/mynews/ico/morning/lunch_briefing.png");/* 런치 브리핑 */
}
.global_briefing .briefing-header .icon {
  top: -11px;
  background-image: url("/images/mynews/ico/morning/global_briefing.png");/* 글로벌 브리핑 */
}
/* 유저 관심  */
.interest-box {
  display: flex;
  align-items: center;
  position: relative;
  min-height: 57px;
  background: #ffffff;
  border-radius: 15px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.06);
  border: 1px solid #f0f2f5;
  padding: 14px 16px;
  font-size: 16px;
  gap: 8px;
  margin-bottom: 15px;
}
.icon-interest {
  width: 18px;
  height: 18px;
  background-image: url('/images/mynews/ico/bell.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}
.interest-box strong {
  color: #2563eb;
  font-weight: 600;
}
.interest-box .link-q{
  padding: 14px 45px; 
  width: 100%; 
  position: absolute; 
  left: 0px; 
  top: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.interest-box .link-q::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: url(/images/mynews/ico/caret-right.svg) no-repeat center center;
    background-size: 16px;
}

/* 스크롤메인뉴스 */
.scroll_area {
  overflow: hidden;
  overflow-x: auto;
  scrollbar-width: none;
}
.thumb_v_area{
  display: inline-flex;
  gap: 10px;
}
.newsitem article {
  width: 330px;
}
.newsitem .thumb_v{
  display: block;
}
.slider-image .thumb{
  position: relative;
}
.thumb-overlay .thumb::before{
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, 0.80) 80%);
  border-radius: 10px;
  z-index: 1;
  content: "";
}
.slider-image .thumb img{
  color: transparent;
  object-fit: cover;
  max-width: 100%;
  vertical-align: middle;
}
.thumb-overlay .thumb_v .txt{
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  z-index: 1;
}
.thumb_v .subject {
    font-size: 19.2px;
}
.thumb-overlay .subject{
  margin: 15px;
  -webkit-line-clamp: 2 !important;
  overflow: hidden !important;
  display: -webkit-box !important;
  -webkit-box-orient: vertical;
  align-self: stretch; color: #FAFAFA; font-size: 20.80px; font-family: Noto Sans KR; font-weight: 700; word-wrap: break-word
}
.thumb_v .subject a, .thumb_b .subject a, .thumb_h .subject a, .thumb_h .summary, .thumb_v .summary {
  line-height: 1.3;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.news-category {
  margin: 10px 15px 0;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
}
.news-category-text {
  padding: 5px 12px;
  border-radius: 28px;
  font-weight: 600;
  font-size: 12px;
  color: #fafafa;
  background-color: rgba(0, 0, 0, 0.5);
}
/* ai추천뉴스 */
.ainews .degree{
  margin-top: 3px;
  display: flex;
  flex-direction: row;
  align-items: center;
}
.ainews .degree p{
  margin-right: 6px;
  font-weight: 500;
  font-size: 12px;
  color: #2563EB; ;
}
.ainews .degree-bar-container {
  position: relative;
  flex: 1;
  height: 5px;
  overflow: hidden;
  background-color: #ddd;
  border-radius: 20px;
  z-index: 9;
}
.ainews .degree-bar {
  height: 100%;
  background: #4482E9;
  transition: width 0.5s ease-in-out;
}
/* 탭뉴스 */
.tab_wrap {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  white-space: nowrap;
}
.tab_wrap .tab {
  padding: 4px 12px 5px;
  font-size: 13.5px;
  font-weight: 500;
  border: 1px solid #e7e7e7;
  border-radius: 33px;
  background-color: #f5f5f5;
  color: #999;
}
.tab_wrap .tab.on {
  background-color: #312e35;
  color: #fafafa;
}
/* 실시간이슈 */
.realtimeissues .thumb_v {
  width: 138px;
  margin-bottom: 20px;
}
.realtimeissues .thumb_v .subject{
  margin-top: 5px;
  font-size: 14.4px;
}
/* 글로벌 투자 */
.investtag{
  margin-top: 5px;
  max-height: 23px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  overflow: hidden;
}
.investtag .tag{
  padding: 2px 6px; 
  display: -webkit-box;
  font-size: 11.24px;
  font-weight: 500;
  border-radius: 4px;
  background: #e9edf1;
  color: #505c81;  
  overflow: hidden;
  width: fit-content;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}
.tag.charged{
  background-color: #FDF0EC; 
  color: #FC6536;
}
/* 글로벌 투자 메인 뉴스 */
.invest-topnews .sectit h1{
  padding: 0 0 5px;
}
.invest-topnews .news_list {
  width: 100%;
  padding-bottom: 15px;
}
.news_list_item {
  border-top: 1px solid #eee;
}
.news_list_item:first-child {
  border-top: 0;
}
.news_list_item a {
  display: block;
  padding: 10px 2px;
  font-size:15.2px;
  line-height: 20px;
  letter-spacing: -.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
.invest-topnews{
  display: flex;
  flex-wrap: wrap;
  gap: 0 15px;
}
.invest-topnews .newscon{
  width: calc(50% - 7.5px);
  border-radius: 10px;
}
.invest-topnews .thumb_v .subject{
  font-size: 1rem;
  -webkit-line-clamp: 3;
}
.invest-topnews .thumb_v .summary{
  margin-top: 8px;
  font-size: 14px;
  letter-spacing: 0.1px;
  color: #929398;
} 
.invest-topnews .thumb img{
  border-radius: 10px;
}
.invest-topnews  .tag_suggest{
  display: none;
  position: absolute;
  left: 8px;
  top: 8px;
  padding: 6px 10px;
  font-size: 12px;
  line-height: 1;
  color: #FAFAFA;
  border-radius: 4px;
  background: linear-gradient(132deg, #4482E9 0%, #5F64F6 100%);
  box-shadow: 2px 2px 5px 0px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}
.invest-topnews .txt{
  padding:5px; 
}
/* 컨테이너 그림자+둥근모서리 */
.list-containera.bg_shadow {
  border-radius: 15px;
  box-shadow: 4px 4px 15px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  margin: 15px 0;    padding: 0 16px;
}
/* 리스트 아이템 */
.list-containera .list-item {
  display: flex;
  align-items: center;
  padding: 16px 0;
  position: relative;
  cursor: pointer;
}
/* 밑줄 유지 */
.list-containera .list-item:not(:last-child) {
  border-bottom: 1px solid #eee;
}
/* 썸네일 */
.list-containera .thumb {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #e4e9ec url(/images/mynews/ico/bubble.svg) no-repeat center;
  background-size: 24px 24px;
  margin-right: 14px;
  flex-shrink: 0;
}
/* 텍스트 구조 */
.list-containera .item-content {
  flex: 1;
  padding-right: 30px;
}
/* 제목 */
.list-containera .item-title {
  font-size: 15px;
  font-weight: 600;
  
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
/* 전문가 이미지 */
.list-containera .aipro {
  display: flex;
  margin-top: 4px;
}
.list-containera .aipro img {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 2px;
  border: 1px solid #fafafa;
  box-shadow: 0 0 0 1px #d1d5db;
}
/* 부제목 */
.list-containera .item-subtitle {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* 화살표 */
.list-containera .list-item > .non::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -4px;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background: url("/images/mynews/ico/caret-right.svg") no-repeat center center;
  background-size: 16px;
}

/* 오른쪽 슬라이드 */
.slide-right-webview {
  position: fixed; top: 0; left: 50%; transform: translateX(100%);
  width: 100%; max-width: 720px; height: 100vh;
  background: linear-gradient(180deg,#f9fbfc 0%,#f3f7fa 100%);
  z-index: 99999; transition: transform .3s ease-in-out, opacity .3s ease-in-out, visibility 0s .3s;
  overflow-y: auto; opacity: 0; visibility: hidden;
}
.slideWebcon {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.slide-right-webview.active {
  transform: translateX(-50%);
  opacity: 1;
  visibility: visible;
  transition: transform .3s ease-in-out, opacity .3s ease-in-out; 
}
.section + .section {
  border-top: 1px solid #eee;
  padding-top: 20px;
  margin-top: 30px;
}
.webview-content {
  flex-grow: 1; overflow-y: auto; padding: 0 15px 20px;
}

/* 카드 공통 */
.info-card{
  padding: 20px 16px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
  border: 1px solid #f0f2f5;
}
.info-card ul {
  list-style: none; padding: 0; margin: 0;
}
.info-card li {
  position: relative; padding-left: 15px; margin-bottom: 8px;
  font-size: 15px; line-height: 1.6; color: #333;
}
.info-card li:last-child, .signal-section:last-child{
  margin-bottom: 0;
}
.info-card li::before {
  content: "•"; position: absolute; left: 0; top: 0;
  color: #2563EB; font-size: 20px; line-height: 1;
}
.info-card li.no-bullet::before {
  content: none;
}
.info-card li.no-bullet {
  padding-left: 0px;
}
.card-section:not(:last-child) { 
  margin-bottom:20px; 
}
.inner-item{
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.section-header{
  margin: 10px 10px 20px;
  font-size: 16px;
  font-weight: 700;
  border-left: 4px solid #3182f6;
  padding-left: 14px;
}
.card-title {
  font-weight: bold;
  font-size: 17.5px;
  line-height: 1.45;
}
.card-body {
  background: #f5f8fa; padding: 20px; border-radius: 15px;
  font-size: 15px; line-height: 1.6; 
}
.block-title {
  margin-bottom: 6px;
  font-size: 16px;
  font-weight: 600;
}
.cardimg {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}
.cardimg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-header{
  align-items: center;
  display: flex;
  gap: 5px 12px;
}
.card-num {
  font-weight: bold;
  font-size: 20px;
  color: #2563EB;
  min-width: 20px;
}
.card-symbol{
  font-size: 18px;
  font-weight: 600;
  display: flex;
  gap: 5px;
}
.card-category{
  display: inline-block;
  margin-left: 5px;
  padding: 0px 7px;
  height: 22px;
  line-height: 22px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  border-radius: 15px;
  color: #2563EB;
  background-color: #eaf2ff;
}

/* 뉴욕증시 전문가 팁 */
.info-card.expert-tip-card {
  background-color:  #fff;
  border: 1px solid #d8e6f9;
  border-radius: 15px;
  padding: 0;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.expert-tip-card .card-header {
  background-color: #f5f9ff;
  padding: 5px 20px;
  gap: 5px;
}
.expert-tip-card .card-title {
  position: relative;
  font-size: 16px;
  font-weight: 600;
  color: #3F51B5;
  padding: 12px 20px 12px 25px;
  line-height: 1.5;
  flex: 1;
}
.expert-tip-card .card-title::before, .expert-tip-card .card-title::after{
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.expert-tip-card .card-title::before {
  left: 0px;
  top: 12px;
  background-image: url("/images/mynews/ico/doublel.svg");
}
.expert-tip-card .card-title::after {
  right: 0;
  bottom: 12px;
  background-image: url("/images/mynews/ico/doubler.svg");
}
.expert-tip-card .card-body {
  font-size: 14px;
  background: transparent;
  padding: 20px;
  font-size: 14px;
}

/* 시그널 카드 */
.signal-card {
  margin-bottom:20px;
}
.signal-card .card-header{
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.subtit{
  font-size: 14px;
  text-align: center;
  margin-top: -2px;
  display: inline-block;
  line-height: 18px;
  color: #767678;
  letter-spacing: -0.74px;
}
.slideWebcon .subtit {
  padding: 0 15px 14px;
}
/* 파워 특징주 */
.power-card{
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px
}
.slideWebcon .date{
  margin-bottom: 5px;
  font-size: 14px;
  color: #aaa;
  text-align: right;
  margin-top: -5px;
}
.table-card{
  overflow: auto;
}
.togglelist{
  margin: 15px 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.toggle .card-title{
  position: relative;
  cursor: pointer;
}
.toggle .card-title::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background: url(/images/mynews/ico/caret-down.svg) no-repeat center center;
  background-size: 16px;
  transition: transform 0.2s ease;
}
.toggle.open .card-title::after {
  transform: translateY(-50%) rotate(-180deg); 
}
.toggle .power-card-list{
  display: none;
}
.toggle.open .power-card-list{
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.power-card .card-header {
  padding: 8px 4px 8px 8px;
}
.power-card-list .inner-item.row{
  flex-direction: row;
}
.power-item{
  flex: 1 1;
  background-color: #f5f8fa;
  border-radius: 15px;
  padding: 20px;
  font-size: 15px;
  font-weight: 400;
  line-height: 24px;
  color: #4e5968;
}
.top-pick-symbol{
  color: #1f2937;
  margin-bottom: 10px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.5px;
}
.r-box { background: #fff5f5; }
.y-box { background: #fefce8; }
.b-box { background: #F1F9FF; }
.g-box { background: #f0fdf4; }
.power-item .label{
  display: block;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 4px;
}
.power-table{
  width: 100%;
  line-height: 1.45;
  font-size: 14px;
  font-weight: 600;
}
.power-table th{
  font-weight: 500;
  min-height: 44px;
  margin: 0 2px;
  padding: 6px;
  color: #6b7684;
  white-space: nowrap;
}
.power-table td{
  padding: 8px;
}
.power-table tr:nth-child(even){
    background-color: #f9fafb;
}
.power-table .num{
  text-align: center;
  color: #2272eb;
}
.power-table .plus{
  color: #f04452;
  text-align: right;
}
.power-table .minus{
  color: #3182f6;
  text-align: right;
}
.card-category.r{
  color: #f16363;
  background-color: #ffeaea;
}
.description{
  margin-top: 20px;
  font-size: 12px;
  line-height: 24px;
  color: #aaa;
}
/* 주간 연준 인사이트 */
.daily-announcement-card {
  padding: 18px;
}
.card-date {
  display: inline-block;
  background: #eaf2ff; color: #2563eb;
  font-weight: 600; font-size: .8rem;
  padding: 4px 8px; border-radius: 6px;
  margin-bottom: 8px;
}
.daily-announcement-card .card-title {
  font-size: 1rem; font-weight: 700; color: #1e293b;
  margin: 0 0 6px; line-height: 1.5;
}
.daily-announcement-card .card-summary {
  font-size: .93rem; color: #6b7280;
  line-height: 1.6; margin: 0;
}
.analysis-group-container {
  display: flex; flex-direction: column; gap: 15px;
}
.analysis-block {
  padding: 24px;;
}

/* 투자주요뉴스 */
.investmentnews .thumb_h .thumb{
  flex-basis: 90px;
  height: 90px;
}
.investmentnews .thumb img{
  object-fit: cover;
}
/* 투자 주요 지수 */
.jisu-table {
  width: 100%;
  /* padding-bottom: 10px; */
}
.jisu-table td, .jisu-table th {
  padding: 5px 0;
  border-top: 1px solid #dee2e6;
}
.jisu-table > tbody > tr:first-child > td {
  border-top: none;
}
.jisu-table  .jisu-name {
  font-size: 17.6px;
  width: 55%;
}
.jisu-table  .jisu-name a {
  font-weight: 600;
  font-size: 15px;
  display: block;
}
.stream-datetime {
  font-size: 11px;
  color: #bbb;
  margin-top: 2px;
  display: block;
}
.jisu-list .jisu-price {
  font-weight: 600;
  font-size: 14.4px;
}
.jisu-price .current {
  font-size: 16px;
  font-weight: bold;
}
.jisu-price .change{
  font-size: 12px;
}
.jisu-price .change.up {
  color: #FF5722;
}
.jisu-price .change.down {
  color: #1976d2;
}
.jisu-percent {
  text-align: right;
}
.jisu-percent .percent.up {
  background-color: #FF5722;
}
.jisu-percent .percent.down {
  background-color: #1976D2;
}
.jisu-percent .percent {
  display: inline-block;
  width: 60px;
  font-size: 13px;
  font-weight: 500;
  padding: 4px 8px;
  border-radius: 4px;
  color: #FAFAFA;
}
.jisu-percent .percent .per{
  font-size: 0.7rem;
  padding-left: 3px;
}
/* 마이뉴스 세팅 */
.setting{
  background: #FAFAFA;
}
.setting .slide-container {/* 슬라이드 컨테이너 */
  width: 100vw;
  height: calc(100vh - 80px);
  position: relative;
  overflow: hidden;
}

.setting .slide {
  position: absolute;
  width: 100%;
  max-width: 720px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 25px 15px;
  overflow-y: auto;
  transition: transform 0.5s ease-in-out;
}

.setting .slide-1 {
  z-index: 2;
  transform: translateX(0%);
}

.setting .slide-2 {
  background-color: #2ecc71;
  color: white;
  z-index: 1;
  transform: translateX(100%);
  display: flex;
}
.ico .back-button{
  display: flex;
  align-items: center;
  min-width: 90px;
}
.ico .back-button span {
  display: inline-block;
  text-indent: -9999px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 24px;
  width: 16px;
  height: 16px;
  background-image: url(/images/mynews/ico/prev.svg);
}
.setting .set{
  width:100%; max-width: 345px;
}
.setting .set + .set{
  margin-top: 20px;
}
.setting .txtarea{
  width: 100%;
  max-width: 345px;
}
.setting .txtarea p:nth-child(1){
  font-size: 20px;
  margin-bottom: 4px;
  font-weight: 600;
}
.setting .txtarea p:nth-child(2)
{
  font-size: 14px;
  margin-bottom: 4px;
}

.setting .content {
  display: flex;
  height: inherit;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}


.btnarea{
  width: 100%;
}
.setting .btn_skip{
  text-align: center;
}
.setting .btn_skip button span{
  display: inline-block;
  width: 100%;
  padding: 10px 0;
  line-height: 1.2;
  font-size: 13px;
  color: #6B7684;
  background: none;
}
.setting .btn {
  display: block;
  width: 100%;
  margin: 5px 0;
  padding: 12px 10px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  width: 100%;
  cursor: pointer;
  border-radius: 8px;
  color: #FAFAFA;
  background-color: #312E35;
  text-align: center;
}

.setting .category-options {
  padding: 15px;
  display: flex;
flex-wrap: wrap;
max-width: 345px;
}
.setting .category-item {
  width: 33%;
  margin: 10px 0;
}
.setting .category-margin{
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  margin: auto;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid #E7E7E7;
  border-radius: 25px;
  width: 100%;
  max-width: 88px;
  height: 88px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.setting .category-item-on .category-margin{
  border: 2px solid #4482E9;
  color: #2563EB;
}
.setting .category-item-on .category-label{
  color: #2563EB;
}
.setting .category-item input[type="checkbox"] {
  display: none;
}

.setting .category-label {
  font-size: 14px;
  color: #312E35;
  transition: color 0.3s ease;
}

.setting .tag-options {
  display: flex;
  flex-direction: row;
  gap: 15px;
  flex-wrap: wrap;


}

.setting .tag-item {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.setting .tag-item-on {
  background: rgba(12, 133, 163, 0.2);
}

.setting .tag-item input[type="checkbox"] {
  display: none;
}

.setting .tag-label {
  font-size: 19.2px;
  color: white;
  transition: color 0.3s ease;
}


select[id="language-select"] {  
  width: 100%;
  margin: 20px 0 28px;
  padding: 16px;
  border-radius: 8px;
  border: 1px solid #E7E7E7;;
  background-color: #FAFAFA;
  box-sizing: border-box; 
  -moz-appearance: none; /* Firefox */
  -webkit-appearance: none; /* Safari and Chrome */
  appearance: none;
}
select[id="language-select"] {  
  background-image: url("/images/mynews/ico/caret-down.svg");  
  background-repeat: no-repeat;  
  background-position: 96% center;  
  background-size: 1rem;
}


/* 도움말 */
.popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1000;
  height: 100%;
  width: 100%;
}
.popup.active {
  display: block;
}
.help-nav{
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 720px;
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.coach_marks {
  background-color: rgba(0, 0, 0, 0.6);
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.coach_marks .popup-content-item{
  opacity: 0;
}
.coach_marks .popup-content-item.active{
  opacity: 1;
}
.coach_marks .con{
  position: absolute;
  background-size: cover;
  background-repeat: no-repeat;
}
.coach_marks .popup-content-item.active .nav-item{ 
  background-color: #ffffff;
  padding: 14px;
  border-radius: 4px;
  opacity: 1;
}
.coach_marks .help1{
  left: calc(16.5% - 29px);
  bottom: 80px;
  width: 176px;
  height: 155px;
  background-image: url(/images/mynews/help/help1.png?v3);
}
.coach_marks .help2{ 
  left: 50%;
  bottom: 80px;
  transform: translate(-54%);
  width: 158px;
  height: 150px;
  background-image: url(/images/mynews/help/help2.png?v3);
}
.coach_marks .help3{
  right: calc(16.5% - 40px);
  bottom: 80px;
  width: 144px;
  height: 150px;
  background-image: url(/images/mynews/help/help3.png?v3);
}
.coach_marks .fix_con .swipe-guide{
  top: 30%; 
  left: 50%; 
  transform: translate(-50%, -50%);
  width: 230px;
  height: 90px;
  background-image: url(/images/mynews/help/fix_con.png?v2);
}
.coach_marks .fix_con .nav-home, .coach_marks .fix_con .nav-setting{
  border-radius: 4px;
  background-color: #fff;
}
.coach_marks .fix_con .top-nav-item{
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  position: relative;
}
.coach_marks .fix_con span{
  position: absolute;
  font-size: 14px;
  white-space: nowrap;
  color: #fff;
}
.coach_marks .fix_con .nav-home{
  top: 10px;
  left: 15px;
}
.coach_marks .fix_con .nav-home span{
  top: 8px;
  left: 52px;
}
.coach_marks .fix_con .nav-setting{
  top: 10px;
  right: 15px;
}
.coach_marks .fix_con .nav-setting span{
  top: 8px;
  right: 52px;
}
.coach_marks .btn_close{
  position: absolute;
  bottom: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 43px;
  height: 43px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
}

#keyword-treemap {
    min-width: 320px;
    height: 340px;
    text-align: center;
    margin: 0 auto;
}

.highcharts-figure {
  margin: 0;
}

.aisearch {
  margin: 0px 0px 10px 0px;
  /* height: calc(var(--vh, 1vh) * 100 - 60px); */
  display: flex;
  flex-direction: column;
  border-radius: 15px;
  overflow-y: scroll;
}


.chat-container {
  flex: 1;
  padding: 16px 16px 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  scroll-behavior: smooth;
}
.normal-message{
  padding-top: 20px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  overflow: hidden;
  display: flex;
}

.ai-message {
  width: 100%;
  
}
.user-message {
  max-width: 90%;
  display: flex;
  align-self: flex-end;
  gap: 10px;
}

.user-message .user-bubble {
  display: flex !important;
  flex-direction: column !important;
  background-color: #f2f2f2;
  border-radius: 15px;
  padding: 10px 16px;
  font-size: 14px;
  line-height: 1.6;
  word-break: break-word;
  white-space: pre-wrap;
}


.avatar {
  width: 32px;
  height: 32px;
  background:#4482e9;
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  margin-bottom: 6px;
}

.message-bubble {
  position: relative;
  color: #312e35;
  align-self: flex-start;
  overflow-wrap: break-word;
  white-space: pre-wrap;
  text-align: start;
  padding: 10px 16px;
  border-radius: 15px;
  font-size: 14.5px;
  line-height: 1.8;
  font-weight: 400;
  letter-spacing: -0.2px;
  border: 1px solid #E6E9EB;
  margin-top: 10px;
}
.source-tit {
  font-weight: 700;
  padding-bottom: 7px;
  border-bottom: 1px solid #312e35;
}
.source-list{
  margin-top: 16px;
}
.source-list li:not(:last-child) {
  padding-bottom: 5px;
}
.source-list li a{
  position: relative;
  display: flex;
  gap: 10px;
  color: #5a5a5a;
  font-size: 14px;
  font-weight: 400;
  border-radius: 10px;
  border: 1px solid #eee;
  padding: 4px 10px;
  align-items: center;
}
.source-num{
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 16px;
  height: 16px;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  color: #2563EB;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.system-message { 
  border-radius: 4px;
  padding: 6px 16px;
  align-self: center;
  font-size: 12.5px;
  line-height: 1.5;
  font-weight: 400;
  color: #888;
}
.assis-ico span {
  display: inline-block;
  text-indent: -9999px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 34px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
}
.assis-ico.user span {
  background-color: #e7e7e7;
  background-image: url(/images/mynews/ico/assistant/assis_user.svg);
}
.assis-ico.ai span {
  background-color: #487eeb;
  background-image: url(/images/mynews/ico/assistant/assis_ai.svg);
}
.input-container {
  padding: 10px 15px;
}
.input-wrapper {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-direction: column;
  width: 100%;
  min-height: 100px;
  padding: 10px;
  border:1px solid #E6E9EB;
  border-radius: 10px;
}
.input-wrapper textarea {
  flex: 1;
  width: 100%;
  align-self: flex-start;
  text-align: left;
  resize: none;
  border: 0;
  background: transparent;
  line-height: 1.4;
  overflow-y: hidden;
  outline: none;
  font-size: 16px;
  font-family: inherit;
  color: #312e35;
}
/* ai어시스턴트 입력 */
.input-tool-btn {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: space-between;
}
.input-tool-btn .input-dropdown {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 0;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 8px;
  display: none;
  flex-direction: column;
  gap: 6px;
  z-index: 100;
}
.input-tool-btn.open .input-dropdown {
  display: flex;
}
.input-tool-btn button.input {
  position: relative;
  width: 32px;
  height: 32px;
  padding: 8px;
  font-size: 16px;
  background: #4482E9;
  border: none;
  border-radius: 50%;
  color: #FAFAFA;
  cursor: pointer;
}
.input-tool-btn button.compose-tool {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border: 1px solid #ccc;
  border-radius: 20px;
  font-size: 14px;
  cursor: pointer;
}
.input-tool-btn .tag {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0px 10px;
  font-size: 14px;
  font-weight: 500;
  color: #2563EB;
  cursor: pointer;
  width: fit-content;
}
.input-tool-btn button.compose-tool img{
  width: 16px;
  height: 16px;
}
.radio-label{
  padding: 4px 10px;
  border-radius: 6px;
}
.radio-label:hover {
  background-color: #eee
}
.radio-label input[type="radio"] {
  appearance: none;
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.radio-label input[type="radio"]:checked + span {
  font-weight: 700;
  color: #2563EB;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px; 
  min-width: 150px;
}
.radio-label input[type="radio"]:checked + span::after {
  content: "";
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  background-image: url('/images/mynews/ico/check-blue.svg'); /* SVG 아이콘 경로 */
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.normal-message .ai-search-title{
  margin-bottom:5px;
  font-size:24px
}
.normal-message .ai-search-desc {
  margin-bottom: 10px;
  font-size: 14.4px;
  color: #666;
  text-align: center;
}
.ai_logo_wrap {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  padding-top: 5px;
  font-size: 11.2px;
  color: #898989;
  transition: 0.3s ease;
}
.ai_logo_wrap .ai_logo {
  width: 66px;
  height: 16px;
  background-repeat: no-repeat;
  background-image: url(/images/mynews/ico/Perplexity-logo.svg);
}
.chat-input {
  display: flex;
  align-items: center;
  padding: 8px;
  border-top: 1px solid #ddd;
  background: #FAFAFA;
}

.chat-input textarea {
  flex: 1;
  resize: none;
  padding: 8px 12px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  outline: none;
  line-height: 1.4;
}

.icons {
  display: flex;
  gap: 8px;
  margin-left: 8px;
}

.icons button {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
}

.fade-enter-active, .fade-leave-active {
  transition: opacity 0.5s ease;
}

.fade-enter, .fade-leave-to {
  opacity: 0;
}
/* 카피라이트 */
.copyright-area {
  padding: 0 0 73px;
  text-align: center;
}
.copyright-text p {
  font-size: 12px;
  line-height: 24px;
  text-align: center;
  margin-bottom: 0;
  color: rgba(30, 30, 30, 0.3);
}
.copyright-area .copyright-logo {
  display: inline-block;
  padding: 5px;
  line-height: 1px;
  vertical-align: top;
}
.copyright-area .copyright-logo .ico_logo {
  display: inline-block;
  width: 77px;
  height: 21px;
  overflow: hidden;
  white-space: nowrap;
  color: transparent;
  opacity: 0.5;
  background: url(/images/mynews/logo.png) 0 0 no-repeat;
  background-size: contain;
}

/* 모닝 브리핑 트렌트 뷰 오늘의 관점 */
.trends_view {
  background-image: linear-gradient(to bottom, transparent 50%, #D9EAFF 50%);
  display: inline;
  font-weight: 600;
}

/* ai 추천뉴스 가리기 */
.hidden-article {
  display: none;
}

/* 모닝 브리핑 팝업 활성화 시 바디 스크롤 방지 */
.no-scroll {
  overflow: hidden;
}

.dot-wave-loader {
  display: flex;
  gap: 5px;
  align-items: flex-end;
  justify-content: center;
  height: 20px;
  margin: 12px auto 0;
  width: 100%;
}

.dot-wave-loader span {
  width: 6px;
  height: 6px;
  background-color: #4482E9;
  border-radius: 50%;
  animation: waveUpDown 0.6s infinite ease-in-out;
}

.dot-wave-loader span:nth-child(2) {
  animation-delay: 0.1s;
}
.dot-wave-loader span:nth-child(3) {
  animation-delay: 0.2s;
}

@keyframes waveUpDown {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.no-ainews{
  text-align: center;
  padding: 50px 0;
}
.no-ainews img{
  width: 40%;
  margin-bottom: 20px;
}
.no-ainews .tit{
  margin-bottom: 10px;
  font-size: 20px;
  font-weight: 600;
}
.no-ainews .txt{    
  color: #777;
  font-size: 14.4px;
}