.eq-timeline {
    --timeline-sticky-top: 88px;
    --timeline-toolbar-height: 94px;
    --timeline-line-x: 85px;
    min-height: 100vh;
}

.eq-timeline *,
.eq-timeline *::before,
.eq-timeline *::after {
    box-sizing: border-box;
}

.eq-timeline [hidden],
.eq-timeline-image-modal[hidden] {
    display: none !important;
}

.eq-timeline-hero {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #e0e4e7;
    background: radial-gradient(circle at 85% 10%, rgba(249, 115, 22, 0.13), transparent 34%), linear-gradient(135deg, #fff 0%, #fffaf5 100%);
}

.eq-timeline-hero::after {
    position: absolute;
    right: -80px;
    bottom: -130px;
    width: 360px;
    height: 360px;
    border: 55px solid rgba(249, 115, 22, 0.05);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.eq-timeline-damage-summary {
    margin-top: 30px;
    overflow: hidden;
    border: 1px solid #e0e4e7;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 10px 28px rgba(32, 38, 43, 0.05);
    backdrop-filter: blur(10px);
}

.eq-timeline-damage-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    padding: 17px 20px 15px;
    border-bottom: 1px solid #e8ebed;
}

.eq-timeline-damage-label {
    margin: 0;
    color: #343b41;
    font-size: 0.86rem;
    font-weight: 800;
}

.eq-timeline-damage-standard {
    margin: 5px 0 0;
    color: #7a838a;
    font-size: 0.72rem;
    font-weight: 600;
}

.eq-timeline-damage-source {
    flex: 0 0 auto;
    margin: 0;
    color: #899198;
    font-size: 0.68rem;
}

.eq-timeline-damage-list {
    display: grid;
    grid-template-columns: repeat(6, minmax(120px, 1fr));
}

.eq-timeline-damage-item {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 100px;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    padding: 17px 19px;
    --damage-color: #5f6870;
    --damage-background: #f5f6f7;
    position: relative;
}

.eq-timeline-damage-item::after {
    position: absolute;
    top: 17px;
    bottom: 17px;
    left: 0;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: var(--damage-color);
    content: "";
}

.eq-timeline-damage-name {
    color: var(--damage-color);
}

.eq-timeline-damage-value {
    color: var(--damage-color);
}

.eq-timeline-damage-value span {
    color: #747d84;
}

.eq-timeline-damage-item.is-death {
    --damage-color: #c83939;
    --damage-background: #fff1f1;
}

.eq-timeline-damage-item.is-missing {
    --damage-color: #9b4f74;
    --damage-background: #fbf1f6;
}

.eq-timeline-damage-item.is-injured {
    --damage-color: #d06a24;
    --damage-background: #fff4e9;
}

.eq-timeline-damage-item.is-destroyed {
    --damage-color: #795548;
    --damage-background: #f7f1ee;
}

.eq-timeline-damage-item.is-half-destroyed {
    --damage-color: #8a6a2f;
    --damage-background: #f8f4e9;
}

.eq-timeline-damage-item.is-damaged {
    --damage-color: #b64b2c;
    --damage-background: #fff0eb;
}

.eq-timeline-damage-item:hover {
    background: var(--damage-background);
}

.eq-timeline-damage-item + .eq-timeline-damage-item::before {
    position: absolute;
    top: 20px;
    bottom: 20px;
    left: 0;
    width: 1px;
    background: #e5e8ea;
    content: "";
}

.eq-timeline-damage-name {
    color: #727b82;
    font-size: 0.72rem;
    font-weight: 700;
}

.eq-timeline-damage-value {
    margin-top: 7px;
    color: #272e33;
    font-size: 1.2rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.04em;
    line-height: 1.2;
    white-space: nowrap;
}

.eq-timeline-damage-value span {
    margin-left: 2px;
    color: #727b82;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0;
}

.eq-timeline-hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    width: min(1280px, calc(100% - 48px));
    align-items: flex-end;
    justify-content: space-between;
    gap: 48px;
    margin: 0 auto;
    padding: 58px 0 44px;
}

.eq-timeline-heading {
    max-width: 760px;
}

