.jimoto-weather-box {
    box-sizing: border-box;
}

.jimoto-weather-loading,
.jimoto-weather-error,
.jimoto-weather-empty {
    padding: 12px;
    font-size: 13px;
    color: #666666;
    background: #f8f8f8;
    border-radius: 8px;
    line-height: 1.7;
}

.jimoto-weather-card {
    padding: 12px;
    background: #ffffff;
    border: 1px solid #dbe5f2;
    border-radius: 12px;
    box-sizing: border-box;
}

.jimoto-weather-current-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.jimoto-weather-current-title {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: #222222;
    line-height: 1.5;
}

.jimoto-weather-place {
    margin-top: 2px;
    font-size: 12px;
    color: #666666;
    line-height: 1.5;
}

.jimoto-weather-icon-large {
    width: 54px;
    height: 54px;
    flex-shrink: 0;
}

.jimoto-weather-current-main {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    margin-bottom: 12px;
}

.jimoto-weather-row {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    font-size: 12px;
    color: #444444;
    line-height: 1.7;
}

.jimoto-weather-row-label {
    flex: 0 0 auto;
    min-width: 3.8em;
    font-weight: 700;
    color: #555555;
}

.jimoto-weather-row-value {
    flex: 1;
    min-width: 0;
}

.jimoto-weather-forecast-title {
    margin: 12px 0 8px;
    font-size: 13px;
    font-weight: 700;
    color: #222222;
    line-height: 1.5;
}

.jimoto-weather-forecast-list {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: thin;
}

.jimoto-weather-forecast-item {
    flex: 0 0 64px;
    padding: 8px 6px;
    text-align: center;
    background: #f9fbfe;
    border: 1px solid #e5edf7;
    border-radius: 10px;
    box-sizing: border-box;
}

.jimoto-weather-forecast-time {
    margin-bottom: 4px;
    font-size: 12px;
    font-weight: 700;
    color: #555555;
    line-height: 1.4;
}

.jimoto-weather-icon-small {
    width: 36px;
    height: 36px;
}

.jimoto-weather-forecast-temp {
    margin-top: 3px;
    font-size: 12px;
    color: #222222;
    line-height: 1.4;
}

.jimoto-weather-forecast-desc {
    margin-top: 2px;
    font-size: 10px;
    color: #777777;
    line-height: 1.4;
    white-space: normal;
}

@media screen and (max-width: 768px) {
    .jimoto-weather-card {
        padding: 11px;
    }

    .jimoto-weather-current-title {
        font-size: 15px;
    }

    .jimoto-weather-icon-large {
        width: 52px;
        height: 52px;
    }

    .jimoto-weather-forecast-item {
        flex-basis: 68px;
    }
}