.sjd-dashboard {
    width: 100%;
    max-width: 340px;
    box-sizing: border-box;
    padding: 14px 10px 8px;
    border: 1px solid #d9dee7;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 12px rgba(15, 23, 42, .16);
    font-family: Arial, Helvetica, sans-serif;
    color: #111827;
}
.sjd-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: start;
    margin: 0 0 12px;
}
.sjd-head > div {
    position: relative;
    min-width: 0;
    padding-left: 43px;
}
.sjd-head strong {
    display: block;
    max-width: 142px;
    font-size: 22px;
    line-height: .95;
    font-weight: 800;
    letter-spacing: 0;
}
.sjd-head strong span {
    color: #d40000;
}
.sjd-head small {
    display: block;
    margin-top: 11px;
    color: #4b5563;
    font-size: 12px;
    line-height: 1.3;
    font-weight: 700;
}
.sjd-dot {
    position: absolute;
    left: 0;
    top: 2px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e00012;
    box-shadow: inset -5px -6px 10px rgba(0, 0, 0, .08);
}
.sjd-dot:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -30px;
    width: 31px;
    height: 2px;
    background: #e00012;
}
.sjd-head em {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 8px;
    border: 1px solid #dbe9df;
    border-radius: 7px;
    background: #f4fbf6;
    color: #16974f;
    font-size: 12px;
    font-style: normal;
    font-weight: 800;
    white-space: nowrap;
}
.sjd-head em i {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background: #1fad5b;
}
.sjd-card {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 8px;
    align-items: center;
    min-height: 66px;
    box-sizing: border-box;
    margin: 7px 0;
    padding: 9px 8px;
    border: 1px solid #d7e5f7;
    border-radius: 8px;
    background: #f8fbff;
    overflow: hidden;
}
.sjd-main {
    min-width: 0;
}
.sjd-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
    background: #2375d1;
}
.sjd-label {
    margin-bottom: 1px;
    color: #2375d1;
    font-size: 10px;
    line-height: 1.1;
    font-weight: 800;
    white-space: nowrap;
}
.sjd-value {
    font-size: 22px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0;
    white-space: nowrap;
}
.sjd-sub {
    margin-top: 3px;
    color: #4b5563;
    font-size: 10px;
    line-height: 1.2;
    font-weight: 700;
    overflow-wrap: normal;
}
.sjd-meta {
    display: none;
}
.sjd-meta strong,
.sjd-meta span {
    display: block;
}
.sjd-meta strong {
    margin-top: 5px;
    color: #111827;
    font-size: 11px;
    font-weight: 800;
}
.sjd-yen {
    border-color: #f3dfbd;
    background: #fffaf1;
}
.sjd-yen .sjd-icon {
    background: #f0ae21;
}
.sjd-yen .sjd-label {
    color: #ef9c00;
}
.sjd-yen .sjd-value {
    font-size: 20px;
}
.sjd-earthquake {
    border-color: #f6d8c5;
    background: #fff7f1;
}
.sjd-earthquake .sjd-icon {
    background: #f36b19;
}
.sjd-earthquake .sjd-label {
    color: #f36b19;
}
.sjd-earthquake .sjd-value {
    font-size: 15px;
    line-height: 1.12;
    white-space: normal;
}
.sjd-tsunami,
.sjd-typhoon,
.sjd-warning {
    border-color: #cce8ea;
    background: #f3fdff;
}
.sjd-tsunami .sjd-icon,
.sjd-typhoon .sjd-icon,
.sjd-warning .sjd-icon {
    background: #1da5a9;
}
.sjd-tsunami .sjd-label,
.sjd-typhoon .sjd-label,
.sjd-warning .sjd-label {
    color: #13898e;
}
.sjd-tsunami .sjd-value,
.sjd-typhoon .sjd-value,
.sjd-warning .sjd-value,
.sjd-holiday .sjd-value {
    font-size: 15px;
    line-height: 1.12;
    white-space: normal;
}
.sjd-holiday {
    border-color: #d7e5f7;
    background: #f8fbff;
}
.sjd-foot {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-top: 8px;
    padding: 8px 2px 0;
    border-top: 1px solid #e5e7eb;
    color: #6b7280;
    font-size: 10px;
    line-height: 1.2;
    font-weight: 700;
}
.sjd-foot a {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}
@media (max-width: 260px) {
    .sjd-dashboard {
        padding: 12px 8px 8px;
    }
    .sjd-head strong {
        max-width: 112px;
        font-size: 20px;
    }
    .sjd-card {
        grid-template-columns: 32px minmax(0, 1fr);
        gap: 7px;
        padding: 8px 7px;
    }
    .sjd-icon {
        width: 32px;
        height: 32px;
        font-size: 18px;
    }
    .sjd-value,
    .sjd-yen .sjd-value,
    .sjd-earthquake .sjd-value {
        font-size: 20px;
    }
    .sjd-tsunami .sjd-value,
    .sjd-typhoon .sjd-value,
    .sjd-warning .sjd-value,
    .sjd-holiday .sjd-value {
        font-size: 14px;
    }
}

.sjd-warning-active {
    border-color: #f6c7bd;
    background: #fff5f2;
}
.sjd-warning-active .sjd-icon {
    background: #e23b2e;
}
.sjd-warning-active .sjd-label,
.sjd-warning-active .sjd-value {
    color: #b91c1c;
}
.sjd-warning-ok .sjd-icon {
    background: #1da85b;
}
.sjd-warning-ok .sjd-label,
.sjd-warning-ok .sjd-value {
    color: #127a3b;
}
.sjd-warning-error .sjd-icon {
    background: #f0ae21;
}
.sjd-warning-error .sjd-label,
.sjd-warning-error .sjd-value {
    color: #9a6500;
}
.sjd-earthquake-active {
    border-color: #f6c7bd;
    background: #fff5f2;
}
.sjd-earthquake-active .sjd-icon {
    background: #e23b2e;
}
.sjd-earthquake-active .sjd-label,
.sjd-earthquake-active .sjd-value {
    color: #b91c1c;
}
.sjd-earthquake-ok .sjd-icon {
    background: #f36b19;
}
.sjd-dashboard .sjd-card.sjd-earthquake-ok .sjd-value {
    font-size: 14px;
    line-height: 1.1;
    white-space: normal;
}
.sjd-earthquake-error .sjd-icon {
    background: #f0ae21;
}
.sjd-earthquake-error .sjd-label,
.sjd-earthquake-error .sjd-value {
    color: #9a6500;
}

.sjd-sub a {
    color: inherit;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.sjd-warning-active .sjd-sub a {
    color: #b91c1c;
}
.sjd-earthquake-active .sjd-sub a {
    color: #b91c1c;
}
.sjd-earthquake .sjd-sub,
.sjd-typhoon .sjd-sub,
.sjd-holiday .sjd-sub {
    overflow-wrap: anywhere;
}
.sjd-eq-line {
    display: block;
}