.eq-timeline-category {
    margin: 0 0 12px;
    color: #e45f08;
    font-size: 0.83rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.eq-timeline-heading h1 {
    margin: 0;
    color: #1c2227;
    font-size: clamp(2rem, 4vw, 3.35rem);
    font-weight: 800;
    letter-spacing: -0.055em;
    line-height: 1.16;
}

.eq-timeline-description {
    max-width: 680px;
    margin: 20px 0 0;
    color: #59636c;
    font-size: 1rem;
    line-height: 1.8;
    word-break: keep-all;
}

.eq-timeline-period {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 24px;
    color: #485159;
    font-size: 0.85rem;
    font-weight: 700;
}

.eq-timeline-period-separator {
    width: 17px;
    height: 1px;
    background: #aab1b7;
}

.eq-timeline-timezone {
    margin-left: 6px;
    padding: 5px 9px;
    border: 1px solid #e1e4e7;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.75);
    color: #737c84;
    font-size: 0.73rem;
}

.eq-timeline-hero-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(90px, 1fr));
    min-width: 350px;
    overflow: hidden;
    border: 1px solid rgba(225, 228, 231, 0.9);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 12px 34px rgba(28, 34, 39, 0.06);
    backdrop-filter: blur(10px);
}

.eq-timeline-summary-item {
    position: relative;
    display: flex;
    min-height: 105px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 17px;
    text-align: center;
}

.eq-timeline-summary-item+.eq-timeline-summary-item::before {
    position: absolute;
    top: 23px;
    bottom: 23px;
    left: 0;
    width: 1px;
    background: #e6e8ea;
    content: "";
}

.eq-timeline-summary-value {
    color: #252b30;
    font-size: 1.7rem;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.eq-timeline-summary-label {
    margin-top: 5px;
    color: #7a838a;
    font-size: 0.75rem;
    font-weight: 700;
}

.eq-timeline-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 34px;
    width: min(1280px, calc(100% - 48px));
    margin: 0 auto;
    padding: 36px 0 80px;
}

.eq-timeline-sidebar,
.eq-timeline-main {
    min-width: 0;
}

.eq-timeline-sidebar-inner {
    position: sticky;
    top: var(--timeline-sticky-top);
    display: flex;
    max-height: calc(100vh - var(--timeline-sticky-top) - 16px);
    overflow-y: auto;
    flex-direction: column;
    gap: 14px;
    padding-right: 2px;
    scrollbar-width: thin;
}

.eq-timeline-sidebar-section {
    flex: 0 0 auto;
    padding: 19px;
    border: 1px solid #e0e4e7;
    border-radius: 11px;
    background: #fff;
}

.eq-timeline-sidebar-section h2 {
    margin: 0 0 14px;
    color: #343b41;
    font-size: 0.84rem;
    font-weight: 800;
}

.eq-timeline-sidebar-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 13px;
}

.eq-timeline-sidebar-heading h2 {
    margin: 0;
}

.eq-timeline-reset-button {
    padding: 0;
    border: 0;
    background: transparent;
    color: #e45f08;
    font: inherit;
    font-size: 0.73rem;
    font-weight: 700;
    cursor: pointer;
}

.eq-timeline-reset-button:hover {
    text-decoration: underline;
}

.eq-timeline-date-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.eq-timeline-date-button {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 11px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #555e65;
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.eq-timeline-date-button:hover {
    background: #f4f5f6;
    color: #2f363b;
}

.eq-timeline-date-button.is-active {
    background: #fff0e5;
    color: #d95705;
    font-weight: 800;
}

.eq-timeline-date-label {
    font-size: 0.82rem;
}

.eq-timeline-date-count {
    min-width: 27px;
    padding: 3px 6px;
    border-radius: 20px;
    background: #eef0f2;
    color: #737c83;
    font-size: 0.68rem;
    font-weight: 700;
    text-align: center;
}

.eq-timeline-date-button.is-active .eq-timeline-date-count {
    background: #fff;
    color: #d95705;
}

.eq-timeline-type-section {
    padding: 0;
    overflow: hidden;
}

.eq-timeline-section-toggle {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 19px;
    border: 0;
    background: transparent;
    color: #343b41;
    font: inherit;
    font-size: 0.84rem;
    font-weight: 800;
    text-align: left;
    cursor: pointer;
}

.eq-timeline-section-toggle:hover {
    background: #f8f9fa;
}

.eq-timeline-section-toggle-icon {
    position: relative;
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
}

.eq-timeline-section-toggle-icon::before,
.eq-timeline-section-toggle-icon::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 1.5px;
    border-radius: 2px;
    background: #7a838a;
    content: "";
    transform: translate(-50%, -50%);
    transition: transform 0.18s ease;
}

