.event-container {
  overflow: visible;
  padding: 0;
}

.event-container .card-move-btn {
  display: flex;
  align-items: center;
  width: 100%;
  height: 46px;
  margin: auto;
  padding: 0 16px;
  color: #151515;
  font-weight: 500;
  font-size: 13px;
  line-height: 46px;
  letter-spacing: -0.02em;
  text-align: left;
  background-color: #f0ffc8;
}

.event-container .card-move-btn::before {
  content: "";
  display: block;
  width: 24px;
  height: 24px;
  background-image: url("../../images/mass/rround-event-img.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
  margin-right: 8px;
}

.event-container .card-move-btn::after {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  background-image: url("../../images/common/icon-arrow-right.svg");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
  margin-left: auto;
}

.event-container .event-content-wrap {
  display: flex;
  flex-direction: column;
  padding: 0 16px 40px;
  word-wrap: break-word;
}

.event-container .event-content-wrap .event-content {
  margin-bottom: 40px;
  opacity: 0.3;
  transition: opacity 0.3s ease-in-out;
}

.event-container .event-content-wrap .event-content.active {
  opacity: 1;
}

.event-container .event-content-wrap .event-content:first-child,
.event-container .event-content-wrap .event-content:first-child .event-num {
  transition: none;
}

.event-container .event-content-wrap .event-content:last-child {
  margin-bottom: 0;
}

.event-container .event-content-wrap .event-num-wrap {
  display: flex;
  align-items: flex-start;
}

.event-container .event-content-wrap .event-num {
  flex: 0 0 auto;
  display: block;
  width: 24px;
  height: 24px;
  margin-right: 8px;
  border-radius: 50%;
  background-color: #f6f6f9;
  color: #454545;
  font-weight: 700;
  font-size: 14px;
  line-height: 24px;
  text-align: center;
  transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

.event-container .event-content-wrap .event-content.active .event-num {
  background-color: #EEF5FF;
  color: #1B4DF5;
}

.event-container .event-content-wrap .event-text {
  font-weight: 700;
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: -0.03em;
  color: #151515;
  word-break: break-all;
}

.event-container .event-bg-text {
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: #151515;
}

.event-container .event-title {
  display: flex;
  flex-direction: column;
  position: relative;
  width: fit-content;
  margin-top: 24px;
  margin-bottom: 32px;
  padding: 0 16px;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.4;
  letter-spacing: -0.03em;
}

.event-container .event-title > * {
  display: inline-block;
  position: relative;
  width: fit-content;
}

.event-container .event-title > *:last-child:after {
  content: "";
  position: absolute;
  bottom: 0;
  right: -28px;
  width: 24px;
  height: 24px;
  background-image: url("../../images/mass/text-deco-img.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
}

.event-container .event-title b {
  color: #396FF4;
}

.event-container .event-content-wrap .event-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* 순차 애니메이션을 위한 keyframes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.event-container .event-content-wrap .event-list li {
  display: flex;
  align-items: flex-start;
  width: 100%;
  opacity: 0;
  transform: translateY(20px);
}

.event-container .event-content-wrap .event-content.active .event-list li {
  animation: fadeInUp 0.5s ease-out forwards;
}

.event-container .event-content-wrap .info-text-wrap .info-text {
  opacity: 0;
  transform: translateY(20px);
}

.event-container .event-content-wrap .event-content.active .info-text-wrap .info-text {
  animation: fadeInUp 0.5s ease-out forwards;
}

.event-container .event-content-wrap .event-list li .card-img-wrap {
  height: auto;
  margin-right: 8px;
  margin-top: 3px;
}

.event-container .event-content-wrap .event-list li .list-text-wrap {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 2px;
}

.event-container .event-content-wrap .event-list li .list-text-wrap .sub-text {
  color: #151515;
  display: block;
  font-weight: 700;
  font-size: 13px;
  color: #192D8F;
}

.event-container .event-content-wrap .event-list-wrap {
  position: relative;
  margin-top: 16px;
  padding-left: 32px;
}

.event-container .event-content-wrap .line-wrap {
  content: "";
  position: absolute;
  top: -8px;
  left: 11px;
  width: 2px;
  height: calc(100% + 8px);
  border-radius: 4px;
  background-color: #E5E5E8;
}

.event-container .event-content-wrap .line-wrap .line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: #8EBCFF;
}

.event-container .event-content-wrap .event-content:last-child .event-list-wrap .line-wrap {
  display: none;
}

.event-container .event-content-wrap .event-list-wrap .info-text-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 20px;
}

.event-container .event-content-wrap .event-list-wrap .info-text-wrap .info-text {
  position: relative;
  padding-left: 17px;
  margin-top: 0;
  font-weight: 400;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: #454545;
}

.event-container .event-content-wrap .event-list-wrap .info-text::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 5px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: #d1d1d5;
}

