.timeline_content_mobile_skin {
  display: none;
}

@media (max-width: 640px) {
  .timeline_view_content_skin {
    display: none;
  }

  .timeline_content_mobile_skin {
    position: relative;
    display: block;
    width: calc(100% + 40px);
    min-height: 620px;
    margin-right: -20px;
    margin-left: -20px;
    overflow: hidden;
    background: #e7e8e8;
    border-top: 1px solid #dfe4e9;
    border-bottom: 1px solid #dfe4e9;
    box-sizing: border-box;
  }

  .timeline_content_mobile_line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1;
    height: 4px;
    background: var(--content-mobile-line-color, #48cfae);
  }

  .timeline_content_mobile_controls {
    position: absolute;
    left: 35px;
    bottom: 18px;
    z-index: 8;
  }

  .timeline_content_mobile_tag_button {
    position: relative;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 1px solid #dfe6ef;
    border-radius: 10px;
    background: #ffffff;
    color: #18385a;
    box-shadow: 0 8px 18px rgba(24, 36, 51, 0.14);
    cursor: pointer;
  }

  .timeline_content_mobile_tag_button i:first-child {
    font-size: 18px;
  }

  .timeline_content_mobile_tag_indicator {
    position: absolute;
    top: 9px;
    right: 9px;
    color: #418fde;
    font-size: 7px;
    line-height: 1;
    pointer-events: none;
  }

  .timeline_content_mobile_tag_indicator[hidden] {
    display: none !important;
  }

  .timeline_content_mobile_tag_filter {
    top: auto;
    bottom: calc(100% + 10px);
    left: 0;
    max-width: min(260px, calc(100vw - 44px));
  }

  .timeline_content_mobile_scroller {
    position: relative;
    z-index: 2;
    width: 100%;
    min-height: 620px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 44px 38px;
    box-sizing: border-box;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 44px;
    touch-action: pan-x pan-y;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
  }

  .timeline_content_mobile_scroller::-webkit-scrollbar {
    display: none;
  }

  .timeline_content_mobile_track {
    display: flex;
    align-items: flex-start;
    gap: 44px;
    width: max-content;
    min-width: 100%;
    padding-top: 40px;
    box-sizing: border-box;
  }

  .timeline_content_mobile_card {
    position: relative;
    flex: 0 0 min(360px, calc(100vw - 50px));
    width: min(360px, calc(100vw - 50px));
    max-width: calc(100vw - 50px);
    min-width: 0;
    overflow: hidden;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    border-radius: 8px;
    background: #ffffff;
    color: #1d242d;
    box-sizing: border-box;
    cursor: pointer;
  }

  .timeline_content_mobile_card[hidden] {
    display: none;
  }

  .timeline_content_mobile_card:focus-visible {
    outline: 2px solid #418fde;
    outline-offset: 3px;
  }

  .timeline_content_mobile_connector {
    position: absolute;
    left: 50%;
    bottom: 100%;
    width: 2px;
    height: 58px;
    transform: translateX(-50%);
    background: #ffffff;
    pointer-events: none;
  }

  .timeline_content_mobile_body {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    width: 100%;
    min-width: 0;
    padding: 22px;
    box-sizing: border-box;
  }

  .timeline_content_mobile_date {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    margin: 0;
    border-radius: 7px;
    background: #f7f7f7;
    color: #627188;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.2;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }

  .timeline_content_mobile_title {
    margin: 0;
    color: #1c1f24;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.25;
    word-break: keep-all;
    overflow-wrap: anywhere;
  }

  .timeline_content_mobile_media {
    position: relative;
    overflow: hidden;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    border-radius: 8px;
    background: #eef2f6;
  }

  .timeline_content_mobile_image {
    display: block;
    width: 100%;
    max-height: 230px;
    object-fit: cover;
  }

  .timeline_content_mobile_desc {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: #535f6f;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    word-break: keep-all;
    overflow-wrap: anywhere;
  }

  .timeline_content_mobile_caption {
    margin: -8px 0 0;
  }

  .timeline_content_mobile_links {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
  }

  .timeline_content_mobile_links .timeline_event_modal_link {
    display: flex;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }

  .timeline_content_mobile_links .timeline_event_modal_link_body {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
  }

  .timeline_content_mobile_links .timeline_event_modal_link_title,
  .timeline_content_mobile_links .timeline_event_modal_link_desc {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .timeline_content_mobile_links .timeline_event_modal_link_title {
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .timeline_content_mobile_links .timeline_event_modal_link_desc {
    white-space: normal;
  }

  .timeline_content_mobile_tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .timeline_content_mobile_empty {
    width: min(360px, calc(100vw - 88px));
    margin: 90px auto 0;
    padding: 22px;
    border-radius: 8px;
    background: #ffffff;
    color: #718094;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    box-sizing: border-box;
  }
}
