/* RibbonLine Notice Ticker v1.3 - borderless header ticker, no red dot */
.rln-notice-ticker {
  --rlnt-purple: #6d35e8;
  --rlnt-red: #dc2f34;
  --rlnt-ink: #0f172a;
  --rlnt-muted: #64748b;
  --rlnt-min-width: 520px;
  display: inline-flex;
  width: min(100%, var(--rlnt-min-width));
  max-width: 100%;
  min-width: min(100%, 260px);
  font-family: "Pretendard", "Noto Sans KR", -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
  vertical-align: middle;
}
.rln-notice-ticker,
.rln-notice-ticker * { box-sizing: border-box; }
.rln-notice-ticker__inner {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 32px;
  gap: 10px;
  padding: 0;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: hidden;
}
.rln-notice-ticker__label {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-height: 26px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f5f0ff;
  color: var(--rlnt-purple);
  font-size: 12px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: -0.025em;
  white-space: nowrap;
}
.rln-notice-ticker__dot { display: none !important; }
.rln-notice-ticker__viewport {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  height: 26px;
  overflow: hidden;
}
.rln-notice-ticker__list {
  position: relative;
  width: 100%;
  height: 26px;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
.rln-notice-ticker__item {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .3s ease, transform .3s ease;
  pointer-events: none;
}
.rln-notice-ticker__item:first-child,
.rln-notice-ticker__item.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.rln-notice-ticker.rlnt-js-ready .rln-notice-ticker__item:first-child:not(.is-active) {
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
}
.rln-notice-ticker__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: 100%;
  color: var(--rlnt-ink) !important;
  text-decoration: none !important;
  font-size: 13.5px;
  line-height: 1.2;
  font-weight: 850;
  letter-spacing: -0.035em;
  white-space: nowrap;
  overflow: hidden;
}
.rln-notice-ticker__link:hover { color: var(--rlnt-purple) !important; }
.rln-notice-ticker__title {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rln-notice-ticker__new {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  height: 18px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--rlnt-red);
  color: #fff;
  font-size: 10px;
  line-height: 1;
  font-weight: 950;
}
.rln-notice-ticker__date {
  flex: 0 0 auto;
  color: var(--rlnt-muted);
  font-size: 12px;
  font-weight: 800;
}
.rln-notice-ticker__empty {
  display: inline-flex;
  align-items: center;
  height: 26px;
  color: var(--rlnt-muted);
  font-size: 13px;
  font-weight: 750;
  white-space: nowrap;
}
.rln-notice-ticker__debug {
  margin-top: 3px;
  color: #64748b;
  font-size: 11px;
}
@media (max-width:768px) {
  .rln-notice-ticker { width: min(100%, 420px); min-width: 0; }
  .rln-notice-ticker__inner { min-height: 30px; gap: 8px; }
  .rln-notice-ticker__label { min-height: 24px; padding: 0 10px; font-size: 11.5px; }
  .rln-notice-ticker__link { font-size: 12.5px; }
}
@media (max-width:480px) {
  .rln-notice-ticker { width: 100%; }
  .rln-notice-ticker__label { display: none; }
}


/* v1.3 width collapse fix
   원인: 티커 항목이 absolute라서 헤더 텍스트/HTML 위젯 안에서 제목 영역 폭 계산이 0에 가깝게 접히는 현상 보정 */
.rln-notice-ticker {
  display: flex !important;
  width: var(--rlnt-min-width) !important;
  max-width: 100% !important;
  min-width: min(100%, var(--rlnt-min-width)) !important;
}

.rln-notice-ticker__inner {
  flex: 1 1 auto !important;
  min-width: 0 !important;
}

.rln-notice-ticker__viewport {
  min-width: 180px !important;
}

.rln-notice-ticker.no-new-badge .rln-notice-ticker__title::before {
  content: "·";
  display: inline-block;
  margin: 0 7px 0 0;
  color: #6d35e8;
  font-weight: 950;
}

@media (max-width: 768px) {
  .rln-notice-ticker {
    width: min(100%, var(--rlnt-min-width)) !important;
    min-width: 0 !important;
  }
  .rln-notice-ticker__viewport {
    min-width: 120px !important;
  }
}

@media (max-width: 480px) {
  .rln-notice-ticker {
    width: 100% !important;
  }
  .rln-notice-ticker__viewport {
    min-width: 0 !important;
  }
}