.event-container
  .event-content-wrap
  .event-list
  li
  .list-text-wrap
  .sub-text
  b {
  color: #151515;
  font-weight: 500;
  font-size: 16px;
  word-break: break-all;
}

.event-container
  .event-content-wrap
  .event-list
  li
  .list-text-wrap
  .sub-text
  i {
  display: block;
  color: #888888;
  font-weight: 400;
  font-size: 14px;
}

.event-container .event-content-wrap .event-list li .view-btn {
  height: 28px;
  margin: auto;
  padding: 0 8px;
  border-radius: 8px;
  color: #151515;
  font-weight: 500;
  font-size: 13px;
  line-height: 28px;
  letter-spacing: -0.02em;
  background-color: #f6f6f9;
}

.event-container .event-content-wrap .event-list li .view-btn:disabled {
  background-color: #d1d1d5;
  color: #fff;
  pointer-events: none;
}

.event-container .event-content-wrap .event-info {
  position: relative;
  padding-left: 32px;
}

.event-container .event-content-wrap .event-content:last-child .event-info::before {
  display: none;
}

.event-container .event-content-wrap .event-info-title {
  font-weight: 700;
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: -0.02em;
  word-break: break-all;
}

.event-container .event-content-wrap .event-info-title b {
  color: #396FF4;
}

.event-container .event-content-wrap .event-info-title i {
  position: relative;
}

.event-container .event-content-wrap .event-info-title i::before {
  content: "";
  position: absolute;
  z-index: -1;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 16px;
  background: #D9E7FFB2;
  transition: width 0.3s 0.3s ease-in-out;
}

.event-container .event-content-wrap .event-content.active .event-info-title i::before {
  width: 100%;
}

.event-container .event-content-wrap .event-info .event-info-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 20px;
}

.event-container .event-content-wrap .event-info .event-info-list li {
  position: relative;
  color: #454545;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: -0.02em;
  word-break: break-all;
}

.event-container .event-content-wrap .event-info .event-info-btn {
  width: 100%;
  height: 44px;
  margin-top: 32px;
  border-radius: 12px;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: -0.02em;
  background-color: #396FF4;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 0 16px;
}

.event-container .event-content-wrap .event-info .event-info-btn:disabled {
  color: #fff;
  background-color: #d1d1d5;
  pointer-events: none;
}

.event-container .event-detail-wrap {
  padding: 32px 16px;
  border-top: 8px solid #f6f6f9;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.event-container .event-detail-wrap.active {
  opacity: 1;
  transform: translateY(0);
}

.event-container .event-detail-wrap .event-detail-title {
  margin-bottom: 24px;
}

.event-container .event-detail-wrap .event-detail-title .title-text {
  margin-top: 8px;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: -0.02em;
  word-break: break-all;
}

.event-container .event-detail-wrap .event-detail-title .title-text b {
  color: #396FF4;
}