.eq-timeline-section-toggle-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.eq-timeline-section-toggle[aria-expanded="true"] .eq-timeline-section-toggle-icon::after {
    transform: translate(-50%, -50%) rotate(0deg);
}

#timeline-type-panel {
    border-top: 1px solid #edf0f2;
}

#timeline-type-panel[hidden] {
    display: none !important;
}

.eq-timeline-type-list {
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 12px 19px 19px;
}

.eq-timeline-type-button {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 9px;
    padding: 8px 7px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #596168;
    font: inherit;
    font-size: 0.8rem;
    text-align: left;
    cursor: pointer;
}

.eq-timeline-type-button:hover {
    background: #f4f5f6;
}

.eq-timeline-type-button.is-active {
    background: #f0f2f3;
    color: #262d32;
    font-weight: 800;
}

.eq-timeline-type-marker {
    flex: 0 0 auto;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--timeline-type-color, #7e8790);
}

.eq-timeline-type-name {
    flex: 1;
}

.eq-timeline-type-count {
    color: #8b9399;
    font-size: 0.68rem;
}

.eq-timeline-check {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: #596168;
    font-size: 0.79rem;
    line-height: 1.5;
    cursor: pointer;
}

.eq-timeline-check+.eq-timeline-check {
    margin-top: 11px;
}

.eq-timeline-check input {
    width: 15px;
    height: 15px;
    margin: 2px 0 0;
    accent-color: #ea640c;
}

.eq-timeline-importance-legend {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.eq-timeline-importance-legend>div {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #697178;
    font-size: 0.75rem;
}

.importance-dot {
    display: block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
}

.importance-1 {
    background: #aab1b7;
}

.importance-3 {
    background: #f0943e;
}

.importance-5 {
    background: #df3f37;
    box-shadow: 0 0 0 4px rgba(223, 63, 55, 0.1);
}

.eq-timeline-toolbar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    padding: 15px 17px;
    border: 1px solid #dfe3e6;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 9px 24px rgba(31, 38, 43, 0.07);
    backdrop-filter: blur(12px);
}

.eq-timeline-search {
    flex: 1;
    min-width: 0;
}

.eq-timeline-search>label,
.eq-timeline-select-field>span {
    display: block;
    margin-bottom: 7px;
    color: #687179;
    font-size: 0.69rem;
    font-weight: 800;
}

.eq-timeline-search-field {
    position: relative;
}

.eq-timeline-search-field input {
    width: 100%;
    height: 41px;
    padding: 0 64px 0 13px;
    border: 1px solid #d8dde0;
    border-radius: 7px;
    outline: none;
    background: #fff;
    color: #2c3338;
    font: inherit;
    font-size: 0.84rem;
}

.eq-timeline-search-field input:focus {
    border-color: #ef812f;
    box-shadow: 0 0 0 3px rgba(239, 129, 47, 0.13);
}

.eq-timeline-search-field button {
    position: absolute;
    top: 50%;
    right: 11px;
    padding: 3px;
    border: 0;
    background: transparent;
    color: #7a8289;
    font: inherit;
    font-size: 0.68rem;
    font-weight: 700;
    cursor: pointer;
    transform: translateY(-50%);
}

.eq-timeline-toolbar-options {
    display: flex;
    gap: 10px;
}

.eq-timeline-select-field select {
    height: 41px;
    min-width: 105px;
    padding: 0 31px 0 11px;
    border: 1px solid #d8dde0;
    border-radius: 7px;
    outline: none;
    background: #fff;
    color: #3c444a;
    font: inherit;
    font-size: 0.79rem;
}

.eq-timeline-select-field select:focus {
    border-color: #ef812f;
}

.eq-timeline-mobile-date,
.eq-timeline-mobile-filter-button,
.eq-timeline-mobile-filter {
    display: none;
}

.eq-timeline-result-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin: 29px 2px 20px;
}

.eq-timeline-current-date {
    margin: 0;
    color: #2d3439;
    font-size: 1.26rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.eq-timeline-result-count {
    margin: 6px 0 0;
    color: #7a8288;
    font-size: 0.77rem;
}

.eq-timeline-loading,
.eq-timeline-error,
.eq-timeline-empty {
    display: flex;
    min-height: 260px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 40px 20px;
    border: 1px solid #e0e4e7;
    border-radius: 11px;
    background: #fff;
    text-align: center;
}

.eq-timeline-loading p,
.eq-timeline-error p,
.eq-timeline-empty p {
    margin: 12px 0 0;
    color: #788087;
    font-size: 0.84rem;
    line-height: 1.6;
}

.eq-timeline-error h2,
.eq-timeline-empty h2 {
    margin: 0;
    color: #363d42;
    font-size: 1rem;
}

.eq-timeline-error button {
    margin-top: 19px;
    padding: 9px 14px;
    border: 0;
    border-radius: 7px;
    background: #ea640c;
    color: #fff;
    font: inherit;
    font-size: 0.78rem;
    font-weight: 800;
    cursor: pointer;
}

.eq-timeline-loading-spinner {
    width: 25px;
    height: 25px;
    border: 3px solid #eceff1;
    border-top-color: #ed6b17;
    border-radius: 50%;
    animation: timeline-spin 0.8s linear infinite;
}

@keyframes timeline-spin {
    to {
        transform: rotate(360deg);
    }
}

.eq-timeline-content,
.eq-timeline-day,
.eq-timeline-items,
.eq-timeline-minute-group {
    overflow: visible;
}

.eq-timeline-content {
    display: flex;
    flex-direction: column;
    gap: 38px;
}

.eq-timeline-day {
    scroll-margin-top: calc(var(--timeline-sticky-top) + var(--timeline-toolbar-height) + 24px);
}

.eq-timeline-day-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 17px;
    padding-bottom: 13px;
    border-bottom: 1px solid #dce0e3;
}