.event-container .event-detail-wrap .event-detail-list {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.event-container .event-detail-wrap .event-detail-list:last-child {
  margin-bottom: 0;
}

.event-container .event-detail-wrap .event-detail-list dt {
  margin-bottom: 8px;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: #151515;
}

.event-container .event-detail-wrap .event-detail-list dd {
  margin-bottom: 2px;
  color: #151515;
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: -0.02em;
  word-break: break-all;
}

.event-container .event-detail-wrap .event-detail-list dd:last-child {
  margin-bottom: 0;
}

.event-container .event-detail-wrap .event-detail-list dd ul {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.event-container .event-detail-wrap .event-detail-list dd ul li {
  position: relative;
  padding-left: 12px;
  color: #151515;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: -0.02em;
  text-decoration: none;
  word-break: break-all;
}

.event-container .event-detail-wrap .event-detail-list dd li::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: #d1d1d5;
}

.event-container .notice-wrap {
  padding: 40px 0 0;
  background: #fff;
  border-top: 8px solid #f6f6f9;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.event-container .notice-wrap.active {
  opacity: 1;
  transform: translateY(0);
}

.event-container .notice-wrap .notice-title {
  margin-bottom: 12px;
  padding: 0 16px;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: #151515;
}

.event-container .notice-content-inner .tab-btn-wrap {
  position: sticky;
  top: 0px;
  z-index: 10;
  background-color: #fff;
  padding: 0;
  overflow: hidden;
}

.event-container .notice-content-inner .tab-btn-wrap .tab-scroll-container {
  display: flex;
  width: 100%;
  height: 48px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.event-container .notice-content-inner .tab-btn-wrap .tab-scroll-container::-webkit-scrollbar {
  display: none;
}

/* 탭 개수에 따른 동적 스타일링 */
.event-container .notice-content-inner .tab-btn-wrap.tab-count-1 .tab-btn {
  width: 100%;
  flex: 0 0 100%;
}

.event-container .notice-content-inner .tab-btn-wrap.tab-count-2 .tab-btn {
  width: 50%;
  flex: 0 0 50%;
}

.event-container .notice-content-inner .tab-btn-wrap.tab-count-3 .tab-btn {
  width: 33.333%;
  flex: 0 0 33.333%;
}

/* 4개 이상일 때는 스크롤 모드 */
.event-container .notice-content-inner .tab-btn-wrap.tab-count-4 .tab-btn,
.event-container .notice-content-inner .tab-btn-wrap.tab-count-5 .tab-btn,
.event-container .notice-content-inner .tab-btn-wrap.tab-count-6 .tab-btn,
.event-container .notice-content-inner .tab-btn-wrap.tab-count-7 .tab-btn,
.event-container .notice-content-inner .tab-btn-wrap.tab-count-8 .tab-btn,
.event-container .notice-content-inner .tab-btn-wrap.tab-count-9 .tab-btn,
.event-container .notice-content-inner .tab-btn-wrap.tab-count-10 .tab-btn {
  width: auto;
  min-width: 120px;
  flex: 0 0 auto;
}

.event-container .notice-content-inner .tab-btn-wrap .tab-btn {
  width: 100%;
  height: 48px;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: #888888;
  border-bottom: 1px solid #E5E5E8;
  white-space: nowrap;
  padding: 0 16px;
}

.event-container .notice-content-inner .tab-btn-wrap .tab-btn.active {
  font-weight: 700;
  color: #151515;
  border-bottom: 2px solid #151515;
}

/* 스크롤 상태 스타일 */

.event-container .notice-wrap .notice-content-wrap .notice-content {
  padding: 16px;
}

.event-container .notice-wrap .notice-content-wrap  > div:last-child {
  padding-bottom: 108px;
}

.event-container.isnt-share .notice-wrap .notice-content-wrap > div:last-child {
  padding-bottom: 40px;
}

.event-container .notice-wrap .notice-content-wrap .notice-content.fixed-notice-content {
  background-color: #F6F6F9;
}

.event-container
  .notice-wrap
  .notice-content-wrap
  .notice-text {
  margin-bottom: 8px;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: #151515;
}

.event-container
  .notice-wrap
  .notice-content-wrap
  .notice-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.event-container
  .notice-wrap
  .notice-content-wrap
  .notice-list
  li {
  position: relative;
  padding-left: 12px;
  font-weight: 400;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: #454545;
  word-break: break-all;
}

.event-container
  .notice-wrap
  .notice-content-wrap
  .notice-list
  li::before {
  display: block;
  content: "";
  position: absolute;
  top: 6px;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: #d1d1d5;
  word-break: break-all;
}

.event-container .share-wrap {
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 16px 20px;
  background-color: #f1f8ff;
}

.event-container .share-wrap .text-wrap {
  display: flex;
  flex-direction: column;
}

.event-container .share-wrap .text-wrap .text-title {
  font-weight: 700;
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: #151515;
}

.event-container .share-wrap .text-wrap .text-sub {
  font-weight: 400;
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: #454545;
}

.event-container .share-wrap .share-btn {
  height: 34px;
  padding: 0 12px;
  color: #fff;
  background-color: #151515;
  border-radius: 8px;
  line-height: 34px;
}

.event-container .modal-toast.is-btn {
  bottom: 19px;
}

.icon-share {
  width: 24px;
  height: 24px;
  background-image: url("../../images/mass/icon/icon-share.svg");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
}

/* 슬롯 카운터 스타일 */
.event-title .slot-counter {
  display: inline-block;
  position: relative;
  vertical-align: baseline;
}

.event-title .slot-counter .slot-digit {
  display: inline-block;
  position: relative;
  top: 4px;
  vertical-align: baseline;
  overflow: hidden;
  height: 1em;
  line-height: 1em;
}

.event-title .slot-counter .slot-digit .slot-wrapper {
  display: flex;
  flex-direction: column;
  transition: transform 0.5s ease-out;
}

.event-title .slot-counter .slot-digit .slot-item {
  display: block;
  height: 1em;
  line-height: 1em;
  flex-shrink: 0;
  text-align: right;
}

.event-title .slot-counter .slot-unit {
  display: inline;
}