.eq-timeline-day-date {
    margin: 0;
    color: #252c31;
    font-size: 1.37rem;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.eq-timeline-day-stat {
    color: #788087;
    font-size: 0.72rem;
}

.eq-timeline-items {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.eq-timeline-items::before {
    position: absolute;
    top: 16px;
    bottom: 16px;
    left: var(--timeline-line-x);
    width: 1px;
    background: #d9dde0;
    content: "";
    transform: translateX(-50%);
}

.eq-timeline-minute-group {
    position: relative;
    display: grid;
    grid-template-columns: 66px minmax(0, 1fr);
    gap: 38px;
}

.eq-timeline-time-area {
    position: sticky;
    top: calc(var(--timeline-sticky-top) + 16px);
    z-index: 6;
    display: flex;
    align-self: start;
    align-items: center;
    justify-content: flex-end;
    min-height: 18px;
}

.eq-timeline-minute {
    color: #40484e;
    font-size: 0.83rem;
    font-variant-numeric: tabular-nums;
    font-weight: 800;
    line-height: 1;
    text-align: right;
    white-space: nowrap;
}

.eq-timeline-marker {
    position: absolute;
    top: 50%;
    left: var(--timeline-line-x);
    width: 11px;
    height: 11px;
    border: 3px solid #f5f6f7;
    border-radius: 50%;
    background: #9aa2a8;
    transform: translate(-50%, -50%);
}

.eq-timeline-time-area[data-max-importance="3"] .eq-timeline-marker,
.eq-timeline-time-area[data-max-importance="4"] .eq-timeline-marker {
    background: #ef8c35;
}

.eq-timeline-time-area[data-max-importance="5"] .eq-timeline-marker {
    width: 15px;
    height: 15px;
    background: #df3f37;
    box-shadow: 0 0 0 4px rgba(223, 63, 55, 0.12);
}

.eq-timeline-event-list {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 9px;
}

.eq-timeline-event-card {
    position: relative;
    overflow: hidden;
    border: 1px solid #dfe3e6;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 3px 11px rgba(35, 41, 46, 0.025);
    scroll-margin-top: calc(var(--timeline-sticky-top) + var(--timeline-toolbar-height) + 24px);
}

.eq-timeline-event-card::before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 4px;
    background: var(--timeline-type-color, #899198);
    content: "";
}

.eq-timeline-event-card.is-major {
    border-color: #ead1c0;
    box-shadow: 0 5px 18px rgba(90, 53, 27, 0.05);
}

.eq-timeline-event-card.is-highlighted {
    animation: timeline-highlight 2.4s ease;
}

@keyframes timeline-highlight {

    0%,
    100% {
        box-shadow: 0 3px 11px rgba(35, 41, 46, 0.025);
    }

    25%,
    70% {
        border-color: #ef7b28;
        box-shadow: 0 0 0 4px rgba(239, 123, 40, 0.16);
    }
}

.eq-timeline-event-content {
    padding: 16px 17px 15px 19px;
}

.eq-timeline-event-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 9px;
}

.eq-timeline-event-type {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--timeline-type-color, #626b72);
    font-size: .9rem;
    font-weight: 800;
}

.eq-timeline-event-type::before {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
    content: "";
}

.eq-timeline-event-importance {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 6px;
    border-radius: 4px;
    background: #f0f2f3;
    color: #7c848a;
    font-size: 0.62rem;
    font-weight: 800;
}

.eq-timeline-event-importance.is-major {
    background: #fff0e5;
    color: #de5a05;
}

.eq-timeline-event-importance.is-critical {
    background: #fff0ef;
    color: #d53b35;
}

.eq-timeline-event-link {
    margin-left: auto;
    padding: 3px 5px;
    border: 0;
    background: transparent;
    color: #838b91;
    font: inherit;
    font-size: 0.67rem;
    cursor: pointer;
}

.eq-timeline-event-link:hover {
    color: #e25d08;
    text-decoration: underline;
}

.eq-timeline-event-text {
    margin: 0;
    color: #353c41;
    font-size: 0.91rem;
    line-height: 1.72;
    white-space: pre-line;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

.eq-timeline-event-sources {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 12px;
    padding-top: 11px;
    border-top: 1px solid #edf0f2;
}

.eq-timeline-source-link {
    color: #68727a;
    font-size: 0.68rem;
    text-decoration: none;
}

.eq-timeline-group-image {
    overflow: hidden;
    margin: 3px 0 0;
    border: 1px solid #dfe3e6;
    border-radius: 10px;
    background: #fff;
}

.eq-timeline-group-image-button {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: #eef1f3;
    cursor: zoom-in;
}

.eq-timeline-group-image-button img {
    display: block;
    width: 100%;
    max-height: 540px;
    object-fit: contain;
}

.eq-timeline-group-image-caption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 13px;
    color: #6e777e;
    font-size: 0.68rem;
}

.eq-timeline-group-image-caption strong {
    color: #4b545a;
}

.eq-timeline-image-modal {
    position: fixed;
    z-index: 10000;
    inset: 0;
}

.eq-timeline-image-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(19, 23, 26, 0.8);
    backdrop-filter: blur(4px);
}

.eq-timeline-image-modal-dialog {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    width: min(1100px, calc(100% - 38px));
    max-height: calc(100vh - 38px);
    overflow: hidden;
    flex-direction: column;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.32);
    transform: translate(-50%, -50%);
}

.eq-timeline-image-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 17px;
    border-bottom: 1px solid #e4e7e9;
}

.eq-timeline-image-modal-header h2 {
    margin: 2px 0 0;
    color: #30373c;
    font-size: 0.91rem;
}

.eq-timeline-image-modal-time {
    margin: 0;
    color: #e0600d;
    font-size: 0.7rem;
    font-weight: 800;
}

.eq-timeline-image-modal-close {
    padding: 7px 10px;
    border: 1px solid #d9dde0;
    border-radius: 6px;
    background: #fff;
    color: #596168;
    font: inherit;
    font-size: 0.72rem;
    font-weight: 700;
    cursor: pointer;
}

.eq-timeline-image-modal-body {
    min-height: 0;
    overflow: auto;
    padding: 18px;
    background: #e9edef;
    text-align: center;
}

.eq-timeline-image-modal-body img {
    max-width: 100%;
    height: auto;
    max-height: calc(100vh - 130px);
    object-fit: contain;
}

body.is-timeline-modal-open {
    overflow: hidden;
}

.eq-timeline-earthquake-detail {
    overflow: hidden;
    border: 1px solid #e5e8ea;
    border-radius: 8px;
    background: #fafbfb;
}

.eq-timeline-earthquake-epicenter {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 13px 14px;
    border-bottom: 1px solid #e7eaec;
    background: #ffffff;
}

.eq-timeline-earthquake-label {
    color: #7b848b;
    font-size: 0.68rem;
    font-weight: 700;
}

.eq-timeline-earthquake-epicenter-value {
    color: #30373c;
    font-size: 0.95rem;
    font-weight: 800;
    text-align: right;
}

.eq-timeline-earthquake-values {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.eq-timeline-earthquake-value {
    position: relative;
    display: flex;
    min-height: 68px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    text-align: center;
}

.eq-timeline-earthquake-value + .eq-timeline-earthquake-value::before {
    position: absolute;
    top: 13px;
    bottom: 13px;
    left: 0;
    width: 1px;
    background: #e2e6e8;
    content: "";
}

.eq-timeline-earthquake-value strong {
    color: #333b41;
    font-size: 0.93rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}
.eq-timeline-group-images {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    margin-top: 3px;
}

.eq-timeline-group-images.is-multiple {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.eq-timeline-group-images .eq-timeline-group-image {
    min-width: 0;
    margin: 0;
}

.eq-timeline-group-images.is-multiple .eq-timeline-group-image-button img {
    height: 280px;
    object-fit: cover;
}

@media (max-width: 1000px) {
    .eq-timeline-hero-inner {
        align-items: stretch;
        flex-direction: column;
        gap: 30px;
    }

    .eq-timeline-hero-summary {
        width: 100%;
        min-width: 0;
    }

    .eq-timeline-layout {
        grid-template-columns: 220px minmax(0, 1fr);
        gap: 25px;
    }

    .eq-timeline-damage-list {
        overflow-x: auto;
        grid-template-columns: repeat(6, minmax(145px, 1fr));
        scrollbar-width: thin;
    }
}

@media (max-width: 760px) {
    .eq-timeline {
        --timeline-sticky-top: 0px;
        --timeline-line-x: 49px;
    }

    .eq-timeline-hero-inner,
    .eq-timeline-layout {
        width: calc(100% - 28px);
    }

    .eq-timeline-hero-inner {
        padding: 39px 0 30px;
    }

    .eq-timeline-heading h1 {
        font-size: 2.05rem;
    }

    .eq-timeline-description {
        font-size: 0.9rem;
        line-height: 1.7;
    }

    .eq-timeline-hero-summary {
        border-radius: 10px;
    }

    .eq-timeline-summary-item {
        min-height: 85px;
        padding: 12px 7px;
    }

    .eq-timeline-summary-value {
        font-size: 1.35rem;
    }

    .eq-timeline-summary-label {
        font-size: 0.67rem;
    }

    .eq-timeline-layout {
        display: block;
        padding: 22px 0 60px;
    }

    .eq-timeline-sidebar {
        display: none;
    }

    .eq-timeline-toolbar {
        position: static;
        display: block;
        padding: 13px;
    }

    .eq-timeline-toolbar-options {
        display: grid;
        grid-template-columns: 1fr 1fr;
        margin-top: 11px;
    }

    .eq-timeline-select-field select {
        width: 100%;
    }

    .eq-timeline-mobile-date {
        display: block;
        margin-top: 13px;
        padding: 13px;
        border: 1px solid #dfe3e6;
        border-radius: 9px;
        background: #fff;
    }

    .eq-timeline-mobile-date label {
        display: block;
        margin-bottom: 7px;
        color: #667078;
        font-size: 0.69rem;
        font-weight: 800;
    }

    .eq-timeline-mobile-date select {
        width: 100%;
        height: 40px;
        padding: 0 11px;
        border: 1px solid #d8dde0;
        border-radius: 7px;
        background: #fff;
        color: #3c444a;
        font: inherit;
        font-size: 0.8rem;
    }

    .eq-timeline-result-header {
        align-items: center;
        margin: 23px 2px 17px;
    }

    .eq-timeline-mobile-filter-button {
        display: block;
        padding: 8px 12px;
        border: 1px solid #d9dde0;
        border-radius: 7px;
        background: #fff;
        color: #485158;
        font: inherit;
        font-size: 0.74rem;
        font-weight: 800;
        cursor: pointer;
    }

    .eq-timeline-mobile-filter-button[aria-expanded="true"] {
        border-color: #ee7d2d;
        background: #fff3ea;
        color: #db5a08;
    }

    .eq-timeline-mobile-filter {
        display: block;
        margin-bottom: 17px;
        padding: 15px;
        border: 1px solid #dfe3e6;
        border-radius: 9px;
        background: #fff;
    }

    .eq-timeline-mobile-filter[hidden] {
        display: none !important;
    }

    .eq-timeline-mobile-filter-section+.eq-timeline-mobile-filter-section {
        margin-top: 16px;
        padding-top: 15px;
        border-top: 1px solid #eceff1;
    }

    .eq-timeline-mobile-filter-section h3 {
        margin: 0 0 10px;
        color: #3c444a;
        font-size: 0.77rem;
    }

    .eq-timeline-mobile-type-list {
        display: flex;
        flex-wrap: wrap;
        gap: 7px;
    }

    .eq-timeline-mobile-type-button {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 7px 9px;
        border: 1px solid #dfe3e6;
        border-radius: 6px;
        background: #fff;
        color: #5f686f;
        font: inherit;
        font-size: 0.72rem;
        cursor: pointer;
    }

    .eq-timeline-mobile-type-button.is-active {
        border-color: #e57b31;
        background: #fff1e7;
        color: #d95b09;
        font-weight: 800;
    }

    .eq-timeline-mobile-check-list {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .eq-timeline-day {
        scroll-margin-top: 15px;
    }

    .eq-timeline-day-date {
        font-size: 1.17rem;
    }

    .eq-timeline-minute-group {
        grid-template-columns: 37px minmax(0, 1fr);
        gap: 27px;
    }

    .eq-timeline-time-area {
        position: static;
        min-height: 18px;
    }

    .eq-timeline-minute {
        font-size: 0.7rem;
    }

    .eq-timeline-event-content {
        padding: 14px 14px 14px 17px;
    }

    .eq-timeline-event-text {
        font-size: 0.84rem;
        line-height: 1.68;
        word-break: normal;
    }

    .eq-timeline-event-link {
        margin-left: 0;
    }

    .eq-timeline-group-image-button img {
        max-height: 420px;
    }

    .eq-timeline-image-modal-dialog {
        width: calc(100% - 20px);
        max-height: calc(100vh - 20px);
    }
    .eq-timeline-marker {
        position: absolute;
        top: 9px;
        left: var(--timeline-line-x);
        width: 11px;
        height: 11px;
        border: 3px solid #f5f6f7;
        border-radius: 50%;
        background: #9aa2a8;
        transform: translate(-50%, -50%);
    }
}


@media (max-width: 500px) {
    .eq-timeline-earthquake-epicenter {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

    .eq-timeline-earthquake-epicenter-value {
        text-align: left;
    }

    .eq-timeline-earthquake-value {
        min-height: 62px;
        padding: 9px 5px;
    }

    .eq-timeline-earthquake-value strong {
        font-size: 0.82rem;
    }

    .eq-timeline-group-images.is-multiple {
        grid-template-columns: minmax(0, 1fr);
    }

    .eq-timeline-group-images.is-multiple .eq-timeline-group-image-button img {
        height: auto;
        max-height: 420px;
        object-fit: contain;
    }
    
    .eq-timeline-damage-summary {
        margin-top: 24px;
        border-radius: 10px;
    }

    .eq-timeline-damage-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
        padding: 15px 16px 13px;
    }

    .eq-timeline-damage-list {
        grid-template-columns: repeat(6, 135px);
    }

    .eq-timeline-damage-item {
        min-height: 90px;
        padding: 15px 16px;
    }

    .eq-timeline-damage-value {
        font-size: 1.22rem;
    }
}

@media (max-width: 430px) {
    .eq-timeline-hero-summary {
        grid-template-columns: repeat(3, 1fr);
    }

    .eq-timeline-summary-item+.eq-timeline-summary-item::before {
        top: 19px;
        bottom: 19px;
    }

    .eq-timeline-period {
        font-size: 0.76rem;
    }

    .eq-timeline-timezone {
        width: fit-content;
        margin-left: 0;
    }

    .eq-timeline-toolbar-options {
        grid-template-columns: 1fr;
    }

    .eq-timeline-day-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }
}